Configure webhook events for a channel
POST/v1/communication/channel/:applicationChannelId/webhook/:webhookId/configure
Sets which event types a webhook receives for a specific application channel. Sending an empty events array removes the configuration (unsubscribes the webhook from that channel). This is the standard API-key route for a pending or completed Sandbox application channel. The webhook and channel must belong to the exact application authenticated by the API key. For WhatsApp Coexistence contact/history import, subscribe one active channel webhook to message and message_echoes before starting in the dashboard. WhatsApp also supports exact subscriptions to partner_app_uninstalled and account_disconnected; these events are delivered before the matching channel is removed. Deduplicate retries with providerEventId or X-Hub-Delivery-Id.
Request
Responses
- 200
- 400
- 401
- 404
Webhook channel configuration saved.
Invalid payload (events validation failed).
Missing, invalid, expired, or deleted application API key.
Application channel or webhook not found or does not match the API key.