List phone numbers
Returns the phone numbers in your workspace. Use a number’sid as the fromPhoneNumberId when placing a call.
Place an outbound call
Requires the Scale plan (write access).
dynamicVariables you pass are available to the agent as {{variables}} during the call — for example a lead’s name or the reason for the call.
The agent to call from.
The number to call, with country code (e.g.
+15551234567).The phone number to call from (an
id from List phone numbers). It must be assigned to this agent.Key–value pairs passed into the agent as
{{variables}}. Values may be strings, numbers, or booleans.Override the agent’s opening line for this call only.
202 is returned with the conversationId. You can fetch its transcript afterward from Get a conversation.