Place a call
Place a single outbound call. The call is dialed immediately.
The whole request is validated before the call is placed - on a 400
no call is made.
Autorisierungen
Scoped API token. Required scopes are listed on each operation in x-required-scopes.
Body
Number to call, in E.164 format (+ followed by digits only).
^\+\d+$"+491761234567"
Your agent's phone number (a leading + is optional). If your account connects its own SIP trunk, pass the agent's SIP ID (a value starting with t) instead and set caller_number.
"+4921186942846"
Caller ID shown to the recipient, in E.164 format. Required when agent_number is a SIP ID; the number must be registered on your account. Ignored for agents with a purchased number.
^\+\d+$"+4921154229976"
Deprecated alias of variables. Send one of the two, not both.
Your own values, carried through the call and returned with its results. external_call_id is
echoed back at the top level of the placement response so you can correlate it with your own
records.
Up to 25 keys; strings, numbers and booleans are accepted (null values are dropped), strings up
to 500 characters. The same reserved-key rules as prompt_variables apply. Not supported on bulk
requests.
Values for the {{placeholders}} in the agent's prompt. Send either variables or prompt_variables, not both.
Antwort
Call placed.
Always true.
true
The public identifier of this call. Use it to find the conversation in GET /api/v1/conversations.
"outb_Ux7yQm2ZK9vLd0Rb1cAeTg"
Identifier of the underlying call record (the id shown in batch detail). The call is already dialed when you receive this response, so it cannot be canceled.
48213
Batch this call belongs to (every call gets one, single calls
included). Look the call up with
GET /api/v1/outbound/batches/{batch_id}.
Reference for this call. Quote it when contacting support.
Telephony-level call identifier. Format depends on the carrier behind your agent.
Placement status at the moment of the response.
"initiated"
The number that was called.
"+491761234567"
The agent's number in E.164, or its SIP ID.
"+4921186942846"
Echoed back unchanged when you send
metadata.external_call_id. Omitted otherwise.
"crm-8842"