Create Phone Call
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
The phone number associated with the account from which the call will be made.
The phone number to call including the country code.
The agent id to use for the conversation. If null, the agent configuration will be used.
The agent configuration to use for the conversation. If null, the agent id will be used.
Response
The uri of the conversation.
The type of conversation.
inbound_phone_call
, outbound_phone_call
, web_call
The account id associated with of the conversation.
The status of the conversation.
started
, ended
, queued
The agent configuration used for the conversation.
The id of the conversation.
The start time of the conversation.
The end time of the conversation. Returns null if the conversation is has not ended.
The id of the agent used in the conversation. Returns null if the conversation did not use an existing agent.
The messages of the conversation.
The phone call details of the conversation. Returns null if the conversation was over web.
The reasons the conversation ended.
agent_ended
, user_ended
, unknown
The cost breakdown of the conversation.