WebhookEndpointCreated
idstring
namestring
urlstring<uri>
eventsstring[]
Lista vazia significa "todos os eventos".
wabaIdstringnullable
phoneNumberIdstringnullable
activeboolean
failureCountinteger
Falhas consecutivas. Chegando a 50, o endpoint é desativado.
disabledAtstring<date-time>nullable
lastSuccessAtstring<date-time>nullable
createdAtstring<date-time>
updatedAtstring<date-time>
secretstring
Segredo de assinatura. Também pode ser consultado depois em
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"
}