Dial outbound (Twilio or SIP trunk)
Call a phone number with this agent. Provide number or destination (same meaning). Optionally use a SIP trunk, override the opening message or prompt, and pass variables in the request body.
Authorizations
Send your organization API key as Authorization: Bearer <key>.
Path Parameters
Agent id
Query Parameters
Phone number to call. Same as destination.
Phone number to call. Same as number.
SIP trunk to use for this call.
Caller ID to show the callee when using a SIP trunk.
Override the agent's first message for this call.
Override the agent's system prompt for this call.
Body
Optional. Pass variables for data the agent can use on this call.
Custom data for the agent on this call.
Response
Outbound call accepted.
Result of the dial request.
Whether the call was accepted.

