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 URL/api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header X-Axilio-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"$schema": "/api/v1/PhoneAllocateRequest.json"
}Response
OK
Example response
{
"$schema": "/api/v1/PhoneAllocateResponse.json"
}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