Phones
Allocate a phone
Changed onAllocates an Android phone and opens a session you drive directly. Pass phone_id to pin a specific dedicated phone. If allocation setup fails the claim is rolled back, so you are never billed for a session that never starts.
post/phones:allocate
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.
Request body
Response
OK
Changes
- breaking
removed the required property
from the response with the status - warning
removed the request property
- info
added the required property
to the response with the status
- breaking
- info
the
request property default valuefalsewas added - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info