Skip to main content

whatsapp_call

idinteger
call_idstring

The provider's id for the call

providerstring
statusstring

Where the call stands, as the interface shows it

directionstring

incoming or outgoing

conversation_idinteger
inbox_idinteger
message_idinteger

The message the call appears as in the conversation

accepted_by_agent_idinteger
elapsed_secondsinteger

Seconds since the call started. Zero while it is still ringing.

sdp_offerstring

The WebRTC offer, for the browser client to answer

ice_serversobject[]

ICE servers for the browser client

caller object

The contact on the other end. Empty when the call has no contact.

namestring
phonestring
avatarstring
whatsapp_call
{
"id": 0,
"call_id": "string",
"provider": "string",
"status": "string",
"direction": "string",
"conversation_id": 0,
"inbox_id": 0,
"message_id": 0,
"accepted_by_agent_id": 0,
"elapsed_seconds": 0,
"sdp_offer": "string",
"ice_servers": [
{}
],
"caller": {
"name": "string",
"phone": "string",
"avatar": "string"
}
}