Trigger a Call
Dial a phone number and connect it to an agent immediately.
When to use this
Use this when you need to make a single, immediate call, for example when triggering a follow-up after a form submission, sending a verification call, or making a click-to-call request from your CRM.Destination validation
to_phone_number must be a valid international phone number. For non-SIP routes, the destination country and prefix must also be enabled in Workspace Settings > Telephony Config before the call is created.
Invalid phone number formats return 400 Bad Request. Unsupported countries, unsupported prefixes, and workspaces with no enabled destination countries return 403 Forbidden.
Dynamic variables
Pass ametadata object to inject context into the agent’s prompt at call time. Reference these values in the prompt using {{variable_name}}:
Response
Returns the call record with acall_id you can use to poll for status or fetch the transcript once the call completes.
Request
Response
Authorizations
Pass your API key as a Bearer token in the Authorization header.
Body
ID of the agent to use for this call.
"agt_abc123"
The number to dial, in E.164 format. Non-SIP routes must also pass workspace destination country and prefix validation.
"+919876543210"
The caller ID to display. Must be a number purchased in your account.
"+912234567890"
Pin the call to a specific agent version. Defaults to the latest published version.
3
Key-value pairs injected as dynamic variables into the agent prompt at call time.
{
"customer_name": "Priya Sharma",
"account_id": "ACC-9912"
}Response
Call initiated.
"call_abc123"
"+919876543210"
"agt_abc123"
1
created, initiated, sent, received, completed, did_not_pick, busy, no_answer, failed, cancelled, retry_expired "initiated"
"2024-03-01T10:00:00.000Z"