phones
Allocate a phone
Allocates a phone and opens a session. Omit workflow_id for an interactive lease (drive the phone directly); set it to allocate for a workflow. 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 body
Example request
{
"$schema": "/api/v1/PhoneAllocateRequest.json"
}Response
OK
Example response
{
"$schema": "/api/v1/PhoneAllocateResponse.json"
}