Create a new call with recording, transcript, agents, and customers
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Call creation payload. Supports singular (agent/customer) or plural (agents/customers) formats.
URL of source recording (must be an accessible WAV, MP3, or MP4 file). Can be a signed URL.
When the call started (ISO 8601 format)
Interface type of the call (PHONE or WEB)
PHONE, WEB Direction of the call (INBOUND or OUTBOUND)
INBOUND, OUTBOUND URL of source stereo recording. Must be accessible. Can be a signed URL. Supported formats: WAV, MP3, MP4.
High-level call end status, indicating how the call terminated
PARTICIPANTS_DID_NOT_SPEAK, AGENT_DID_NOT_ANSWER, AGENT_DID_NOT_SPEAK, AGENT_STOPPED_SPEAKING, AGENT_ENDED_CALL, AGENT_TRANSFERRED_CALL, AGENT_BUSY, AGENT_ERROR, CUSTOMER_ENDED_CALL, VOICE_MAIL_REACHED, SILENCE_TIME_OUT, PHONE_CALL_PROVIDER_CONNECTION_ERROR, CUSTOMER_DID_NOT_ANSWER, CUSTOMER_DID_NOT_SPEAK, CUSTOMER_STOPPED_SPEAKING, CUSTOMER_BUSY, DIAL_ERROR, MAX_DURATION_REACHED, UNKNOWN List of transcript entries made during the call
List of tool invocations made during the call
Custom properties to include with the call. These can be used for filtering and will show in the call details page
Single agent participating in the call. Use this for simpler API when you have only one agent.
Agents participating in the call. Each agent requires identification and prompt information.
Agent participating in the call with their endpoint and prompt
Single customer participating in the call. Use this for simpler API when you have only one customer.
Customers participating in the call.
Call created successfully
Response after creating a call