v1
latestOpenAPI 3.0.02026-07-2491237338.9 KBWebhook Endpoints
Update a webhook endpoint
Updates a webhook endpoint, such as url, events, status.
patch/webhookEndpoints/{id}
Path parameters
idstring required
Example:wh627c8640675de8fc689ab9d9
ID of the webhook endpoint.
Request body
Example request
{
"url": "https://httpbin.org/anything?tag=api",
"eventProperties": [
{
"event": "contact.attributes_changed",
"properties": [
"attr1",
"attr2"
]
}
],
"description": "My first webhook endpoint."
}Response
Successfully updated the webhook endpoint.
Example response
{
"id": "wh627c8640675de8fc689ab9d9",
"url": "https://httpbin.org/anything?tag=api",
"enabledEvents": [
"whatsapp.message.updated",
"whatsapp.inbound_message.received"
],
"eventProperties": [
{
"event": "contact.attributes_changed",
"properties": [
"attr1",
"attr2"
]
}
],
"description": "My first webhook endpoint.",
"secret": "whsec_abc4147651944f02baf3be1eb45d33f1",
"createTime": "2022-06-01T12:00:00.000Z",
"updateTime": "2022-06-01T12:00:00.000Z"
}