For the complete documentation index, see llms.txt. This page is also available as Markdown.

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": "919984351847@s.whatsapp.net",
      "chat_id": "919984351847@s.whatsapp.net",
      "status": "initiated",
      "timestamp": 1713792453000,
      "group_call": false,
      "video_call": false,
      "offline_call": false
    }
  ],
  "event": {
    "type": "calls",
    "event": "post"
  },
  "channel_id": "MANTIS-M72HC"
}

answered the call:

video call:

Can I find out call duration via webhooks?

No β€” this is not currently possible. WhatsApp does not send a call-end event, so there is no way to determine when a call finished or how long it lasted.

The calls webhook (calls.post) only fires for these status changes: initiated, ringing, missed, and answered. A termination event does not exist in the WhatsApp API, and therefore call duration cannot be calculated.

Last updated