Webhooks

Webhook endpoints for receiving events

Get Multi-Webhook Configuration

get

Retrieves all configured additional webhooks including their names, URLs, and custom headers.

Authorizations
D360-API-KEYstringRequired

API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.

Responses
chevron-right
200

Multi-webhook configuration retrieved successfully

application/json

Response containing the multi-webhook enabled state and all configured destinations

enabledbooleanOptionalExample: true
get
/multi_webhook

Enable/Disable Multi-Webhook

post

Enable or disable the multi-webhook feature. When enabling, you can optionally provide initial destinations. If already enabled, use PUT to add more destinations. Destination names must be unique.

Authorizations
D360-API-KEYstringRequired

API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.

Body
objectOptional
or
Responses
chevron-right
200

Operation started successfully

application/json
messagestringOptional
post
/multi_webhook

Append Webhook Destinations

put

Append additional destinations to the existing multi-webhook configuration. Multi-webhook must be enabled first via POST. Destination names must be unique and not conflict with existing ones. Total destinations cannot exceed the configured maximum.

Authorizations
D360-API-KEYstringRequired

API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.

Body
objectOptional
or
Responses
chevron-right
200

Operation started successfully

application/json
messagestringOptional
put
/multi_webhook

Update a Webhook Destination

patch

Updates specific properties (url, headers) of an existing webhook destination identified by name. Multi-webhook must be enabled first via POST.

Authorizations
D360-API-KEYstringRequired

API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.

Body
objectOptional
or
Responses
chevron-right
200

Operation started successfully

application/json
messagestringOptional
patch
/multi_webhook

Delete a Webhook Destination

delete

Deletes a specific webhook destination from the multi-webhook configuration by its name. Multi-webhook must be enabled first via POST.

Authorizations
D360-API-KEYstringRequired

API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.

Path parameters
dest_namestringRequired

Name of the webhook destination to delete

Responses
chevron-right
200

Destination deleted successfully

application/json
messagestringOptional
delete
/multi_webhook/{dest_name}

Get Customer Webhook Configuration

get

Retrieve customer webhook configuration. More info on webhook configuration can be found in our documentation: https://docs.360dialog.com/docs/waba-messaging/webhook#get-webhook-url.

Authorizations
D360-API-KEYstringRequired

API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.

Responses
chevron-right
200

Webhook configuration retrieved successfully

application/json
urlstringOptionalExample: https://example.com/webhook
get
/v1/configs/webhook

Set Customer Webhook Configuration

post

Configure customer webhook settings. More info on webhook configuration can be found in our documentation: https://docs.360dialog.com/docs/waba-messaging/webhook#via-api.

Authorizations
D360-API-KEYstringRequired

API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.

Body
objectOptional
or
Responses
chevron-right
200

Webhook configuration updated successfully

application/json
urlstringOptionalExample: https://example.com/webhook
post
/v1/configs/webhook

Get WABA Webhook Configuration

get

Retrieve the current WABA-level webhook configuration including the URL, custom headers, WABA ID, and phone numbers associated with this WABA.

Authorizations
D360-API-KEYstringRequired

API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.

Responses
chevron-right
200

WABA webhook configuration retrieved successfully

application/json

Current WABA-level webhook configuration including the URL, headers, WABA ID, and associated phone numbers

numbers_on_this_wabastring[]Optional
urlstringOptionalExample: https://example.com/webhook
waba_idintegerOptionalExample: 123065260884961
get
/waba_webhook

Set WABA Webhook Configuration

post

Configure WABA-level webhook URL and optional headers. When override_all is false, configures the webhook only for Cloud API numbers missing a phone-number-level webhook. When true, the webhook applies across all Cloud API numbers within the WABA. The webhook will be set within 15-20 seconds.

Authorizations
D360-API-KEYstringRequired

API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.

Body
objectOptional
or
Responses
chevron-right
200

Webhook configuration initiated successfully. Change will be applied within 15-20 seconds.

application/json

Response after initiating WABA webhook configuration. The webhook will be set within 15-20 seconds.

messagestringOptionalExample: Webhook will be set for waba_id: 123065260884961
post
/waba_webhook

Last updated

Was this helpful?