Places an outbound call. Without sipTrunkId, uses the agent’s assigned Twilio number and requires the agent to be active with a phone number. With sipTrunkId, dials via the assigned SIP outbound trunk (async); number or destination is then required. number and destination are aliases for the callee; send one or both with the same value.
Send your organization API key as Authorization: Bearer <key>.
Agent id
Callee to dial (alias of destination). Required for a successful dial unless you rely solely on destination. Must match destination if both are sent.
Callee to dial (alias of number). Required for a successful dial unless you rely solely on number. Must match number if both are sent.
UUID of a SIP trunk assigned to this agent. When set, outbound uses the SIP trunk path instead of Twilio.
When using sipTrunkId, optional SIP From user override; defaults to the agent id.
Call request accepted (Twilio) or SIP dial accepted asynchronously (trunk path).
Acknowledgement that an outbound call was requested (Twilio) or that a SIP trunk dial was accepted to run asynchronously.
True when the provider accepted the call request.