Create an outbound call
API Key is required in header. You can find it in the settings
The caller's phone number in E.164 format. Must be a number provisioned in or configured with SigmaMind.
^\+[1-9][0-9]{6,14}$"+14155552671"
The callee's phone number in E.164 format.
^\+[1-9][0-9]{6,14}$"+14155552671"
The unique identifier of the Agent assigned to handle the outbound call.
64"D5D0p7TUs66TTAEAx"
Dynamic key-value pairs for Agent personalisation (e.g. customer name, account details).
{ "customer_name": "Michael" }
OK
A unique identifier for any call, whether inbound, outbound, or web-based.
"call-AuUKK371Spr5nHJS"
Specifies the direction or type of the call.
inbound, outbound, web "inbound"
Status of the call
scheduled, in-progress, ended, not-connected, error "ended"
Timestamp indicating when the call began.
"2021-04-20T10:00:00.000Z"
Timestamp indicating when the call ended.
"2021-04-20T10:00:00.000Z"
Total duration of the call in seconds.
120
Reason for call termination
customer_ended_call, agent_ended_call, inactivity, voicemail, busy, no-answer, failed "inactivity"
The timestamp when the call record was created.
"2021-04-20T10:00:00.000Z"
The timestamp when the call record was last updated.
"2021-04-20T10:00:00.000Z"
A set of dynamic key-value pairs required by the selected Agent. These variables allow personalization of the call, such as passing the customer’s name or other contextual details.
{ "customer_name": "Michael" }
Recording URL of the call
"https://livekitmedia.blob.core.windows.net/recording-container-prod/room-ST_b88xWeWhaCVw-_+91XXXXXXXXXX_7d752295/recording.mp3"
Assigned agent for handling conversations
{
"name": "Demo Agent",
"agentId": "mJzLaPEo425lieb9",
"status": "Testing"
}