Update a webhook’s configuration
App API key (format: sk_live_app_* or sk_test_app_*) for app-level operations
Unique identifier for a Webhook. Format: whk_[test_]{ksuid}
"whk_2DbBs7GWhGvVNJGrDXr5RG0mBWI"
URL to send webhook events to
"https://example.com/webhook"
Events to trigger webhook. Use messages.sms.* for SMS/MMS events, or messages.whatsapp.* for WhatsApp events.
messages.sms.received, messages.sms.sent, messages.sms.delivered, messages.sms.failed, messages.whatsapp.received, messages.whatsapp.sent, messages.whatsapp.delivered, messages.whatsapp.read, messages.whatsapp.failed, templates.whatsapp.created, templates.whatsapp.updated, templates.whatsapp.deleted, templates.whatsapp.connected, contacts.whatsapp.created, contacts.whatsapp.updated, contacts.whatsapp.deleted, whatsapp.account.connected, whatsapp.account.disconnected [
"messages.sms.sent",
"messages.whatsapp.sent"
]Custom headers to include in webhook requests
{ "X-Custom-Header": "new-value" }Update webhook
Unique identifier for a Webhook. Format: whk_[test_]{ksuid}
"whk_2DbBs7GWhGvVNJGrDXr5RG0mBWI"
Unique identifier for a App. Format: app_[test_]{ksuid}
"app_2DbBs7GWhGvVNJGrDXr5RG0mBWI"
URL to send webhook events to
"https://example.com/webhook"
Events that trigger this webhook
[
"messages.sms.received",
"messages.whatsapp.sent"
]Custom headers included in webhook requests
{ "X-Custom-Header": "value" }When the webhook was created
"2021-08-01T00:00:00Z"
When the webhook was last updated
"2021-08-01T00:00:00Z"