Event is triggered for an incoming voice or video call.
Webhook Event: call
This event is triggered whenever an incoming voice or video call is received by the session.
The payload contains the full call object, which includes a unique call ID (required for rejecting the call), the caller's JID, and other call metadata like whether it is a video call.
This event is particularly useful for building features like automatic call rejection or logging all incoming call attempts.
Code Examples
{
"event": "call",
"timestamp": 1633456829,
"data": {
"call": {
"id": "3EB025832E521B2F7E11",
"from": "[email protected]",
"date": "2025-09-22T21:34:00.000Z",
"isGroup": false,
"isVideo": true,
"status": "offer"
}
}
}