Calls
You can find more details about all parameters and their types in the WebHook documentation.
The calls array contains all calls that were sent to the webhook URL. Sent on event "calls.post
". We mentioned more about the events here:Mode setting
{
"calls": [
{
"id": "ED3D9B4864F90327F10D24BAEED6CFB9",
"from": "[email protected]",
"chat_id": "[email protected]",
"status": "initiated",
"timestamp": 1713792453000,
"group_call": false,
"video_call": false,
"offline_call": false
}
],
"event": {
"type": "calls",
"event": "post"
},
"channel_id": "MANTIS-M72HC"
}
{
"calls": [
{
"id": "ED3D9B4864F90327F10D24BAEED6CFB9",
"from": "[email protected]",
"chat_id": "[email protected]",
"status": "ringing",
"timestamp": 1713792454000,
"group_call": false,
"video_call": false,
"offline_call": false
}
],
"event": {
"type": "calls",
"event": "post"
},
"channel_id": "MANTIS-M72HC"
}
{
"calls": [
{
"id": "ED3D9B4864F90327F10D24BAEED6CFB9",
"from": "[email protected]",
"chat_id": "[email protected]",
"status": "missed",
"timestamp": 1713792461000,
"group_call": false,
"video_call": false,
"offline_call": false
}
],
"event": {
"type": "calls",
"event": "post"
},
"channel_id": "MANTIS-M72HC"
}
answered the call:
{
"calls": [
{
"id": "9A8D1BC9430628934B085167CC0AF026",
"from": "[email protected]",
"chat_id": "[email protected]",
"status": "answered",
"timestamp": 1713792568000,
"group_call": false,
"video_call": false,
"offline_call": false
}
],
"event": {
"type": "calls",
"event": "post"
},
"channel_id": "MANTIS-M72HC"
}
video call:
{
"calls": [
{
"id": "5FC111DE89BCE0BD3401A2718382B314",
"from": "[email protected]",
"chat_id": "[email protected]",
"status": "ringing",
"timestamp": 1713792526000,
"group_call": false,
"video_call": true,
"offline_call": false
}
],
"event": {
"type": "calls",
"event": "post"
},
"channel_id": "MANTIS-M72HC"
}
Last updated
Was this helpful?