Inventory API
Keep your company's availability on AvailabilityManager in step with your own system. Read what you have listed, push new and changed units, and take units down, all with one API key.
https://availabilitymanager.com/api/v1/units.phpAuthentication
Create a key on your company page under API keys. It looks like amk_ followed by 40 characters and is shown once, so store it somewhere safe. A company can have up to 5 active keys; revoke one any time from the same place.
Send the key with every request:
Authorization: Bearer amk_your_key_here If your system cannot set that header, use X-API-Key: amk_your_key_here instead. A key can only read and change its own company's inventory, never another company's.
Rate limits
Each key can make 60 requests a minute and 5,000 a day. Every answer carries X-RateLimit-Limit and X-RateLimit-Remaining. Over the limit you get 429 with a Retry-After header in seconds.
GET List your units
Your units, newest first, 50 per page by default.
| Query | Values | Default |
|---|---|---|
scope | available (shown to the network), older (not updated recently), added (added on AvailabilityManager), archived | available |
page | 1, 2, 3… | 1 |
per | 10 to 100 | 50 |
q | Text to match in property, address or city | none |
curl "https://availabilitymanager.com/api/v1/units.php?scope=available&page=1" \
-H "Authorization: Bearer amk_your_key_here" {
"data": [
{
"id": "7f3c…", "property": "Cedar Point Apartments", "unit": "1204",
"address": "100 Cedar Point Blvd", "city": "Dallas", "state": "TX", "zip": "75201",
"beds": "1", "baths": "1", "sqft": "690", "monthly_rate": "2450",
"available_from": "2027-01-15", "term": "30 days", "description": "…",
"furnished": true, "utilities_included": true, "housewares_included": true,
"pets_allowed": false, "amenities": ["Wi-Fi", "Pool"]
}
],
"page": 1, "pages": 3, "total": 128
} POST Create or update units
Send up to 200 units per request (1 MB at most). Give each one your own external_id: sending the same id again updates that unit instead of adding a duplicate, so you can push your whole list on a schedule.
curl -X POST "https://availabilitymanager.com/api/v1/units.php" \
-H "Authorization: Bearer amk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"units": [
{
"external_id": "CP-1204",
"property": "Cedar Point Apartments", "unit": "1204",
"address": "100 Cedar Point Blvd", "city": "Dallas", "state": "TX", "zip": "75201",
"beds": 1, "baths": 1, "sqft": 690, "monthly_rate": 2450,
"available_from": "2027-01-15", "furnished": true, "amenities": ["Wi-Fi", "Pool"]
}
]
}' { "created": 1, "updated": 0, "errors": [] } Units that cannot be saved are listed in errors with their position in your list and the reason; the others are still saved. If none can be saved, the status is 422.
DELETE Archive a unit
Takes a unit off the network by your external_id. Archived units stay in your inventory and can be restored there.
curl -X DELETE "https://availabilitymanager.com/api/v1/units.php?external_id=CP-1204" \
-H "Authorization: Bearer amk_your_key_here" { "archived": "7f3c…" } Unit fields
A unit needs a city and either an address or a property name. Everything else is optional.
| Field | Type | Notes |
|---|---|---|
external_id | text | Your id for the unit. Use it to update or archive later. |
property | text | Building or community name |
unit | text | Unit number |
address, city, state, zip | text | State as two letters, e.g. TX |
beds, baths, sqft | number | 0 beds is a studio |
monthly_rate | number | Whole dollars per month, between $300 and $50,000 |
available_from | date | YYYY-MM-DD |
term | text | Minimum stay, e.g. 30 days |
description | text | Shown on the unit page |
furnished, utilities_included, housewares_included, pets_allowed | true / false | Leave out when unknown |
amenities | list of text | e.g. ["Wi-Fi", "Pool", "Parking"] |
Errors
Errors come back as {"error": {"code": "…", "message": "…"}} with a matching status.
| Status | Code | Meaning |
|---|---|---|
| 401 | unauthorized | Missing, wrong or revoked key |
| 403 | forbidden | The key is not allowed to do this |
| 404 | not_found | No unit with that external_id |
| 405 | method_not_allowed | Use GET, POST or DELETE |
| 413 | too_large | Body over 1 MB |
| 422 | invalid_body, invalid_request | The request could not be understood; the message says why |
| 429 | rate_limited | Too many requests; wait Retry-After seconds |
| 500 | server_error | Something went wrong on our side; try again |