Rent a unit
- Read availability
- Create or reuse a contact
- Create the lease
- Complete agreement and payment handoff
- Activate a scheduled move-in when eligible
v1Management API
Connect your applications to facilities, inventory, tenants, rentals and billing through one REST API with scoped keys and safe retries.
https://api.axralstorage.com/v1curl --fail-with-body "https://api.axralstorage.com/v1/facilities" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"items": [
{
"id": "00000000-0000-4000-8000-000000000001",
"name": "Example Storage",
"city": "Boise",
"state": "ID",
"timezone": "America/Boise",
"active": true
}
],
"next_cursor": null
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}This API currently connects to the development workspace data. Actions change that data. Use a scoped integration key from your workspace administrator.
Go from a new key to real facility data in a few minutes.
STORAGE_API_KEY in your server’s secret environment. Send it in the Authorization header.FACILITY_ID to list rentable units with current prices.curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/availability?limit=20" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/availability?limit=20`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/availability?limit=20",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Expected: HTTP 200 with data.items and meta.request_id. An empty list means no matching records, not a connection failure.
Every API request uses Authorization: Bearer ssk_…. Workspace administrators create keys in Settings → API access. A key can expire on a date or never expire, can be rolled or revoked at any time, and grants a fixed set of facilities within one workspace. They retain their owner’s current permissions: removing membership or changing a facility role also changes the key’s access.
Read and write scopes are independent. A write scope does not automatically grant read access.
| Scope | Access |
|---|---|
inventory:read / inventory:write | Facilities, units, availability, types, prices and promotions; adding, editing and importing units |
tenants:read / tenants:write | Facility contact directory, explicit reuse search and profile changes |
rentals:read / rentals:write | Reservations, leases, agreements, move-ins, move-outs, transfers and rate changes |
billing:read / billing:write | Invoices, offline payments, credits, write-offs, allocations and payment links |
maintenance:read / maintenance:write | Work orders and inspections |
messages:read / messages:write | Email and text history; queueing emails and texts to tenants |
reports:read | Facility overview, portfolio summary, rent roll and aging |
retail:read | Retail products and sales |
automations:read | Automation workflows and billing automation settings |
imports:write | Importing existing rentals and undoing an import (import history needs rentals:read) |
staff:read / staff:write | Team members, roles and facility access; current administrator also required for changes |
audit:read | The activity log |
settings:write | Facility details and workspace name; current administrator also required |
account:read | Workspace identity and plan |
agent | Marks an AI agent key: payments and refunds are blocked, and sensitive actions need an operator confirmation token |
Settings → API access does all of this for you. To script it, use a verified Clerk session token with the credential-management endpoint. Integration keys cannot create other keys.
curl --fail-with-body "https://navzsuqtqcrsunrolcjd.supabase.co/functions/v1/integration-keys" \
-H "Authorization: Bearer $CLERK_SESSION_TOKEN" \
-H "Content-Type: application/json" \
--data '{
"action": "create",
"organization_id": "00000000-0000-4000-8000-000000000001",
"name": "Inventory integration",
"facility_ids": ["00000000-0000-4000-8000-000000000002"],
"scopes": ["inventory:read"],
"expires_at": "2027-01-01T00:00:00Z"
}'The response returns data.key once. Save it immediately. expires_at must be in the future; omit it or send null for a key that never expires (listed with expires_at: null). List metadata with action: "list" and the organization ID; revoke with action: "revoke", the organization ID and key_id.
Roll a key with action: "roll", the organization ID, key_id, grace_minutes (0–10080) and an optional new expires_at. The replacement keeps the same name, facilities and scopes. With grace_minutes: 0 the old key is revoked at once; otherwise it keeps working until the overlap ends, so you can update the integration first. A key with a working replacement cannot be rolled again; if a replacement’s secret is lost, revoke the replacement and roll the original again.
If issuance times out, list keys and revoke the uncertain entry before creating a replacement. The raw key cannot be recovered.
Use keys from trusted servers or agent backends. Do not embed them in browser code, URLs or public repositories. Browser CORS is not enabled for integration keys.
| Convention | How it works |
|---|---|
| Facility scope | Use the facility UUID in the route. IDs for tenants, leases and invoices must belong to the authorized workspace and relevant facility. |
| JSON bodies | POST and PATCH accept application/json, up to 64 KiB. Unknown fields are rejected. Send {} when an action has no input fields. |
| Money | Inputs ending in _cents are integers: 10000 = $100.00. Read responses use decimal currency units: monthly_rate: 100 = $100.00. |
| Dates | Date-only values use YYYY-MM-DD on the facility calendar. Timestamps include a timezone. Billing days are 1–28. |
| Pagination | Most lists default to 50 records (maximum 100). Contact reuse search defaults to 20 (maximum 50). Pass data.next_cursor as cursor with the same filters until it is null. |
| Success | The data field contains the result. meta.request_id identifies the request; meta.replayed is true when a successful mutation was returned from a retry receipt. |
{
"data": {
"items": [],
"next_cursor": null
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}An empty page, shown to explain the envelope. Real records depend on your grants and data.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/tenants?limit=100&cursor=$NEXT_CURSOR" \
-H "Authorization: Bearer $STORAGE_API_KEY"Keep the same filters on every page. Stop when next_cursor is null.
Every action that changes data requires an Idempotency-Key header: 1–128 printable characters. Generate one value for a new intent, then keep it with the exact same route and body for any retry.
REQUEST_KEY before starting a new action.meta.replayed: true. Changing the payload with the same key returns 409.Previews and payment links do not mutate data and do not require this header. Where a body also contains request_id, generate it once and keep it on retries too.
A credential can make 120 requests per 60-second window. A 429 response includes Retry-After in seconds. Responses are uncached and include X-Request-Id for troubleshooting.
| Status | Meaning | Next step |
|---|---|---|
| 400 | Invalid input | Check required fields and include an Idempotency-Key on writes. |
| 401 | Missing or invalid credential | Check the bearer key, its expiry and revocation, and its owner’s active membership. |
| 403 | Permission denied | Check scopes, facility grants and the owner’s current role. |
| 404 | Unavailable record or route | Check the endpoint, IDs and selected facility. |
| 405 / 413 / 415 | Request format rejected | Use a supported method, a body under 64 KiB, and application/json. |
| 409 | Conflict | For workflow_conflict, refresh records and the preview. For idempotency_conflict, the key was already used for a different intent. |
| 429 | Rate limit reached | Wait the Retry-After number of seconds, then retry the same intent. |
| 500 / 503 | Outcome unavailable | Keep the same idempotency key and payload. Retry with bounded backoff; include X-Request-Id when contacting support. |
{
"error": {
"code": "forbidden",
"message": "Current workspace or facility permissions do not allow this action."
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f"
}
}A browser redirect, pending ACH payment, or queued email does not prove settlement or delivery. This API uses the existing rental and billing safeguards.
v1 does not dispatch contracts, SMS, automated card charges or processor refunds. It excludes sensitive gate credentials, identification files, private signing URLs and accounting exports. There is no outbound webhook subscription system; poll the paginated reads within rate limits.
107 endpoints · Select one to see details
No endpoints match. Try a resource name, HTTP method, path or scope.
List the locations granted to your key and update their address or contact information. Settings changes also require current administrator access.
/facilitiesinventory:readlimitintegerMinimum: 1. Maximum: 100.
cursorstring · uuidReturns data.items, a page of records, and data.next_cursor for the next page (null on the last page).
idstring · uuidorganization_idstring or null · uuidnamestring or nulladdress_line_1string or nullcitystring or nullstatestring or nullpostal_codestring or nulltimezonestring or nullcontact_emailstring or nullcontact_phonestring or nullactivebooleancreated_atstring or null · date-timeupdated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"items": [
{
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"name": "Example Storage",
"address_line_1": "100 Main Street",
"city": "Boise",
"state": "ID",
"postal_code": "83702",
"timezone": "America/Boise",
"contact_email": "office@example.com",
"contact_phone": "+12085550100",
"active": true,
"created_at": "2026-11-01T15:00:00Z",
"updated_at": "2026-11-01T15:00:00Z"
}
],
"next_cursor": null
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{id}inventory:readidstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
No query parameters.
Returns the record in data.
idstring · uuidorganization_idstring or null · uuidnamestring or nulladdress_line_1string or nullcitystring or nullstatestring or nullpostal_codestring or nulltimezonestring or nullcontact_emailstring or nullcontact_phonestring or nullactivebooleancreated_atstring or null · date-timeupdated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$RECORD_ID" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${recordId}`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{record_id}",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"name": "Example Storage",
"address_line_1": "100 Main Street",
"city": "Boise",
"state": "ID",
"postal_code": "83702",
"timezone": "America/Boise",
"contact_email": "office@example.com",
"contact_phone": "+12085550100",
"active": true,
"created_at": "2026-11-01T15:00:00Z",
"updated_at": "2026-11-01T15:00:00Z"
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{id}settings:writeidstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
namestringAt least 1 characters. Up to 160 characters.
contact_emailstring · email or nullUp to 254 characters. Accepts null to clear this value.
contact_phonestring or nullUp to 40 characters. Accepts null to clear this value.
address_line_1stringAt least 1 characters. Up to 255 characters.
citystringAt least 1 characters. Up to 100 characters.
statestringAt least 1 characters. Up to 100 characters.
postal_codestringAt least 1 characters. Up to 20 characters.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$RECORD_ID" \
-X PATCH \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"name": "Example"
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${recordId}`, {
method: 'PATCH',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"name": "Example"
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.patch(
f"https://api.axralstorage.com/v1/facilities/{record_id}",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"name": "Example",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/overviewreports:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
No query parameters.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/overview" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/overview`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/overview",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]IDs and values are illustrative.
Find rentable units with current public prices. Filter by unit type, size or climate control; each result names its unit type. Results exclude live reservations, holds and pending, scheduled or active rentals. Availability is advisory: creating a rental checks inventory again atomically.
/facilities/{facility_id}/availabilityinventory:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
limitintegerMinimum: 1. Maximum: 100.
cursorstring · uuidunit_type_idstring · uuidsizestringAt least 1 characters. Up to 40 characters. Exact size such as 10x10; case and spaces are ignored.
climate_controlbooleanIn a query string, use true or false.
Returns data.items, a page of records, and data.next_cursor for the next page (null on the last page).
idstring · uuidfacility_idstring or null · uuidunit_numberstring or nullsizestring or nullmonthly_pricenumber or nullDecimal currency units, not cents.
climate_controlbooleanfloorstring or nullaccess_typestring or nullunit_type_idstring or null · uuidunit_type_namestring or nullcurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/availability" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/availability`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/availability",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"items": [
{
"id": "00000000-0000-4000-8000-000000000001",
"facility_id": "00000000-0000-4000-8000-000000000002",
"unit_number": "A-104",
"size": "10x10",
"monthly_price": 125,
"climate_control": true,
"floor": "1",
"access_type": "Drive-up",
"unit_type_id": "00000000-0000-4000-8000-000000000003",
"unit_type_name": null
}
],
"next_cursor": null
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
Read inventory details or record an inspection with optional repairs. An inspection cannot free an occupied unit.
/facilities/{facility_id}/unitsinventory:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
limitintegerMinimum: 1. Maximum: 100.
cursorstring · uuidstatusstringAllowed: available, occupied, maintenance.
Returns data.items, a page of records, and data.next_cursor for the next page (null on the last page).
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidunit_numberstring or nullsizestring or nullmonthly_pricenumber or nullDecimal currency units, not cents.
statusstring or nullclimate_controlbooleanfloorstring or nullaccess_typestring or nullunit_type_idstring or null · uuidbuildingstring or nullcreated_atstring or null · date-timeupdated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/units" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/units`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/units",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"items": [
{
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"unit_number": "A-104",
"size": "10x10",
"monthly_price": 125,
"status": "available",
"climate_control": true,
"floor": "1",
"access_type": "Drive-up",
"unit_type_id": "00000000-0000-4000-8000-000000000004",
"building": null,
"created_at": "2026-11-01T15:00:00Z",
"updated_at": "2026-11-01T15:00:00Z"
}
],
"next_cursor": null
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{facility_id}/units/{id}inventory:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
No query parameters.
Returns the record in data.
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidunit_numberstring or nullsizestring or nullmonthly_pricenumber or nullDecimal currency units, not cents.
statusstring or nullclimate_controlbooleanfloorstring or nullaccess_typestring or nullunit_type_idstring or null · uuidbuildingstring or nullcreated_atstring or null · date-timeupdated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/units/$RECORD_ID" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/units/${recordId}`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/units/{record_id}",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"unit_number": "A-104",
"size": "10x10",
"monthly_price": 125,
"status": "available",
"climate_control": true,
"floor": "1",
"access_type": "Drive-up",
"unit_type_id": "00000000-0000-4000-8000-000000000004",
"building": null,
"created_at": "2026-11-01T15:00:00Z",
"updated_at": "2026-11-01T15:00:00Z"
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{facility_id}/units/{id}/inspectionsmaintenance:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
request_idstring · uuidRequiredGenerate once for this intent; keep it on retries.
inspection_typestringRequiredAllowed: routine, turnover, move_out.
resultstringRequiredAllowed: passed, needs_attention, not_ready.
checklistobjectchecklist.clean_drybooleanchecklist.lock_door_worksbooleanchecklist.no_damagebooleanchecklist.access_lighting_okbooleanchecklist.ready_to_rentbooleannotesstringUp to 4000 characters.
restore_availablebooleanRequiredwork_orderobject or nullAccepts null to clear this value.
work_order.prioritystringRequiredAllowed: low, normal, high, emergency.
work_order.assigneestring or nullUp to 160 characters. Accepts null to clear this value.
work_order.due_datestring · date or nullAccepts null to clear this value.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/units/$RECORD_ID/inspections" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"request_id": "00000000-0000-4000-8000-000000000001",
"inspection_type": "routine",
"result": "passed",
"restore_available": true
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/units/${recordId}/inspections`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"request_id": "00000000-0000-4000-8000-000000000001",
"inspection_type": "routine",
"result": "passed",
"restore_available": true
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/units/{record_id}/inspections",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"request_id": "00000000-0000-4000-8000-000000000001",
"inspection_type": "routine",
"result": "passed",
"restore_available": True,
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/unitsinventory:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
unit_numberstringRequiredAt least 1 characters. Up to 40 characters.
sizestringRequiredAt least 1 characters. Up to 40 characters. Exact size such as 10x10; case and spaces are ignored.
monthly_price_centsintegerRequiredMinimum: 0. Maximum: 999999999. Integer cents: 10000 means $100.00.
climate_controlbooleanIn a query string, use true or false.
floorstringUp to 40 characters.
access_typestringAllowed: Indoor, Drive-up, Upper floor, Vehicle.
buildingstringUp to 80 characters.
notesstringUp to 2000 characters.
statusstringAllowed: available, maintenance.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/units" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"unit_number": "Example",
"size": "Example",
"monthly_price_cents": 10000
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/units`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"unit_number": "Example",
"size": "Example",
"monthly_price_cents": 10000
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/units",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"unit_number": "Example",
"size": "Example",
"monthly_price_cents": 10000,
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/units/{id}inventory:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
unit_numberstringAt least 1 characters. Up to 40 characters.
sizestringAt least 1 characters. Up to 40 characters. Exact size such as 10x10; case and spaces are ignored.
climate_controlbooleanIn a query string, use true or false.
floorstringUp to 40 characters.
access_typestringAllowed: Indoor, Drive-up, Upper floor, Vehicle.
buildingstringUp to 80 characters.
notesstringUp to 2000 characters.
statusstringAllowed: available, maintenance.
unit_type_idstring · uuid or nullAccepts null to clear this value.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/units/$RECORD_ID" \
-X PATCH \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"unit_number": "Example"
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/units/${recordId}`, {
method: 'PATCH',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"unit_number": "Example"
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.patch(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/units/{record_id}",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"unit_number": "Example",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/units/importinventory:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
unitsarrayRequiredMinimum items: 1. Maximum items: 1000.
units[].unit_numberstringRequiredAt least 1 characters. Up to 40 characters.
units[].sizestringRequiredAt least 1 characters. Up to 40 characters. Exact size such as 10x10; case and spaces are ignored.
units[].monthly_price_centsintegerRequiredMinimum: 0. Maximum: 999999999. Integer cents: 10000 means $100.00.
units[].climate_controlbooleanIn a query string, use true or false.
units[].floorstringUp to 40 characters.
units[].access_typestringAllowed: Indoor, Drive-up, Upper floor, Vehicle.
units[].buildingstringUp to 80 characters.
units[].notesstringUp to 2000 characters.
units[].statusstringAllowed: available, maintenance.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/units/import" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"units": [
{
"unit_number": "Example",
"size": "Example",
"monthly_price_cents": 10000
}
]
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/units/import`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"units": [
{
"unit_number": "Example",
"size": "Example",
"monthly_price_cents": 10000
}
]
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/units/import",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"units": [
{
"unit_number": "Example",
"size": "Example",
"monthly_price_cents": 10000,
},
],
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
Browse the sizes, amenities and descriptions configured for a facility.
/facilities/{facility_id}/unit-typesinventory:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
limitintegerMinimum: 1. Maximum: 100.
cursorstring · uuidReturns data.items, a page of records, and data.next_cursor for the next page (null on the last page).
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidnamestring or nullsizestring or nullmonthly_pricenumber or nullDecimal currency units, not cents.
climate_controlbooleanaccess_typestring or nulldescriptionstring or nullactivebooleancurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/unit-types" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/unit-types`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/unit-types",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"items": [
{
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"name": "Example Storage",
"size": "10x10",
"monthly_price": 125,
"climate_control": true,
"access_type": "Drive-up",
"description": null,
"active": true
}
],
"next_cursor": null
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{facility_id}/unit-types/{id}inventory:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
No query parameters.
Returns the record in data.
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidnamestring or nullsizestring or nullmonthly_pricenumber or nullDecimal currency units, not cents.
climate_controlbooleanaccess_typestring or nulldescriptionstring or nullactivebooleancurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/unit-types/$RECORD_ID" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/unit-types/${recordId}`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/unit-types/{record_id}",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"name": "Example Storage",
"size": "10x10",
"monthly_price": 125,
"climate_control": true,
"access_type": "Drive-up",
"description": null,
"active": true
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
Read configured standard and web pricing, effective dates and default plans.
/facilities/{facility_id}/rate-plansinventory:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
limitintegerMinimum: 1. Maximum: 100.
cursorstring · uuidReturns data.items, a page of records, and data.next_cursor for the next page (null on the last page).
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidunit_type_idstring or null · uuidnamestring or nullmonthly_pricenumber or nullDecimal currency units, not cents.
web_pricenumber or nullDecimal currency units, not cents.
effective_fromstring or null · dateeffective_tostring or null · dateis_defaultbooleanactivebooleancurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/rate-plans" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/rate-plans`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/rate-plans",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"items": [
{
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"unit_type_id": "00000000-0000-4000-8000-000000000004",
"name": "Example Storage",
"monthly_price": 125,
"web_price": 125,
"effective_from": "2026-11-01",
"effective_to": "2026-11-01",
"is_default": false,
"active": true
}
],
"next_cursor": null
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{facility_id}/rate-plans/{id}inventory:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
No query parameters.
Returns the record in data.
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidunit_type_idstring or null · uuidnamestring or nullmonthly_pricenumber or nullDecimal currency units, not cents.
web_pricenumber or nullDecimal currency units, not cents.
effective_fromstring or null · dateeffective_tostring or null · dateis_defaultbooleanactivebooleancurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/rate-plans/$RECORD_ID" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/rate-plans/${recordId}`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/rate-plans/{record_id}",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"unit_type_id": "00000000-0000-4000-8000-000000000004",
"name": "Example Storage",
"monthly_price": 125,
"web_price": 125,
"effective_from": "2026-11-01",
"effective_to": "2026-11-01",
"is_default": false,
"active": true
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
Read promotion codes, discount rules, dates and redemption counts.
/facilities/{facility_id}/promotionsinventory:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
limitintegerMinimum: 1. Maximum: 100.
cursorstring · uuidReturns data.items, a page of records, and data.next_cursor for the next page (null on the last page).
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidnamestring or nullcodestring or nullsizestring or nulldiscount_typestring or nulldiscount_valuenumber or nullAmount in decimal currency units or percentage according to discount_type.
starts_onstring or null · dateends_onstring or null · datestart_monthinteger or nullduration_monthsinteger or nullshow_onlineboolean or nullmax_redemptionsinteger or nullredemption_countinteger or nullactivebooleancreated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/promotions" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/promotions`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/promotions",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"items": [
{
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"name": "Example Storage",
"code": "WELCOME",
"size": "10x10",
"discount_type": null,
"discount_value": 125,
"starts_on": "2026-11-01",
"ends_on": "2026-11-01",
"start_month": 0,
"duration_months": 0,
"show_online": false,
"max_redemptions": 0,
"redemption_count": 0,
"active": true,
"created_at": "2026-11-01T15:00:00Z"
}
],
"next_cursor": null
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{facility_id}/promotions/{id}inventory:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
No query parameters.
Returns the record in data.
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidnamestring or nullcodestring or nullsizestring or nulldiscount_typestring or nulldiscount_valuenumber or nullAmount in decimal currency units or percentage according to discount_type.
starts_onstring or null · dateends_onstring or null · datestart_monthinteger or nullduration_monthsinteger or nullshow_onlineboolean or nullmax_redemptionsinteger or nullredemption_countinteger or nullactivebooleancreated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/promotions/$RECORD_ID" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/promotions/${recordId}`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/promotions/{record_id}",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"name": "Example Storage",
"code": "WELCOME",
"size": "10x10",
"discount_type": null,
"discount_value": 125,
"starts_on": "2026-11-01",
"ends_on": "2026-11-01",
"start_month": 0,
"duration_months": 0,
"show_online": false,
"max_redemptions": 0,
"redemption_count": 0,
"active": true,
"created_at": "2026-11-01T15:00:00Z"
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
Tenant lists follow the selected facility’s directory. Contact identity and profile edits are shared across the workspace. Use the explicit reuse search before renting to an existing contact from another granted facility.
/facilities/{facility_id}/tenantstenants:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
limitintegerMinimum: 1. Maximum: 100.
cursorstring · uuidstatusstringAllowed: active, archived.
querystringAt least 2 characters. Up to 160 characters.
Returns data.items, a page of records, and data.next_cursor for the next page (null on the last page).
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidfirst_namestring or nulllast_namestring or nullemailstring or nullphonestring or nullstatusstring or nullnotesstring or nulladdress_line_1string or nulladdress_line_2string or nullcitystring or nullstatestring or nullpostal_codestring or nullalternate_contact_namestring or nullalternate_contact_relationshipstring or nullalternate_contact_phonestring or nullalternate_contact_emailstring or nullactive_militarybooleancreated_atstring or null · date-timeupdated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/tenants" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/tenants`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/tenants",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"items": [
{
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"first_name": "Alex",
"last_name": "Example",
"email": "alex@example.com",
"phone": "+12085550100",
"status": "active",
"notes": null,
"address_line_1": "100 Main Street",
"address_line_2": null,
"city": "Boise",
"state": "ID",
"postal_code": "83702",
"alternate_contact_name": null,
"alternate_contact_relationship": null,
"alternate_contact_phone": null,
"alternate_contact_email": null,
"active_military": false,
"created_at": "2026-11-01T15:00:00Z",
"updated_at": "2026-11-01T15:00:00Z"
}
],
"next_cursor": null
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{facility_id}/tenants/{id}tenants:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
No query parameters.
Returns the record in data.
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidfirst_namestring or nulllast_namestring or nullemailstring or nullphonestring or nullstatusstring or nullnotesstring or nulladdress_line_1string or nulladdress_line_2string or nullcitystring or nullstatestring or nullpostal_codestring or nullalternate_contact_namestring or nullalternate_contact_relationshipstring or nullalternate_contact_phonestring or nullalternate_contact_emailstring or nullactive_militarybooleancreated_atstring or null · date-timeupdated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/tenants/$RECORD_ID" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/tenants/${recordId}`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/tenants/{record_id}",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"first_name": "Alex",
"last_name": "Example",
"email": "alex@example.com",
"phone": "+12085550100",
"status": "active",
"notes": null,
"address_line_1": "100 Main Street",
"address_line_2": null,
"city": "Boise",
"state": "ID",
"postal_code": "83702",
"alternate_contact_name": null,
"alternate_contact_relationship": null,
"alternate_contact_phone": null,
"alternate_contact_email": null,
"active_military": false,
"created_at": "2026-11-01T15:00:00Z",
"updated_at": "2026-11-01T15:00:00Z"
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{facility_id}/tenantstenants:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
first_namestringRequiredAt least 1 characters. Up to 100 characters.
last_namestringRequiredAt least 1 characters. Up to 100 characters.
emailstring · email or nullUp to 254 characters. Accepts null to clear this value.
phonestring or nullUp to 40 characters. Accepts null to clear this value.
notesstringUp to 4000 characters.
address_line_1stringUp to 255 characters.
address_line_2stringUp to 255 characters.
citystringUp to 100 characters.
statestringUp to 100 characters.
postal_codestringUp to 20 characters.
alternate_contact_namestringUp to 200 characters.
alternate_contact_relationshipstringUp to 100 characters.
alternate_contact_phonestringUp to 40 characters.
alternate_contact_emailstringUp to 254 characters.
active_militarybooleanReturns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/tenants" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"first_name": "Alex",
"last_name": "Example"
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/tenants`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"first_name": "Alex",
"last_name": "Example"
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/tenants",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"first_name": "Alex",
"last_name": "Example",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/tenants/{id}tenants:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
first_namestringAt least 1 characters. Up to 100 characters.
last_namestringAt least 1 characters. Up to 100 characters.
emailstring · email or nullUp to 254 characters. Accepts null to clear this value.
phonestring or nullUp to 40 characters. Accepts null to clear this value.
notesstringUp to 4000 characters.
address_line_1stringUp to 255 characters.
address_line_2stringUp to 255 characters.
citystringUp to 100 characters.
statestringUp to 100 characters.
postal_codestringUp to 20 characters.
alternate_contact_namestringUp to 200 characters.
alternate_contact_relationshipstringUp to 100 characters.
alternate_contact_phonestringUp to 40 characters.
alternate_contact_emailstringUp to 254 characters.
active_militarybooleanReturns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/tenants/$RECORD_ID" \
-X PATCH \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"first_name": "Alex"
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/tenants/${recordId}`, {
method: 'PATCH',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"first_name": "Alex"
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.patch(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/tenants/{record_id}",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"first_name": "Alex",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/tenants/{id}/archivetenants:writeA shared contact cannot be archived while an active or scheduled rental exists anywhere in the workspace.
facility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
Send an empty JSON object: {}.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/tenants/$RECORD_ID/archive" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/tenants/${recordId}/archive`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/tenants/{record_id}/archive",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/tenant-reusetenants:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
querystringRequiredAt least 2 characters. Up to 160 characters.
limitintegerMinimum: 1. Maximum: 50.
cursorstring · uuidReturns data.items, a page of records, and data.next_cursor for the next page (null on the last page).
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidfirst_namestring or nulllast_namestring or nullemailstring or nullphonestring or nullstatusstring or nullnotesstring or nulladdress_line_1string or nulladdress_line_2string or nullcitystring or nullstatestring or nullpostal_codestring or nullalternate_contact_namestring or nullalternate_contact_relationshipstring or nullalternate_contact_phonestring or nullalternate_contact_emailstring or nullactive_militarybooleancreated_atstring or null · date-timeupdated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/tenant-reuse?query=Alex" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/tenant-reuse?query=Alex`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/tenant-reuse?query=Alex",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"items": [
{
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"first_name": "Alex",
"last_name": "Example",
"email": "alex@example.com",
"phone": "+12085550100",
"status": "active",
"notes": null,
"address_line_1": "100 Main Street",
"address_line_2": null,
"city": "Boise",
"state": "ID",
"postal_code": "83702",
"alternate_contact_name": null,
"alternate_contact_relationship": null,
"alternate_contact_phone": null,
"alternate_contact_email": null,
"active_military": false,
"created_at": "2026-11-01T15:00:00Z",
"updated_at": "2026-11-01T15:00:00Z"
}
],
"next_cursor": null
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
Reserve a unit, create or extend a timed hold, cancel it, or convert an eligible reservation using the existing rental workflow.
/facilities/{facility_id}/reservationsrentals:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
limitintegerMinimum: 1. Maximum: 100.
cursorstring · uuidstatusstringAllowed: pending, converted, cancelled, expired.
unit_idstring · uuidReturns data.items, a page of records, and data.next_cursor for the next page (null on the last page).
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidunit_idstring or null · uuidfirst_namestring or nulllast_namestring or nullemailstring or nullphonestring or nulldesired_move_in_datestring or null · datequoted_monthly_ratenumber or nullDecimal currency units, not cents.
reservation_kindstring or nullhold_expires_atstring or null · date-timestatusstring or nulllease_idstring or null · uuidcreated_atstring or null · date-timeupdated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/reservations" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/reservations`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/reservations",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"items": [
{
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"unit_id": "00000000-0000-4000-8000-000000000004",
"first_name": "Alex",
"last_name": "Example",
"email": "alex@example.com",
"phone": "+12085550100",
"desired_move_in_date": "2026-11-01",
"quoted_monthly_rate": 125,
"reservation_kind": "reservation",
"hold_expires_at": "2026-11-01T15:00:00Z",
"status": "pending",
"lease_id": "00000000-0000-4000-8000-000000000005",
"created_at": "2026-11-01T15:00:00Z",
"updated_at": "2026-11-01T15:00:00Z"
}
],
"next_cursor": null
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{facility_id}/reservations/{id}rentals:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
No query parameters.
Returns the record in data.
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidunit_idstring or null · uuidfirst_namestring or nulllast_namestring or nullemailstring or nullphonestring or nulldesired_move_in_datestring or null · datequoted_monthly_ratenumber or nullDecimal currency units, not cents.
reservation_kindstring or nullhold_expires_atstring or null · date-timestatusstring or nulllease_idstring or null · uuidcreated_atstring or null · date-timeupdated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/reservations/$RECORD_ID" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/reservations/${recordId}`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/reservations/{record_id}",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"unit_id": "00000000-0000-4000-8000-000000000004",
"first_name": "Alex",
"last_name": "Example",
"email": "alex@example.com",
"phone": "+12085550100",
"desired_move_in_date": "2026-11-01",
"quoted_monthly_rate": 125,
"reservation_kind": "reservation",
"hold_expires_at": "2026-11-01T15:00:00Z",
"status": "pending",
"lease_id": "00000000-0000-4000-8000-000000000005",
"created_at": "2026-11-01T15:00:00Z",
"updated_at": "2026-11-01T15:00:00Z"
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{facility_id}/reservationsrentals:writeFor a hold, also supply a future hold_expires_at timestamp. Ordinary reservations must omit that field.
facility_idstring · uuidRequiredThe selected location. It must be granted to your key.
first_namestringRequiredAt least 1 characters. Up to 100 characters.
last_namestringRequiredAt least 1 characters. Up to 100 characters.
emailstring · emailRequiredUp to 254 characters.
phonestringRequiredUp to 40 characters.
notesstringUp to 4000 characters.
unit_idstring · uuidRequireddesired_move_in_datestring · dateRequiredquoted_monthly_rate_centsintegerRequiredMinimum: 0. Maximum: 999999999. Integer cents: 10000 means $100.00.
reservation_kindstringRequiredAllowed: reservation, hold.
hold_expires_atstring · date-timeReturns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/reservations" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"unit_id": "00000000-0000-4000-8000-000000000001",
"first_name": "Alex",
"last_name": "Example",
"email": "alex@example.com",
"phone": "+12085550100",
"desired_move_in_date": "2026-11-01",
"quoted_monthly_rate_cents": 10000,
"reservation_kind": "reservation"
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/reservations`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"unit_id": "00000000-0000-4000-8000-000000000001",
"first_name": "Alex",
"last_name": "Example",
"email": "alex@example.com",
"phone": "+12085550100",
"desired_move_in_date": "2026-11-01",
"quoted_monthly_rate_cents": 10000,
"reservation_kind": "reservation"
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/reservations",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"unit_id": "00000000-0000-4000-8000-000000000001",
"first_name": "Alex",
"last_name": "Example",
"email": "alex@example.com",
"phone": "+12085550100",
"desired_move_in_date": "2026-11-01",
"quoted_monthly_rate_cents": 10000,
"reservation_kind": "reservation",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/reservations/{id}/cancelrentals:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
Send an empty JSON object: {}.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/reservations/$RECORD_ID/cancel" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/reservations/${recordId}/cancel`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/reservations/{record_id}/cancel",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/reservations/{id}/convertrentals:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
Send an empty JSON object: {}.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/reservations/$RECORD_ID/convert" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/reservations/${recordId}/convert`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/reservations/{record_id}/convert",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/reservations/{id}/extend-holdrentals:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
hoursintegerRequiredMinimum: 1. Maximum: 168.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/reservations/$RECORD_ID/extend-hold" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"hours": 1
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/reservations/${recordId}/extend-hold`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"hours": 1
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/reservations/{record_id}/extend-hold",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"hours": 1,
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/reservations/{id}/release-holdrentals:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
Send an empty JSON object: {}.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/reservations/$RECORD_ID/release-hold" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/reservations/${recordId}/release-hold`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/reservations/{record_id}/release-hold",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
Record interest in a facility and track whether a waiting contact has been contacted or cancelled. An entry requires an email address or phone number.
/facilities/{facility_id}/waitlistrentals:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
limitintegerMinimum: 1. Maximum: 100.
cursorstring · uuidstatusstringAllowed: waiting, contacted, converted, cancelled.
Returns data.items, a page of records, and data.next_cursor for the next page (null on the last page).
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidfirst_namestring or nulllast_namestring or nullemailstring or nullphonestring or nulldesired_move_in_datestring or null · datestatusstring or nullcreated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/waitlist" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/waitlist`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/waitlist",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"items": [
{
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"first_name": "Alex",
"last_name": "Example",
"email": "alex@example.com",
"phone": "+12085550100",
"desired_move_in_date": "2026-11-01",
"status": "waiting",
"created_at": "2026-11-01T15:00:00Z"
}
],
"next_cursor": null
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{facility_id}/waitlist/{id}rentals:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
No query parameters.
Returns the record in data.
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidfirst_namestring or nulllast_namestring or nullemailstring or nullphonestring or nulldesired_move_in_datestring or null · datestatusstring or nullcreated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/waitlist/$RECORD_ID" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/waitlist/${recordId}`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/waitlist/{record_id}",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"first_name": "Alex",
"last_name": "Example",
"email": "alex@example.com",
"phone": "+12085550100",
"desired_move_in_date": "2026-11-01",
"status": "waiting",
"created_at": "2026-11-01T15:00:00Z"
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{facility_id}/waitlistrentals:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
first_namestringRequiredAt least 1 characters. Up to 100 characters.
last_namestringRequiredAt least 1 characters. Up to 100 characters.
emailstring · email or nullUp to 254 characters. Accepts null to clear this value.
phonestring or nullUp to 40 characters. Accepts null to clear this value.
unit_type_idstring · uuid or nullAccepts null to clear this value.
requested_sizestringUp to 100 characters.
desired_move_in_datestring · date or nullAccepts null to clear this value.
notesstringUp to 4000 characters.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/waitlist" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"first_name": "Alex",
"last_name": "Example",
"email": "alex@example.com"
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/waitlist`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"first_name": "Alex",
"last_name": "Example",
"email": "alex@example.com"
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/waitlist",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"first_name": "Alex",
"last_name": "Example",
"email": "alex@example.com",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/waitlist/{id}rentals:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
statusstringRequiredAllowed: contacted, cancelled.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/waitlist/$RECORD_ID" \
-X PATCH \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"status": "contacted"
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/waitlist/${recordId}`, {
method: 'PATCH',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"status": "contacted"
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.patch(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/waitlist/{record_id}",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"status": "contacted",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
Create office rentals and initial invoices, manage agreement handoff, activate scheduled move-ins, and preview or complete transfers and checkouts. Creating a rental does not charge a card or verify a signed agreement.
/facilities/{facility_id}/leasesrentals:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
limitintegerMinimum: 1. Maximum: 100.
cursorstring · uuidstatusstringAllowed: pending, scheduled, active, ended, cancelled.
tenant_idstring · uuidunit_idstring · uuidReturns data.items, a page of records, and data.next_cursor for the next page (null on the last page).
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidunit_idstring or null · uuidtenant_idstring or null · uuidstart_datestring or null · dateend_datestring or null · datemonthly_ratenumber or nullDecimal currency units, not cents.
security_depositnumber or nullDecimal currency units, not cents.
billing_dayinteger or nullstatusstring or nullcreated_atstring or null · date-timeupdated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/leases" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/leases`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/leases",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"items": [
{
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"unit_id": "00000000-0000-4000-8000-000000000004",
"tenant_id": "00000000-0000-4000-8000-000000000005",
"start_date": "2026-11-01",
"end_date": "2026-11-01",
"monthly_rate": 125,
"security_deposit": 125,
"billing_day": 1,
"status": "active",
"created_at": "2026-11-01T15:00:00Z",
"updated_at": "2026-11-01T15:00:00Z"
}
],
"next_cursor": null
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{facility_id}/leases/{id}rentals:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
No query parameters.
Returns the record in data.
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidunit_idstring or null · uuidtenant_idstring or null · uuidstart_datestring or null · dateend_datestring or null · datemonthly_ratenumber or nullDecimal currency units, not cents.
security_depositnumber or nullDecimal currency units, not cents.
billing_dayinteger or nullstatusstring or nullcreated_atstring or null · date-timeupdated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/leases/$RECORD_ID" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/leases/${recordId}`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/leases/{record_id}",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"unit_id": "00000000-0000-4000-8000-000000000004",
"tenant_id": "00000000-0000-4000-8000-000000000005",
"start_date": "2026-11-01",
"end_date": "2026-11-01",
"monthly_rate": 125,
"security_deposit": 125,
"billing_day": 1,
"status": "active",
"created_at": "2026-11-01T15:00:00Z",
"updated_at": "2026-11-01T15:00:00Z"
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{facility_id}/leasesrentals:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
unit_idstring · uuidRequiredtenant_idstring · uuidRequiredreuse_contactbooleanSet true only for explicit reuse of a contact from another authorized facility.
start_datestring · dateRequiredmonthly_rate_centsintegerRequiredMinimum: 0. Maximum: 999999999. Integer cents: 10000 means $100.00.
security_deposit_centsintegerRequiredMinimum: 0. Maximum: 999999999. Integer cents: 10000 means $100.00.
billing_dayintegerRequiredMinimum: 1. Maximum: 28.
first_rent_centsintegerRequiredMinimum: 0. Maximum: 999999999. Integer cents: 10000 means $100.00.
photo_id_verifiedbooleanRequiredinsurance_verifiedbooleanRequiredcontract_deliverystringRequiredAllowed: later, email, print.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/leases" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"unit_id": "00000000-0000-4000-8000-000000000001",
"tenant_id": "00000000-0000-4000-8000-000000000001",
"start_date": "2026-11-01",
"monthly_rate_cents": 10000,
"security_deposit_cents": 10000,
"billing_day": 1,
"first_rent_cents": 10000,
"photo_id_verified": true,
"insurance_verified": true,
"contract_delivery": "later"
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/leases`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"unit_id": "00000000-0000-4000-8000-000000000001",
"tenant_id": "00000000-0000-4000-8000-000000000001",
"start_date": "2026-11-01",
"monthly_rate_cents": 10000,
"security_deposit_cents": 10000,
"billing_day": 1,
"first_rent_cents": 10000,
"photo_id_verified": true,
"insurance_verified": true,
"contract_delivery": "later"
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/leases",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"unit_id": "00000000-0000-4000-8000-000000000001",
"tenant_id": "00000000-0000-4000-8000-000000000001",
"start_date": "2026-11-01",
"monthly_rate_cents": 10000,
"security_deposit_cents": 10000,
"billing_day": 1,
"first_rent_cents": 10000,
"photo_id_verified": True,
"insurance_verified": True,
"contract_delivery": "later",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/leases/{id}/activaterentals:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
Send an empty JSON object: {}.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/leases/$RECORD_ID/activate" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/leases/${recordId}/activate`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/leases/{record_id}/activate",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/leases/{id}/checkout-previewrentals:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
move_out_datestring · dateRequiredReturns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/leases/$RECORD_ID/checkout-preview" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"move_out_date": "2026-11-01"
}'const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/leases/${recordId}/checkout-preview`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"move_out_date": "2026-11-01"
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/leases/{record_id}/checkout-preview",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
json={
"move_out_date": "2026-11-01",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]IDs and values are illustrative.
/facilities/{facility_id}/leases/{id}/checkoutrentals:writePreview checkout first. This records funds already returned; it does not dispatch a processor refund. Follow-up conditions may leave checkout incomplete.
facility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
move_out_datestring · dateRequiredoutcomestringRequiredAllowed: ready_to_rent, cleaning_required, damage_found, belongings_remain, lock_removal.
notesstringUp to 4000 characters.
cleaning_fee_centsintegerMinimum: 0. Maximum: 999999999. Integer cents: 10000 means $100.00.
damage_fee_centsintegerMinimum: 0. Maximum: 999999999. Integer cents: 10000 means $100.00.
other_fee_centsintegerMinimum: 0. Maximum: 999999999. Integer cents: 10000 means $100.00.
fee_notesstringUp to 4000 characters.
deposit_collected_centsintegerRequiredMinimum: 0. Maximum: 999999999. Integer cents: 10000 means $100.00.
deposit_applied_centsintegerRequiredMinimum: 0. Maximum: 999999999. Integer cents: 10000 means $100.00.
return_methodstringAllowed: , cash, check, card, bank, ach, other.
return_referencestringUp to 4000 characters.
settlement_notesstringUp to 4000 characters.
expected_return_centsintegerRequiredMinimum: 0. Maximum: 999999999. Integer cents: 10000 means $100.00.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/leases/$RECORD_ID/checkout" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"move_out_date": "2026-11-01",
"outcome": "ready_to_rent",
"deposit_collected_cents": 10000,
"deposit_applied_cents": 10000,
"expected_return_cents": 10000
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/leases/${recordId}/checkout`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"move_out_date": "2026-11-01",
"outcome": "ready_to_rent",
"deposit_collected_cents": 10000,
"deposit_applied_cents": 10000,
"expected_return_cents": 10000
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/leases/{record_id}/checkout",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"move_out_date": "2026-11-01",
"outcome": "ready_to_rent",
"deposit_collected_cents": 10000,
"deposit_applied_cents": 10000,
"expected_return_cents": 10000,
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/leases/{id}/transfer-previewrentals:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
target_unit_idstring · uuidRequiredmonthly_rate_centsintegerRequiredMinimum: 0. Maximum: 999999999. Integer cents: 10000 means $100.00.
transfer_onstring · dateRequiredReturns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/leases/$RECORD_ID/transfer-preview" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"target_unit_id": "00000000-0000-4000-8000-000000000001",
"monthly_rate_cents": 10000,
"transfer_on": "2026-11-01"
}'const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/leases/${recordId}/transfer-preview`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"target_unit_id": "00000000-0000-4000-8000-000000000001",
"monthly_rate_cents": 10000,
"transfer_on": "2026-11-01"
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/leases/{record_id}/transfer-preview",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
json={
"target_unit_id": "00000000-0000-4000-8000-000000000001",
"monthly_rate_cents": 10000,
"transfer_on": "2026-11-01",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]IDs and values are illustrative.
/facilities/{facility_id}/leases/{id}/transferrentals:writeRun transfer-preview first. Replace expected_preview with its full data result; the example placeholder is not executable. A transfer is restricted to the same facility and the facility’s current day. Confirm the inspection and agreement before completing it.
facility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
target_unit_idstring · uuidRequiredmonthly_rate_centsintegerRequiredMinimum: 0. Maximum: 999999999. Integer cents: 10000 means $100.00.
transfer_onstring · dateRequiredrequest_idstring · uuidRequiredGenerate once for this intent; keep it on retries.
old_unit_conditionstringRequiredAllowed: ready, maintenance.
inspection_notesstringRequiredUp to 4000 characters.
unit_emptybooleanRequiredlock_removedbooleanRequiredagreement_acknowledgedbooleanRequiredphoto_id_verifiedbooleanRequiredinsurance_verifiedbooleanRequiredexpected_previewobjectRequiredPass the complete result of transfer-preview unchanged.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/leases/$RECORD_ID/transfer" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"target_unit_id": "00000000-0000-4000-8000-000000000001",
"monthly_rate_cents": 10000,
"transfer_on": "2026-11-01",
"request_id": "00000000-0000-4000-8000-000000000001",
"old_unit_condition": "ready",
"inspection_notes": "Reviewed by the facility manager.",
"unit_empty": true,
"lock_removed": true,
"agreement_acknowledged": true,
"photo_id_verified": true,
"insurance_verified": true,
"expected_preview": {
"description": "Replace with the complete transfer-preview result"
}
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/leases/${recordId}/transfer`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"target_unit_id": "00000000-0000-4000-8000-000000000001",
"monthly_rate_cents": 10000,
"transfer_on": "2026-11-01",
"request_id": "00000000-0000-4000-8000-000000000001",
"old_unit_condition": "ready",
"inspection_notes": "Reviewed by the facility manager.",
"unit_empty": true,
"lock_removed": true,
"agreement_acknowledged": true,
"photo_id_verified": true,
"insurance_verified": true,
"expected_preview": {
"description": "Replace with the complete transfer-preview result"
}
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/leases/{record_id}/transfer",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"target_unit_id": "00000000-0000-4000-8000-000000000001",
"monthly_rate_cents": 10000,
"transfer_on": "2026-11-01",
"request_id": "00000000-0000-4000-8000-000000000001",
"old_unit_condition": "ready",
"inspection_notes": "Reviewed by the facility manager.",
"unit_empty": True,
"lock_removed": True,
"agreement_acknowledged": True,
"photo_id_verified": True,
"insurance_verified": True,
"expected_preview": {
"description": "Replace with the complete transfer-preview result",
},
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/leases/{id}/handoffrentals:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
No query parameters.
Returns the record in data.
lease_idstring · uuidorganization_idstring · uuidfacility_idstring · uuidcontract_deliverystringcontract_verified_atstring or null · date-timecontract_verification_notestring or nullhandoff_override_atstring or null · date-timehandoff_override_reasonstring or nullidentification_duebooleanpayment_invoice_idstring or null · uuidpayment_decisionstringcontract_template_idstring or null · uuidcurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/leases/$RECORD_ID/handoff" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/leases/${recordId}/handoff`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/leases/{record_id}/handoff",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"lease_id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"contract_delivery": "Example",
"contract_verified_at": "2026-11-01T15:00:00Z",
"contract_verification_note": null,
"handoff_override_at": "2026-11-01T15:00:00Z",
"handoff_override_reason": null,
"identification_due": false,
"payment_invoice_id": "00000000-0000-4000-8000-000000000004",
"payment_decision": "Example",
"contract_template_id": "00000000-0000-4000-8000-000000000005"
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{facility_id}/leases/{id}/agreement-deliveryrentals:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
deliverystringRequiredAllowed: email, print, later.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/leases/$RECORD_ID/agreement-delivery" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"delivery": "email"
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/leases/${recordId}/agreement-delivery`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"delivery": "email"
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/leases/{record_id}/agreement-delivery",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"delivery": "email",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/leases/{id}/verify-agreementrentals:writeRecords the location of a verified signed paper agreement. It does not fabricate an electronically signed document.
facility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
notestringRequiredAt least 5 characters. Up to 2000 characters.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/leases/$RECORD_ID/verify-agreement" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"note": "Reviewed by the facility manager."
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/leases/${recordId}/verify-agreement`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"note": "Reviewed by the facility manager."
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/leases/{record_id}/verify-agreement",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"note": "Reviewed by the facility manager.",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/leases/{id}/override-handoffrentals:writeRequires a current administrator and a reason of at least ten characters. The existing audited exception workflow is preserved.
facility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
reasonstringRequiredAt least 10 characters. Up to 2000 characters.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/leases/$RECORD_ID/override-handoff" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"reason": "Reviewed by the facility manager."
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/leases/${recordId}/override-handoff`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"reason": "Reviewed by the facility manager."
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/leases/{record_id}/override-handoff",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"reason": "Reviewed by the facility manager.",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/leases/{id}/complete-paymentrentals:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
leave_invoices_openbooleanRequiredReturns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/leases/$RECORD_ID/complete-payment" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"leave_invoices_open": true
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/leases/${recordId}/complete-payment`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"leave_invoices_open": true
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/leases/{record_id}/complete-payment",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"leave_invoices_open": True,
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
Read agreement status and metadata. Signing URLs, private files, identification and provider credentials are excluded. Signed paper verification is available under Rentals & move-ins.
/facilities/{facility_id}/agreementsrentals:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
limitintegerMinimum: 1. Maximum: 100.
cursorstring · uuidstatusstringAllowed: creating, draft, sent, viewed, in_progress, completed, expired, canceled, declined, bounced, error.
tenant_idstring · uuidReturns data.items, a page of records, and data.next_cursor for the next page (null on the last page).
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidlease_idstring or null · uuidtenant_idstring or null · uuidnamestring or nullstatusstring or nullproviderstring or nullsent_atstring or null · date-timecompleted_atstring or null · date-timeexpires_atstring or null · date-timecreated_atstring or null · date-timeupdated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/agreements" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/agreements`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/agreements",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"items": [
{
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"lease_id": "00000000-0000-4000-8000-000000000004",
"tenant_id": "00000000-0000-4000-8000-000000000005",
"name": "Example Storage",
"status": null,
"provider": null,
"sent_at": "2026-11-01T15:00:00Z",
"completed_at": "2026-11-01T15:00:00Z",
"expires_at": "2026-11-01T15:00:00Z",
"created_at": "2026-11-01T15:00:00Z",
"updated_at": "2026-11-01T15:00:00Z"
}
],
"next_cursor": null
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{facility_id}/agreements/{id}rentals:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
No query parameters.
Returns the record in data.
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidlease_idstring or null · uuidtenant_idstring or null · uuidnamestring or nullstatusstring or nullproviderstring or nullsent_atstring or null · date-timecompleted_atstring or null · date-timeexpires_atstring or null · date-timecreated_atstring or null · date-timeupdated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/agreements/$RECORD_ID" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/agreements/${recordId}`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/agreements/{record_id}",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"lease_id": "00000000-0000-4000-8000-000000000004",
"tenant_id": "00000000-0000-4000-8000-000000000005",
"name": "Example Storage",
"status": null,
"provider": null,
"sent_at": "2026-11-01T15:00:00Z",
"completed_at": "2026-11-01T15:00:00Z",
"expires_at": "2026-11-01T15:00:00Z",
"created_at": "2026-11-01T15:00:00Z",
"updated_at": "2026-11-01T15:00:00Z"
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
Read ledger totals, issue invoices, apply audited credits, record offline receipts or queue invoice emails. Payment links open the normal tenant-authenticated portal.
/facilities/{facility_id}/invoicesbilling:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
limitintegerMinimum: 1. Maximum: 100.
cursorstring · uuidstatusstringAllowed: open, void.
tenant_idstring · uuidReturns data.items, a page of records, and data.next_cursor for the next page (null on the last page).
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidlease_idstring or null · uuidtenant_idstring or null · uuidinvoice_numberstring or nullbilling_periodstring or null · dateissue_datestring or null · datedue_datestring or null · datelifecycle_statusstring or nullsourcestring or nullnotesstring or nullcreated_atstring or null · date-timeupdated_atstring or null · date-timetotalnumber or nullDecimal currency units, not cents.
paidnumber or nullDecimal currency units, not cents.
balancenumber or nullDecimal currency units, not cents.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/invoices" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/invoices`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/invoices",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"items": [
{
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"lease_id": "00000000-0000-4000-8000-000000000004",
"tenant_id": "00000000-0000-4000-8000-000000000005",
"invoice_number": "INV-1001",
"billing_period": "2026-11-01",
"issue_date": "2026-11-01",
"due_date": "2026-11-01",
"lifecycle_status": null,
"source": null,
"notes": null,
"created_at": "2026-11-01T15:00:00Z",
"updated_at": "2026-11-01T15:00:00Z",
"total": 125,
"paid": 0,
"balance": 125
}
],
"next_cursor": null
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{facility_id}/invoices/{id}billing:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
No query parameters.
Returns the record in data.
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidlease_idstring or null · uuidtenant_idstring or null · uuidinvoice_numberstring or nullbilling_periodstring or null · dateissue_datestring or null · datedue_datestring or null · datelifecycle_statusstring or nullsourcestring or nullnotesstring or nullcreated_atstring or null · date-timeupdated_atstring or null · date-timetotalnumber or nullDecimal currency units, not cents.
paidnumber or nullDecimal currency units, not cents.
balancenumber or nullDecimal currency units, not cents.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/invoices/$RECORD_ID" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/invoices/${recordId}`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/invoices/{record_id}",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"lease_id": "00000000-0000-4000-8000-000000000004",
"tenant_id": "00000000-0000-4000-8000-000000000005",
"invoice_number": "INV-1001",
"billing_period": "2026-11-01",
"issue_date": "2026-11-01",
"due_date": "2026-11-01",
"lifecycle_status": null,
"source": null,
"notes": null,
"created_at": "2026-11-01T15:00:00Z",
"updated_at": "2026-11-01T15:00:00Z",
"total": 125,
"paid": 0,
"balance": 125
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{facility_id}/invoicesbilling:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
lease_idstring · uuidRequireddue_datestring · dateRequireddescriptionstringRequiredAt least 1 characters. Up to 255 characters.
amount_centsintegerRequiredMinimum: 0. Maximum: 999999999. Integer cents: 10000 means $100.00.
categorystringRequiredAllowed: rent, deposit, late_fee, admin_fee, insurance, merchandise, payment_fee, other.
notesstringUp to 4000 characters.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/invoices" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"lease_id": "00000000-0000-4000-8000-000000000001",
"due_date": "2026-11-01",
"description": "Example",
"amount_cents": 10000,
"category": "rent"
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/invoices`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"lease_id": "00000000-0000-4000-8000-000000000001",
"due_date": "2026-11-01",
"description": "Example",
"amount_cents": 10000,
"category": "rent"
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/invoices",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"lease_id": "00000000-0000-4000-8000-000000000001",
"due_date": "2026-11-01",
"description": "Example",
"amount_cents": 10000,
"category": "rent",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/invoices/{id}/creditsbilling:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
amount_centsintegerRequiredMinimum: 0. Maximum: 999999999. Integer cents: 10000 means $100.00.
reasonstringRequiredAt least 1 characters. Up to 4000 characters.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/invoices/$RECORD_ID/credits" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"amount_cents": 10000,
"reason": "Reviewed by the facility manager."
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/invoices/${recordId}/credits`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"amount_cents": 10000,
"reason": "Reviewed by the facility manager."
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/invoices/{record_id}/credits",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"amount_cents": 10000,
"reason": "Reviewed by the facility manager.",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/invoices/{id}/paymentsbilling:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
amount_centsintegerRequiredMinimum: 0. Maximum: 999999999. Integer cents: 10000 means $100.00.
received_atstring · date-timeRequiredmethodstringRequiredAllowed: cash, check, other.
referencestringUp to 4000 characters.
notesstringUp to 4000 characters.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/invoices/$RECORD_ID/payments" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"amount_cents": 10000,
"received_at": "2026-11-01T15:00:00Z",
"method": "cash"
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/invoices/${recordId}/payments`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"amount_cents": 10000,
"received_at": "2026-11-01T15:00:00Z",
"method": "cash"
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/invoices/{record_id}/payments",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"amount_cents": 10000,
"received_at": "2026-11-01T15:00:00Z",
"method": "cash",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/invoices/{id}/deliverbilling:writeQueues email through the existing reliable delivery ledger. Queue acceptance does not establish delivery.
facility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
Send an empty JSON object: {}.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/invoices/$RECORD_ID/deliver" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/invoices/${recordId}/deliver`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/invoices/{record_id}/deliver",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/invoices/{id}/payment-linkbilling:readReturns a URL for the existing tenant portal. The tenant must authenticate; opening the URL does not establish payment.
facility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
Send an empty JSON object: {}.
Returns the record in data.
urlstring · uricurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/invoices/$RECORD_ID/payment-link" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Content-Type: application/json" \
--data '{}'const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/invoices/${recordId}/payment-link`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/invoices/{record_id}/payment-link",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
json={},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"url": "https://app.example.com/portal?invoice=…"
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{facility_id}/invoices/{id}/write-offbilling:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
amount_centsintegerRequiredMinimum: 1. Maximum: 999999999. Integer cents: 10000 means $100.00.
reasonstringRequiredAt least 1 characters. Up to 2000 characters.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/invoices/$RECORD_ID/write-off" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"amount_cents": 10000,
"reason": "Reviewed by the facility manager."
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/invoices/${recordId}/write-off`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"amount_cents": 10000,
"reason": "Reviewed by the facility manager."
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/invoices/{record_id}/write-off",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"amount_cents": 10000,
"reason": "Reviewed by the facility manager.",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
Record money already received outside Stripe, allocate it to invoices and void offline payments with an audited reason. These operations do not collect cards or assert ACH settlement.
/facilities/{facility_id}/paymentsbilling:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
limitintegerMinimum: 1. Maximum: 100.
cursorstring · uuidstatusstringAllowed: posted, void.
tenant_idstring · uuidReturns data.items, a page of records, and data.next_cursor for the next page (null on the last page).
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidtenant_idstring or null · uuidamountnumber or nullDecimal currency units, not cents.
methodstring or nullstatusstring or nullreceived_atstring or null · date-timereferencestring or nullnotesstring or nullrefunded_amountnumber or nullDecimal currency units, not cents.
disputed_amountnumber or nullDecimal currency units, not cents.
payment_method_typestring or nullpayment_method_brandstring or nullpayment_method_last4string or nullcreated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/payments" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/payments`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/payments",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"items": [
{
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"tenant_id": "00000000-0000-4000-8000-000000000004",
"amount": 125,
"method": "cash",
"status": null,
"received_at": "2026-11-01T15:00:00Z",
"reference": null,
"notes": null,
"refunded_amount": 0,
"disputed_amount": 0,
"payment_method_type": null,
"payment_method_brand": null,
"payment_method_last4": null,
"created_at": "2026-11-01T15:00:00Z"
}
],
"next_cursor": null
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{facility_id}/payments/{id}billing:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
No query parameters.
Returns the record in data.
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidtenant_idstring or null · uuidamountnumber or nullDecimal currency units, not cents.
methodstring or nullstatusstring or nullreceived_atstring or null · date-timereferencestring or nullnotesstring or nullrefunded_amountnumber or nullDecimal currency units, not cents.
disputed_amountnumber or nullDecimal currency units, not cents.
payment_method_typestring or nullpayment_method_brandstring or nullpayment_method_last4string or nullcreated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/payments/$RECORD_ID" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/payments/${recordId}`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/payments/{record_id}",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"tenant_id": "00000000-0000-4000-8000-000000000004",
"amount": 125,
"method": "cash",
"status": null,
"received_at": "2026-11-01T15:00:00Z",
"reference": null,
"notes": null,
"refunded_amount": 0,
"disputed_amount": 0,
"payment_method_type": null,
"payment_method_brand": null,
"payment_method_last4": null,
"created_at": "2026-11-01T15:00:00Z"
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{facility_id}/payments/{id}/voidbilling:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
reasonstringRequiredAt least 1 characters. Up to 4000 characters.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/payments/$RECORD_ID/void" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"reason": "Reviewed by the facility manager."
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/payments/${recordId}/void`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"reason": "Reviewed by the facility manager."
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/payments/{record_id}/void",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"reason": "Reviewed by the facility manager.",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/paymentsbilling:writeAmounts represent money already received. Allocations must belong to this tenant and facility. The receipt and allocations succeed together or roll back together.
facility_idstring · uuidRequiredThe selected location. It must be granted to your key.
tenant_idstring · uuidRequiredamount_centsintegerRequiredMinimum: 1. Maximum: 999999999. Integer cents: 10000 means $100.00.
received_atstring · date-timeRequiredmethodstringRequiredAllowed: cash, check, other.
referencestringUp to 4000 characters.
notesstringUp to 4000 characters.
allocationsarrayRequiredMinimum items: 0. Maximum items: 50.
allocations[].invoice_idstring · uuidRequiredallocations[].amount_centsintegerRequiredMinimum: 1. Maximum: 999999999. Integer cents: 10000 means $100.00.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/payments" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"tenant_id": "00000000-0000-4000-8000-000000000001",
"amount_cents": 10000,
"received_at": "2026-11-01T15:00:00Z",
"method": "cash",
"allocations": []
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/payments`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"tenant_id": "00000000-0000-4000-8000-000000000001",
"amount_cents": 10000,
"received_at": "2026-11-01T15:00:00Z",
"method": "cash",
"allocations": []
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/payments",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"tenant_id": "00000000-0000-4000-8000-000000000001",
"amount_cents": 10000,
"received_at": "2026-11-01T15:00:00Z",
"method": "cash",
"allocations": [],
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/payments/{id}/allocationsbilling:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
invoice_idstring · uuidRequiredamount_centsintegerRequiredMinimum: 1. Maximum: 999999999. Integer cents: 10000 means $100.00.
reasonstringRequiredAt least 5 characters. Up to 2000 characters.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/payments/$RECORD_ID/allocations" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"invoice_id": "00000000-0000-4000-8000-000000000001",
"amount_cents": 10000,
"reason": "Reviewed by the facility manager."
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/payments/${recordId}/allocations`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"invoice_id": "00000000-0000-4000-8000-000000000001",
"amount_cents": 10000,
"reason": "Reviewed by the facility manager."
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/payments/{record_id}/allocations",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"invoice_id": "00000000-0000-4000-8000-000000000001",
"amount_cents": 10000,
"reason": "Reviewed by the facility manager.",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
Start a move-out, review its date, inspect, reconcile the deposit, then complete checkout. Inventory is released only when the existing workflow permits it.
/facilities/{facility_id}/move-outsrentals:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
limitintegerMinimum: 1. Maximum: 100.
cursorstring · uuidstatusstringAllowed: awaiting_inspection, action_required, completed, cancelled.
tenant_idstring · uuidunit_idstring · uuidReturns data.items, a page of records, and data.next_cursor for the next page (null on the last page).
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidlease_idstring or null · uuidtenant_idstring or null · uuidunit_idstring or null · uuidstatusstring or nullrequested_move_out_datestring or null · dateinspection_outcomestring or nullcreated_atstring or null · date-timeupdated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/move-outs" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/move-outs`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/move-outs",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"items": [
{
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"lease_id": "00000000-0000-4000-8000-000000000004",
"tenant_id": "00000000-0000-4000-8000-000000000005",
"unit_id": "00000000-0000-4000-8000-000000000006",
"status": "awaiting_inspection",
"requested_move_out_date": "2026-11-01",
"inspection_outcome": null,
"created_at": "2026-11-01T15:00:00Z",
"updated_at": "2026-11-01T15:00:00Z"
}
],
"next_cursor": null
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{facility_id}/move-outs/{id}rentals:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
No query parameters.
Returns the record in data.
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidlease_idstring or null · uuidtenant_idstring or null · uuidunit_idstring or null · uuidstatusstring or nullrequested_move_out_datestring or null · dateinspection_outcomestring or nullcreated_atstring or null · date-timeupdated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/move-outs/$RECORD_ID" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/move-outs/${recordId}`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/move-outs/{record_id}",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"lease_id": "00000000-0000-4000-8000-000000000004",
"tenant_id": "00000000-0000-4000-8000-000000000005",
"unit_id": "00000000-0000-4000-8000-000000000006",
"status": "awaiting_inspection",
"requested_move_out_date": "2026-11-01",
"inspection_outcome": null,
"created_at": "2026-11-01T15:00:00Z",
"updated_at": "2026-11-01T15:00:00Z"
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{facility_id}/move-outsrentals:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
lease_idstring · uuidRequiredmove_out_datestring · dateRequirednotesstringUp to 4000 characters.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/move-outs" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"lease_id": "00000000-0000-4000-8000-000000000001",
"move_out_date": "2026-11-01"
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/move-outs`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"lease_id": "00000000-0000-4000-8000-000000000001",
"move_out_date": "2026-11-01"
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/move-outs",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"lease_id": "00000000-0000-4000-8000-000000000001",
"move_out_date": "2026-11-01",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/move-outs/{id}rentals:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
move_out_datestring · dateRequiredreasonstringRequiredAt least 5 characters. Up to 4000 characters.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/move-outs/$RECORD_ID" \
-X PATCH \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"move_out_date": "2026-11-01",
"reason": "Reviewed by the facility manager."
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/move-outs/${recordId}`, {
method: 'PATCH',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"move_out_date": "2026-11-01",
"reason": "Reviewed by the facility manager."
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.patch(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/move-outs/{record_id}",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"move_out_date": "2026-11-01",
"reason": "Reviewed by the facility manager.",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/move-outs/{id}/cancelrentals:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
reasonstringRequiredAt least 5 characters. Up to 4000 characters.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/move-outs/$RECORD_ID/cancel" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"reason": "Reviewed by the facility manager."
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/move-outs/${recordId}/cancel`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"reason": "Reviewed by the facility manager."
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/move-outs/{record_id}/cancel",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"reason": "Reviewed by the facility manager.",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/move-outs/{id}/inspectionrentals:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
outcomestringRequiredAllowed: ready_to_rent, cleaning_required, damage_found, belongings_remain, lock_removal.
notesstringUp to 4000 characters.
cleaning_fee_centsintegerMinimum: 0. Maximum: 999999999. Integer cents: 10000 means $100.00.
damage_fee_centsintegerMinimum: 0. Maximum: 999999999. Integer cents: 10000 means $100.00.
other_fee_centsintegerMinimum: 0. Maximum: 999999999. Integer cents: 10000 means $100.00.
fee_notesstringUp to 4000 characters.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/move-outs/$RECORD_ID/inspection" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"outcome": "ready_to_rent"
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/move-outs/${recordId}/inspection`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"outcome": "ready_to_rent"
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/move-outs/{record_id}/inspection",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"outcome": "ready_to_rent",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/move-outs/{id}/settlementrentals:writeRecord funds already returned after inspection. bank (or its ach alias) records a completed return; it does not initiate an ACH refund.
facility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
deposit_collected_centsintegerRequiredMinimum: 0. Maximum: 999999999. Integer cents: 10000 means $100.00.
deposit_applied_centsintegerRequiredMinimum: 0. Maximum: 999999999. Integer cents: 10000 means $100.00.
return_methodstringRequiredAllowed: , cash, check, card, bank, ach, other.
return_referencestringUp to 4000 characters.
notesstringUp to 4000 characters.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/move-outs/$RECORD_ID/settlement" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"deposit_collected_cents": 10000,
"deposit_applied_cents": 10000,
"return_method": "cash"
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/move-outs/${recordId}/settlement`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"deposit_collected_cents": 10000,
"deposit_applied_cents": 10000,
"return_method": "cash"
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/move-outs/{record_id}/settlement",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"deposit_collected_cents": 10000,
"deposit_applied_cents": 10000,
"return_method": "cash",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/move-outs/{id}/completerentals:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
notesstringUp to 4000 characters.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/move-outs/$RECORD_ID/complete" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/move-outs/${recordId}/complete`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/move-outs/{record_id}/complete",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
Read source and successor rentals, transferred deposits, rates and financial effects. Preview and complete a transfer under Rentals & move-ins.
/facilities/{facility_id}/transfersrentals:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
limitintegerMinimum: 1. Maximum: 100.
cursorstring · uuidtenant_idstring · uuidReturns data.items, a page of records, and data.next_cursor for the next page (null on the last page).
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidtenant_idstring or null · uuidsource_lease_idstring or null · uuidtarget_lease_idstring or null · uuidsource_unit_idstring or null · uuidtarget_unit_idstring or null · uuidsource_unit_numberstring or nulltarget_unit_numberstring or nulltransfer_onstring or null · dateprevious_ratenumber or nullDecimal currency units, not cents.
new_ratenumber or nullDecimal currency units, not cents.
security_depositnumber or nullDecimal currency units, not cents.
billing_dayinteger or nulladjustment_amountnumber or nullDecimal currency units, not cents.
credit_amountnumber or nullDecimal currency units, not cents.
adjustment_invoice_idstring or null · uuidold_unit_conditionstring or nullinspection_notesstring or nullcreated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/transfers" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/transfers`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/transfers",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"items": [
{
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"tenant_id": "00000000-0000-4000-8000-000000000004",
"source_lease_id": "00000000-0000-4000-8000-000000000005",
"target_lease_id": "00000000-0000-4000-8000-000000000006",
"source_unit_id": "00000000-0000-4000-8000-000000000007",
"target_unit_id": "00000000-0000-4000-8000-000000000008",
"source_unit_number": null,
"target_unit_number": null,
"transfer_on": "2026-11-01",
"previous_rate": 125,
"new_rate": 125,
"security_deposit": 125,
"billing_day": 1,
"adjustment_amount": 0,
"credit_amount": 0,
"adjustment_invoice_id": "00000000-0000-4000-8000-000000000009",
"old_unit_condition": null,
"inspection_notes": null,
"created_at": "2026-11-01T15:00:00Z"
}
],
"next_cursor": null
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{facility_id}/transfers/{id}rentals:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
No query parameters.
Returns the record in data.
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidtenant_idstring or null · uuidsource_lease_idstring or null · uuidtarget_lease_idstring or null · uuidsource_unit_idstring or null · uuidtarget_unit_idstring or null · uuidsource_unit_numberstring or nulltarget_unit_numberstring or nulltransfer_onstring or null · dateprevious_ratenumber or nullDecimal currency units, not cents.
new_ratenumber or nullDecimal currency units, not cents.
security_depositnumber or nullDecimal currency units, not cents.
billing_dayinteger or nulladjustment_amountnumber or nullDecimal currency units, not cents.
credit_amountnumber or nullDecimal currency units, not cents.
adjustment_invoice_idstring or null · uuidold_unit_conditionstring or nullinspection_notesstring or nullcreated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/transfers/$RECORD_ID" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/transfers/${recordId}`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/transfers/{record_id}",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"tenant_id": "00000000-0000-4000-8000-000000000004",
"source_lease_id": "00000000-0000-4000-8000-000000000005",
"target_lease_id": "00000000-0000-4000-8000-000000000006",
"source_unit_id": "00000000-0000-4000-8000-000000000007",
"target_unit_id": "00000000-0000-4000-8000-000000000008",
"source_unit_number": null,
"target_unit_number": null,
"transfer_on": "2026-11-01",
"previous_rate": 125,
"new_rate": 125,
"security_deposit": 125,
"billing_day": 1,
"adjustment_amount": 0,
"credit_amount": 0,
"adjustment_invoice_id": "00000000-0000-4000-8000-000000000009",
"old_unit_condition": null,
"inspection_notes": null,
"created_at": "2026-11-01T15:00:00Z"
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
Create and maintain facility-scoped maintenance work. Updating a work order does not release a unit’s inventory.
/facilities/{facility_id}/work-ordersmaintenance:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
limitintegerMinimum: 1. Maximum: 100.
cursorstring · uuidstatusstringAllowed: open, in_progress, waiting_on_vendor, completed, canceled.
unit_idstring · uuidReturns data.items, a page of records, and data.next_cursor for the next page (null on the last page).
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidunit_idstring or null · uuidtitlestring or nulldescriptionstring or nullstatusstring or nullprioritystring or nullassigneestring or nulldue_datestring or null · dateestimated_costnumber or nullDecimal currency units, not cents.
actual_costnumber or nullDecimal currency units, not cents.
completed_atstring or null · date-timecreated_atstring or null · date-timeupdated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/work-orders" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/work-orders`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/work-orders",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"items": [
{
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"unit_id": "00000000-0000-4000-8000-000000000004",
"title": "Replace door seal",
"description": null,
"status": "open",
"priority": "normal",
"assignee": null,
"due_date": "2026-11-01",
"estimated_cost": 125,
"actual_cost": 0,
"completed_at": "2026-11-01T15:00:00Z",
"created_at": "2026-11-01T15:00:00Z",
"updated_at": "2026-11-01T15:00:00Z"
}
],
"next_cursor": null
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{facility_id}/work-orders/{id}maintenance:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
No query parameters.
Returns the record in data.
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidunit_idstring or null · uuidtitlestring or nulldescriptionstring or nullstatusstring or nullprioritystring or nullassigneestring or nulldue_datestring or null · dateestimated_costnumber or nullDecimal currency units, not cents.
actual_costnumber or nullDecimal currency units, not cents.
completed_atstring or null · date-timecreated_atstring or null · date-timeupdated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/work-orders/$RECORD_ID" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/work-orders/${recordId}`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/work-orders/{record_id}",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"unit_id": "00000000-0000-4000-8000-000000000004",
"title": "Replace door seal",
"description": null,
"status": "open",
"priority": "normal",
"assignee": null,
"due_date": "2026-11-01",
"estimated_cost": 125,
"actual_cost": 0,
"completed_at": "2026-11-01T15:00:00Z",
"created_at": "2026-11-01T15:00:00Z",
"updated_at": "2026-11-01T15:00:00Z"
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{facility_id}/work-ordersmaintenance:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
unit_idstring · uuidRequiredtitlestringRequiredAt least 2 characters. Up to 160 characters.
descriptionstringUp to 4000 characters.
prioritystringAllowed: low, normal, high, emergency.
due_datestring · dateReturns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/work-orders" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"unit_id": "00000000-0000-4000-8000-000000000001",
"title": "Example"
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/work-orders`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"unit_id": "00000000-0000-4000-8000-000000000001",
"title": "Example"
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/work-orders",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"unit_id": "00000000-0000-4000-8000-000000000001",
"title": "Example",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/work-orders/{id}maintenance:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
titlestringAt least 2 characters. Up to 160 characters.
descriptionstringUp to 4000 characters.
prioritystringAllowed: low, normal, high, emergency.
statusstringAllowed: open, in_progress, waiting_on_vendor, completed, canceled.
due_datestring · dateReturns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/work-orders/$RECORD_ID" \
-X PATCH \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"title": "Example"
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/work-orders/${recordId}`, {
method: 'PATCH',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"title": "Example"
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.patch(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/work-orders/{record_id}",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"title": "Example",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
Read recorded unit inspections and their findings. Record an inspection under Units & inspections.
/facilities/{facility_id}/inspectionsmaintenance:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
limitintegerMinimum: 1. Maximum: 100.
cursorstring · uuidunit_idstring · uuidReturns data.items, a page of records, and data.next_cursor for the next page (null on the last page).
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidunit_idstring or null · uuidinspector_user_idstring or null · uuidinspection_typestring or nullresultstring or nullchecklistobject or nullnotesstring or nullwork_order_idstring or null · uuidinspected_atstring or null · date-timecreated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/inspections" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/inspections`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/inspections",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"items": [
{
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"unit_id": "00000000-0000-4000-8000-000000000004",
"inspector_user_id": "00000000-0000-4000-8000-000000000005",
"inspection_type": null,
"result": null,
"checklist": {},
"notes": null,
"work_order_id": "00000000-0000-4000-8000-000000000006",
"inspected_at": "2026-11-01T15:00:00Z",
"created_at": "2026-11-01T15:00:00Z"
}
],
"next_cursor": null
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{facility_id}/inspections/{id}maintenance:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
No query parameters.
Returns the record in data.
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidunit_idstring or null · uuidinspector_user_idstring or null · uuidinspection_typestring or nullresultstring or nullchecklistobject or nullnotesstring or nullwork_order_idstring or null · uuidinspected_atstring or null · date-timecreated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/inspections/$RECORD_ID" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/inspections/${recordId}`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/inspections/{record_id}",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"unit_id": "00000000-0000-4000-8000-000000000004",
"inspector_user_id": "00000000-0000-4000-8000-000000000005",
"inspection_type": null,
"result": null,
"checklist": {},
"notes": null,
"work_order_id": "00000000-0000-4000-8000-000000000006",
"inspected_at": "2026-11-01T15:00:00Z",
"created_at": "2026-11-01T15:00:00Z"
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
Schedule a future rent change for one or more rentals with a notice period, or cancel a scheduled change. AI agent keys need operator confirmation.
/facilities/{facility_id}/rate-changesrentals:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
limitintegerMinimum: 1. Maximum: 100.
cursorstring · uuidstatusstringAllowed: scheduled, applied, cancelled, blocked.
tenant_idstring · uuidReturns data.items, a page of records, and data.next_cursor for the next page (null on the last page).
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidbatch_idstring or null · uuidlease_idstring or null · uuidtenant_idstring or null · uuidunit_numberstring or nulltenant_namestring or nullprevious_ratenumber or nullDecimal currency units, not cents.
new_ratenumber or nullDecimal currency units, not cents.
effective_onstring or null · datenotice_daysinteger or nullnotice_sent_atstring or null · date-timereasonstring or nullstatusstring or nullblocked_reasonstring or nullcancellation_reasonstring or nullapplied_atstring or null · date-timecancelled_atstring or null · date-timecreated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/rate-changes" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/rate-changes`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/rate-changes",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"items": [
{
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"batch_id": "00000000-0000-4000-8000-000000000004",
"lease_id": "00000000-0000-4000-8000-000000000005",
"tenant_id": "00000000-0000-4000-8000-000000000006",
"unit_number": "A-104",
"tenant_name": null,
"previous_rate": 125,
"new_rate": 125,
"effective_on": "2026-11-01",
"notice_days": 0,
"notice_sent_at": "2026-11-01T15:00:00Z",
"reason": null,
"status": null,
"blocked_reason": null,
"cancellation_reason": null,
"applied_at": "2026-11-01T15:00:00Z",
"cancelled_at": "2026-11-01T15:00:00Z",
"created_at": "2026-11-01T15:00:00Z"
}
],
"next_cursor": null
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{facility_id}/rate-changes/{id}rentals:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
No query parameters.
Returns the record in data.
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidbatch_idstring or null · uuidlease_idstring or null · uuidtenant_idstring or null · uuidunit_numberstring or nulltenant_namestring or nullprevious_ratenumber or nullDecimal currency units, not cents.
new_ratenumber or nullDecimal currency units, not cents.
effective_onstring or null · datenotice_daysinteger or nullnotice_sent_atstring or null · date-timereasonstring or nullstatusstring or nullblocked_reasonstring or nullcancellation_reasonstring or nullapplied_atstring or null · date-timecancelled_atstring or null · date-timecreated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/rate-changes/$RECORD_ID" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/rate-changes/${recordId}`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/rate-changes/{record_id}",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"batch_id": "00000000-0000-4000-8000-000000000004",
"lease_id": "00000000-0000-4000-8000-000000000005",
"tenant_id": "00000000-0000-4000-8000-000000000006",
"unit_number": "A-104",
"tenant_name": null,
"previous_rate": 125,
"new_rate": 125,
"effective_on": "2026-11-01",
"notice_days": 0,
"notice_sent_at": "2026-11-01T15:00:00Z",
"reason": null,
"status": null,
"blocked_reason": null,
"cancellation_reason": null,
"applied_at": "2026-11-01T15:00:00Z",
"cancelled_at": "2026-11-01T15:00:00Z",
"created_at": "2026-11-01T15:00:00Z"
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{facility_id}/rate-changesrentals:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
request_idstring · uuidRequiredGenerate once for this intent; keep it on retries.
changesarrayRequiredMinimum items: 1. Maximum items: 500.
changes[].lease_idstring · uuidRequiredchanges[].expected_rate_centsintegerRequiredMinimum: 0. Maximum: 999999999. Integer cents: 10000 means $100.00.
changes[].new_rate_centsintegerRequiredMinimum: 1. Maximum: 999999999. Integer cents: 10000 means $100.00.
changes[].effective_onstring · dateRequiredreasonstringRequiredAt least 1 characters. Up to 2000 characters.
notice_daysintegerRequiredMinimum: 1. Maximum: 365.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/rate-changes" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"request_id": "00000000-0000-4000-8000-000000000001",
"changes": [
{
"lease_id": "00000000-0000-4000-8000-000000000001",
"expected_rate_cents": 10000,
"new_rate_cents": 10000,
"effective_on": "2026-11-01"
}
],
"reason": "Reviewed by the facility manager.",
"notice_days": 1
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/rate-changes`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"request_id": "00000000-0000-4000-8000-000000000001",
"changes": [
{
"lease_id": "00000000-0000-4000-8000-000000000001",
"expected_rate_cents": 10000,
"new_rate_cents": 10000,
"effective_on": "2026-11-01"
}
],
"reason": "Reviewed by the facility manager.",
"notice_days": 1
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/rate-changes",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"request_id": "00000000-0000-4000-8000-000000000001",
"changes": [
{
"lease_id": "00000000-0000-4000-8000-000000000001",
"expected_rate_cents": 10000,
"new_rate_cents": 10000,
"effective_on": "2026-11-01",
},
],
"reason": "Reviewed by the facility manager.",
"notice_days": 1,
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/rate-changes/{id}/cancelrentals:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
reasonstringRequiredAt least 1 characters. Up to 2000 characters.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/rate-changes/$RECORD_ID/cancel" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"reason": "Reviewed by the facility manager."
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/rate-changes/${recordId}/cancel`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"reason": "Reviewed by the facility manager."
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/rate-changes/{record_id}/cancel",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"reason": "Reviewed by the facility manager.",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
Import existing rentals with balances and held deposits at signup, review import history, or undo an import. Run with dry_run first; the rows, rent and balance totals must reconcile. AI agent keys need operator confirmation.
/facilities/{facility_id}/importsrentals:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
limitintegerMinimum: 1. Maximum: 100.
cursorstring · uuidReturns data.items, a page of records, and data.next_cursor for the next page (null on the last page).
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/imports" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/imports`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/imports",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]IDs and values are illustrative.
/facilities/{facility_id}/imports/{id}rentals:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
No query parameters.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/imports/$RECORD_ID" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/imports/${recordId}`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/imports/{record_id}",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]IDs and values are illustrative.
/facilities/{facility_id}/imports/rentalsimports:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
request_idstring · uuidRequiredGenerate once for this intent; keep it on retries.
source_namestringRequiredAt least 1 characters. Up to 200 characters.
cutover_onstring · dateRequiredrowsarrayRequiredMinimum items: 1. Maximum items: 1000.
rows[].row_numberstringUp to 20 characters.
rows[].unit_numberstringRequiredAt least 1 characters. Up to 40 characters.
rows[].tenant_idstring · uuidrows[].first_namestringRequiredAt least 1 characters. Up to 100 characters.
rows[].last_namestringRequiredAt least 1 characters. Up to 100 characters.
rows[].emailstring · emailUp to 254 characters.
rows[].phonestringUp to 40 characters.
rows[].start_datestring · dateRequiredrows[].next_due_datestring · dateRequiredrows[].billing_dayintegerMinimum: 1. Maximum: 28.
rows[].monthly_rate_centsintegerRequiredMinimum: 0. Maximum: 999999999. Integer cents: 10000 means $100.00.
rows[].security_deposit_centsintegerRequiredMinimum: 0. Maximum: 999999999. Integer cents: 10000 means $100.00.
rows[].deposit_held_centsintegerMinimum: 0. Maximum: 999999999. Integer cents: 10000 means $100.00.
rows[].opening_balance_centsintegerMinimum: 0. Maximum: 999999999. Integer cents: 10000 means $100.00.
rows[].opening_balance_due_datestring · daterows[].prepaid_credit_centsintegerMinimum: 0. Maximum: 999999999. Integer cents: 10000 means $100.00.
rows[].address_line_1stringUp to 200 characters.
rows[].address_line_2stringUp to 200 characters.
rows[].citystringUp to 200 characters.
rows[].statestringUp to 200 characters.
rows[].postal_codestringUp to 40 characters.
rows[].alternate_contact_namestringUp to 200 characters.
rows[].alternate_contact_relationshipstringUp to 200 characters.
rows[].alternate_contact_phonestringUp to 40 characters.
rows[].alternate_contact_emailstringUp to 254 characters.
rows[].active_militarybooleanrows[].notesstringUp to 2000 characters.
expected_totalsobjectRequiredexpected_totals.rentalsintegerRequiredMinimum: 1. Maximum: 1000.
expected_totals.monthly_rent_centsintegerRequiredMinimum: 0. Maximum: 999999999. Integer cents: 10000 means $100.00.
expected_totals.opening_balance_centsintegerRequiredMinimum: 0. Maximum: 999999999. Integer cents: 10000 means $100.00.
expected_totals.deposits_held_centsintegerRequiredMinimum: 0. Maximum: 999999999. Integer cents: 10000 means $100.00.
expected_totals.prepaid_credits_centsintegerMinimum: 0. Maximum: 999999999. Integer cents: 10000 means $100.00.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/imports/rentals" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"request_id": "00000000-0000-4000-8000-000000000001",
"source_name": "Example",
"cutover_on": "2026-11-01",
"rows": [
{
"unit_number": "Example",
"first_name": "Alex",
"last_name": "Example",
"start_date": "2026-11-01",
"next_due_date": "2026-11-01",
"monthly_rate_cents": 10000,
"security_deposit_cents": 10000
}
],
"expected_totals": {
"rentals": 1,
"monthly_rent_cents": 10000,
"opening_balance_cents": 10000,
"deposits_held_cents": 10000
}
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/imports/rentals`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"request_id": "00000000-0000-4000-8000-000000000001",
"source_name": "Example",
"cutover_on": "2026-11-01",
"rows": [
{
"unit_number": "Example",
"first_name": "Alex",
"last_name": "Example",
"start_date": "2026-11-01",
"next_due_date": "2026-11-01",
"monthly_rate_cents": 10000,
"security_deposit_cents": 10000
}
],
"expected_totals": {
"rentals": 1,
"monthly_rent_cents": 10000,
"opening_balance_cents": 10000,
"deposits_held_cents": 10000
}
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/imports/rentals",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"request_id": "00000000-0000-4000-8000-000000000001",
"source_name": "Example",
"cutover_on": "2026-11-01",
"rows": [
{
"unit_number": "Example",
"first_name": "Alex",
"last_name": "Example",
"start_date": "2026-11-01",
"next_due_date": "2026-11-01",
"monthly_rate_cents": 10000,
"security_deposit_cents": 10000,
},
],
"expected_totals": {
"rentals": 1,
"monthly_rent_cents": 10000,
"opening_balance_cents": 10000,
"deposits_held_cents": 10000,
},
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/imports/{id}/undoimports:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
Send an empty JSON object: {}.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/imports/$RECORD_ID/undo" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/imports/${recordId}/undo`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/imports/{record_id}/undo",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
Read a facility’s email and text history, or queue an email or text to tenants through the existing delivery ledgers. Texts respect consent, carrier opt-out and quiet hours. Queue acceptance does not establish delivery.
/facilities/{facility_id}/messagesmessages:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
limitintegerMinimum: 1. Maximum: 100.
cursorstringUp to 100 characters.
channelstringAllowed: email, sms.
tenant_idstring · uuidReturns data.items, a page of records, and data.next_cursor for the next page (null on the last page).
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/messages" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/messages`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/messages",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]IDs and values are illustrative.
/facilities/{facility_id}/messages/emailmessages:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
request_idstring · uuidRequiredGenerate once for this intent; keep it on retries.
tenant_idsarrayRequiredMinimum items: 1. Maximum items: 500.
subjectstringRequiredAt least 1 characters. Up to 200 characters.
bodystringRequiredAt least 1 characters. Up to 10000 characters.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/messages/email" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"request_id": "00000000-0000-4000-8000-000000000001",
"tenant_ids": [
"00000000-0000-4000-8000-000000000001"
],
"subject": "Example",
"body": "Example"
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/messages/email`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"request_id": "00000000-0000-4000-8000-000000000001",
"tenant_ids": [
"00000000-0000-4000-8000-000000000001"
],
"subject": "Example",
"body": "Example"
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/messages/email",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"request_id": "00000000-0000-4000-8000-000000000001",
"tenant_ids": [
"00000000-0000-4000-8000-000000000001",
],
"subject": "Example",
"body": "Example",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/facilities/{facility_id}/messages/textmessages:writefacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
request_idstring · uuidRequiredGenerate once for this intent; keep it on retries.
tenant_idstring · uuidRequiredbodystringRequiredAt least 1 characters. Up to 1600 characters.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/messages/text" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"request_id": "00000000-0000-4000-8000-000000000001",
"tenant_id": "00000000-0000-4000-8000-000000000001",
"body": "Example"
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/messages/text`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"request_id": "00000000-0000-4000-8000-000000000001",
"tenant_id": "00000000-0000-4000-8000-000000000001",
"body": "Example"
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/messages/text",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"request_id": "00000000-0000-4000-8000-000000000001",
"tenant_id": "00000000-0000-4000-8000-000000000001",
"body": "Example",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
Rent roll and receivables aging for one facility, computed from the billing ledger.
/facilities/{facility_id}/reports/rent-rollreports:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
limitintegerMinimum: 1. Maximum: 100.
cursorstring · uuidReturns the record in data.
itemsarraynext_cursorstring or null · uuidcurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/reports/rent-roll" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/reports/rent-roll`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/reports/rent-roll",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"items": "Example",
"next_cursor": "00000000-0000-4000-8000-000000000001"
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{facility_id}/reports/agingreports:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
limitintegerMinimum: 1. Maximum: 100.
cursorstring · uuidReturns the record in data.
itemsarraynext_cursorstring or null · uuidcurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/reports/aging" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/reports/aging`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/reports/aging",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"items": "Example",
"next_cursor": "00000000-0000-4000-8000-000000000001"
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
Occupancy, rent and receivables across every facility the key can reach.
/portfolioreports:readNo query parameters.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/portfolio" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/portfolio`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/portfolio",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]IDs and values are illustrative.
Read the retail catalog, prices and stock.
/facilities/{facility_id}/retail-productsretail:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
limitintegerMinimum: 1. Maximum: 100.
cursorstring · uuidReturns data.items, a page of records, and data.next_cursor for the next page (null on the last page).
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidskustring or nullbarcodestring or nullnamestring or nullcategorystring or nulldescriptionstring or nullvendorstring or nullunit_cost_centsinteger or nullprice_centsinteger or nulltaxableboolean or nullquantity_on_handinteger or nullreorder_pointinteger or nullactivebooleancreated_atstring or null · date-timeupdated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/retail-products" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/retail-products`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/retail-products",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"items": [
{
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"sku": null,
"barcode": null,
"name": "Example Storage",
"category": null,
"description": null,
"vendor": null,
"unit_cost_cents": 0,
"price_cents": 0,
"taxable": false,
"quantity_on_hand": 0,
"reorder_point": 0,
"active": true,
"created_at": "2026-11-01T15:00:00Z",
"updated_at": "2026-11-01T15:00:00Z"
}
],
"next_cursor": null
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{facility_id}/retail-products/{id}retail:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
No query parameters.
Returns the record in data.
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidskustring or nullbarcodestring or nullnamestring or nullcategorystring or nulldescriptionstring or nullvendorstring or nullunit_cost_centsinteger or nullprice_centsinteger or nulltaxableboolean or nullquantity_on_handinteger or nullreorder_pointinteger or nullactivebooleancreated_atstring or null · date-timeupdated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/retail-products/$RECORD_ID" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/retail-products/${recordId}`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/retail-products/{record_id}",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"sku": null,
"barcode": null,
"name": "Example Storage",
"category": null,
"description": null,
"vendor": null,
"unit_cost_cents": 0,
"price_cents": 0,
"taxable": false,
"quantity_on_hand": 0,
"reorder_point": 0,
"active": true,
"created_at": "2026-11-01T15:00:00Z",
"updated_at": "2026-11-01T15:00:00Z"
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
Read retail sales. Charging a card is excluded.
/facilities/{facility_id}/retail-salesretail:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
limitintegerMinimum: 1. Maximum: 100.
cursorstring · uuidstatusstringAllowed: pending, paid, canceled.
Returns data.items, a page of records, and data.next_cursor for the next page (null on the last page).
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidsale_numberinteger or nullcustomer_namestring or nullpayment_methodstring or nullstatusstring or nullsubtotal_centsinteger or nulltax_centsinteger or nulltotal_centsinteger or nullrefunded_centsinteger or nullnotestring or nullpaid_atstring or null · date-timecreated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/retail-sales" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/retail-sales`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/retail-sales",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"items": [
{
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"sale_number": 0,
"customer_name": null,
"payment_method": null,
"status": null,
"subtotal_cents": 0,
"tax_cents": 0,
"total_cents": 0,
"refunded_cents": 0,
"note": null,
"paid_at": "2026-11-01T15:00:00Z",
"created_at": "2026-11-01T15:00:00Z"
}
],
"next_cursor": null
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/facilities/{facility_id}/retail-sales/{id}retail:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
No query parameters.
Returns the record in data.
idstring · uuidorganization_idstring or null · uuidfacility_idstring or null · uuidsale_numberinteger or nullcustomer_namestring or nullpayment_methodstring or nullstatusstring or nullsubtotal_centsinteger or nulltax_centsinteger or nulltotal_centsinteger or nullrefunded_centsinteger or nullnotestring or nullpaid_atstring or null · date-timecreated_atstring or null · date-timecurl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/retail-sales/$RECORD_ID" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/retail-sales/${recordId}`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/retail-sales/{record_id}",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"id": "00000000-0000-4000-8000-000000000001",
"organization_id": "00000000-0000-4000-8000-000000000002",
"facility_id": "00000000-0000-4000-8000-000000000003",
"sale_number": 0,
"customer_name": null,
"payment_method": null,
"status": null,
"subtotal_cents": 0,
"tax_cents": 0,
"total_cents": 0,
"refunded_cents": 0,
"note": null,
"paid_at": "2026-11-01T15:00:00Z",
"created_at": "2026-11-01T15:00:00Z"
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
Read automation workflows and their status.
/facilities/{facility_id}/automationsautomations:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
limitintegerMinimum: 1. Maximum: 100.
cursorstring · uuidstatusstringAllowed: draft, active, paused.
Returns data.items, a page of records, and data.next_cursor for the next page (null on the last page).
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/automations" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/automations`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/automations",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]IDs and values are illustrative.
/facilities/{facility_id}/automations/{id}automations:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
idstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
No query parameters.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/automations/$RECORD_ID" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/automations/${recordId}`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/automations/{record_id}",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]IDs and values are illustrative.
Read a facility’s invoice schedule, late fees and reminder plan.
/facilities/{facility_id}/billing-automationautomations:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
No query parameters.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/billing-automation" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/billing-automation`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/billing-automation",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]IDs and values are illustrative.
Read team members and facility assignments, change a member’s workspace role, or remove a member. Requires a current administrator; AI agent keys need operator confirmation.
/staffstaff:readNo query parameters.
Returns data.items, a page of records, and data.next_cursor for the next page (null on the last page).
curl --fail-with-body "https://api.axralstorage.com/v1/staff" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/staff`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/staff",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]IDs and values are illustrative.
/staff/{id}staff:writeidstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
rolestringRequiredAllowed: full_access, admin, staff.
access_role_idstring · uuid or nullAccepts null to clear this value.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/staff/$RECORD_ID" \
-X PATCH \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"role": "full_access"
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/staff/${recordId}`, {
method: 'PATCH',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"role": "full_access"
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.patch(
f"https://api.axralstorage.com/v1/staff/{record_id}",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"role": "full_access",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
/staff/{id}/removestaff:writeidstring · uuidRequiredThe record this route acts on. It must belong to the selected facility.
Send an empty JSON object: {}.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/staff/$RECORD_ID/remove" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/staff/${recordId}/remove`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.post(
f"https://api.axralstorage.com/v1/staff/{record_id}/remove",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.
Read the activity log for a facility, newest first, including steps taken by API keys and AI agents.
/facilities/{facility_id}/auditaudit:readfacility_idstring · uuidRequiredThe selected location. It must be granted to your key.
limitintegerMinimum: 1. Maximum: 100.
cursorstringUp to 100 characters.
Returns data.items, a page of records, and data.next_cursor for the next page (null on the last page).
curl --fail-with-body "https://api.axralstorage.com/v1/facilities/$FACILITY_ID/audit" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/facilities/${facilityId}/audit`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/facilities/{facility_id}/audit",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]IDs and values are illustrative.
Describe the key in use: workspace, facilities, scopes, and the operations that need confirmation or are blocked for AI agents.
/credential*No query parameters.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/credential" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/credential`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/credential",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]IDs and values are illustrative.
Prepare a sensitive action for an AI agent key. Returns a plain-language summary and a single-use token, valid for 15 minutes, bound to the exact parameters. Send the token as X-Confirmation-Token with the unchanged request.
/confirmations*operationstringRequiredAllowed: invoices.create, invoices.credit, invoices.deliver, invoices.write-off, leases.checkout, leases.transfer, leases.override-handoff, move-outs.create, move-outs.update, move-outs.cancel, move-outs.inspect, move-outs.settle, move-outs.complete, reservations.cancel, tenants.archive, facilities.update, account.update, units.import, imports.rentals, imports.undo, rate-changes.create, rate-changes.cancel, messages.send-email, messages.send-text, staff.update, staff.remove.
paramsobjectRequiredReturns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/confirmations" \
-X POST \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"operation": "messages.send-email",
"params": {
"facility_id": "00000000-0000-4000-8000-000000000001",
"request_id": "00000000-0000-4000-8000-000000000003",
"tenant_ids": [
"00000000-0000-4000-8000-000000000002"
],
"subject": "Office hours this weekend",
"body": "Our office closes at noon on Saturday."
}
}'const response = await fetch(`https://api.axralstorage.com/v1/confirmations`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"operation": "messages.send-email",
"params": {
"facility_id": "00000000-0000-4000-8000-000000000001",
"request_id": "00000000-0000-4000-8000-000000000003",
"tenant_ids": [
"00000000-0000-4000-8000-000000000002"
],
"subject": "Office hours this weekend",
"body": "Our office closes at noon on Saturday."
}
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.post(
f"https://api.axralstorage.com/v1/confirmations",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
json={
"operation": "messages.send-email",
"params": {
"facility_id": "00000000-0000-4000-8000-000000000001",
"request_id": "00000000-0000-4000-8000-000000000003",
"tenant_ids": [
"00000000-0000-4000-8000-000000000002",
],
"subject": "Office hours this weekend",
"body": "Our office closes at noon on Saturday.",
},
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]IDs and values are illustrative.
Read workspace identity and plan, or update the workspace name as an administrator. Subscription and plan changes are excluded.
/accountaccount:readNo query parameters.
Returns the record in data.
idstring · uuidnamestring or nullslugstring or nullplanstring or nullcurl --fail-with-body "https://api.axralstorage.com/v1/account" \
-H "Authorization: Bearer $STORAGE_API_KEY"const response = await fetch(`https://api.axralstorage.com/v1/account`, {
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
},
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os
import requests
response = requests.get(
f"https://api.axralstorage.com/v1/account",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]{
"data": {
"id": "00000000-0000-4000-8000-000000000001",
"name": "Example Storage",
"slug": "example-storage",
"plan": "growth"
},
"meta": {
"request_id": "7d1c5f8e-2b4a-4c3d-9e6f-0a1b2c3d4e5f",
"replayed": false
}
}IDs and values are illustrative.
/accountsettings:writenamestringRequiredAt least 1 characters. Up to 160 characters.
Returns the result of the existing workflow in data. Read the related rental, invoice or payment afterwards for its current state.
curl --fail-with-body "https://api.axralstorage.com/v1/account" \
-X PATCH \
-H "Authorization: Bearer $STORAGE_API_KEY" \
-H "Idempotency-Key: $REQUEST_KEY" \
-H "Content-Type: application/json" \
--data '{
"name": "Example"
}'// Generate once per new action; reuse it when retrying.
const requestKey = crypto.randomUUID()
const response = await fetch(`https://api.axralstorage.com/v1/account`, {
method: 'PATCH',
headers: {
Authorization: `Bearer ${process.env.STORAGE_API_KEY}`,
'Idempotency-Key': requestKey,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"name": "Example"
}),
})
const { data, error } = await response.json()
if (!response.ok) throw new Error(error.message)import os, uuid
import requests
# Generate once per new action; reuse it when retrying.
request_key = str(uuid.uuid4())
response = requests.patch(
f"https://api.axralstorage.com/v1/account",
headers={
"Authorization": f"Bearer {os.environ['STORAGE_API_KEY']}",
"Idempotency-Key": request_key,
},
json={
"name": "Example",
},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]Set REQUEST_KEY once per new action and keep it for retries. IDs and values are illustrative.