Phone availability summary
Changed onReturns a capacity snapshot to check before POST /phones:allocate: shared-pool availability broken down by phone type and by location, plus the caller org's dedicated phones with how many are idle (claimable right now). Optional phone_type and location filters narrow every count. Advisory only - availability can change between this read and an allocate, so allocation remains the authority and can still refuse.
Request
- Base URLhttps://api.axilio.ai/api/v1
- AuthAPI key in header X-Axilio-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Only count phones of this platform.
Only count phones at this location slug.
Response
OK
Changes
- warning
added the new
androidenum value to the///response property for the response status - warning
added the new
androidenum value to the///response property for the response status - warning
added the new
iphoneenum value to the///response property for the response status - warning
added the new
iphoneenum value to the///response property for the response status - warning
added the new
unknownenum value to the///response property for the response status - warning
added the new
unknownenum value to the///response property for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- warning
- info
endpoint added
- info