Skip to main content
PUT
Update the WhatsApp webhook settings of a channel

Yetkilendirmeler

Authorization
string
header
gerekli

The access token received from the authorization server in the OAuth 2.0 flow.

Başlıklar

X-Tenant
number
gerekli

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Yol Parametreleri

id
integer
gerekli

The channel identifier

Gövde

application/json
url
string<uri>
gerekli

The webhook URL. The /webhook/whatsapp suffix is appended when missing.

Maximum string length: 2048
enabled
boolean
gerekli

Whether the provider delivers events to the webhook.

events
string[]
gerekli

The provider event names the webhook subscribes to.

A provider event name, such as MESSAGES_UPSERT.

Maximum string length: 64

Yanıt

success
boolean
gerekli
data
object
gerekli