Telephony
Start an outbound agent call
Start an outbound call from one of your active managed numbers into an Omni agent. A valid Idempotency-Key is mandatory. PyAI never retries an ambiguous dispatch and never changes routes after answer; only a confirmed retryable pre-answer result may advance an approved route plan. Limited availability: returns 404 until outbound telephony is enabled for the deployment. Requires telephony:manage.
post/v1/telephony/calls
Request
- Base URL: https://api.pyai.com
- URL: https://api.pyai.com/v1/telephony/calls
- Auth: one of:
- HTTP bearer
- API key in header x-api-key
Headers
Idempotency-Keystring required
Required safe-retry key. Identical retries return the original call; a different body returns 409.
Request body
Example request
{
"to": "+14155550123"
}Response
Call accepted
Example response
{
"object": "telephony.call",
"id": "tcall_...",
"to": "+14155550123",
"artifacts": {
"usage": {
"meter": "telephony.minutes"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.