Queue one compliant live/BYO mobile AI call
const url = 'https://api.vocapable.com/v1/mobile/receptionist/call-ai';const options = { method: 'POST', headers: { 'Idempotency-Key': 'example', Authorization: 'Bearer <token>', 'Content-Type': 'application/json' }, body: '{"agent_id":"example","contact_id":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.vocapable.com/v1/mobile/receptionist/call-ai \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'Idempotency-Key: example' \ --data '{ "agent_id": "example", "contact_id": "example" }'Launch exactly one resource-bound call through the shared production pipeline.
The native admission dependency enforces rate limits, current production agreements,
and a membership/device idempotency key before this handler runs. mock=False is
intentional: mobile Call AI has no test or managed-carrier branch, and the shared core
refuses anything except the tenant’s verified default BYO route.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”Unique key for this mobile Call AI request, so a retry replays the original result instead of placing another call. Stored for 24 hours; a replay carries Idempotent-Replay: true. Required on this endpoint.
Request Bodyrequired
Section titled “Request Bodyrequired”A deliberately narrow native request for one compliant outbound AI call.
The app chooses both durable resources from the companion read models. It cannot provide an E.164 destination, caller-ID override, carrier account, telephony mode, or a list of contacts, so this endpoint cannot become an alternate bulk dialer.
object
Examplegenerated
{ "agent_id": "example", "contact_id": "example"}Responses
Section titled “Responses”Successful Response
The queued result of one native Call AI request.
Mobile launch is always routed through the tenant’s verified BYO carrier plane. The generic call contract also permits the test-only mock transport, so it must not be used as this endpoint’s response model or a native client could be told an impossible transport state.
object
Example
{ "telephony": "byo"}Validation Error
object
object
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}