WebhookEndpointCreated
idstring
namestring
urlstring<uri>
eventsstring[]
An empty list means "every event".
wabaIdstringnullable
phoneNumberIdstringnullable
activeboolean
failureCountinteger
Consecutive failures. At 50, the endpoint is disabled.
disabledAtstring<date-time>nullable
lastSuccessAtstring<date-time>nullable
createdAtstring<date-time>
updatedAtstring<date-time>
secretstring
Signing secret. It can also be read later through
GET /webhook-endpoints/{id}/secret.
Example:
whsec_AbCdEf0123456789abcdefghWebhookEndpointCreated
{
"id": "string",
"name": "string",
"url": "string",
"events": [
"string"
],
"wabaId": "string",
"phoneNumberId": "string",
"active": true,
"failureCount": 0,
"disabledAt": "2024-07-29T15:51:28.071Z",
"lastSuccessAt": "2024-07-29T15:51:28.071Z",
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z",
"secret": "whsec_AbCdEf0123456789abcdefgh"
}