Webhooks

Subscribe to real-time events to get notified about call statuses, message deliveries, and incoming communications.

Event Types

  • call.completed - Triggered when a voice call finishes.
  • message.delivered - Triggered when an SMS or WhatsApp message is delivered.
  • call.missed - Triggered when a missed call is detected (for Missed Call Service).

Payload Format

All webhook events are sent as HTTP POST requests with a JSON payload.

json
{
  "event": "call.completed",
  "data": {
    "id": "ca_123456789",
    "from": "+919876543210",
    "duration": 45,
    "status": "completed",
    "timestamp": "2023-10-27T10:10:00Z"
  }
}

Security

Verify the webhook signature using the X-D-Caller-Signature header to ensure the request originated from us.