Returns the current instance webhook configuration, including:
Response example:
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"enabled": true,
"url": "[https://example.com/webhook](https://example.com/webhook)",
"events": ["messages", "messages_update"],
"excludeMessages": ["wasSentByApi", "isGroupNo"],
"addUrlEvents": true,
"addUrlTypesMessages": true
},
{
"id": "987fcdeb-51k3-09j8-x543-864297539100",
"enabled": true,
"url": "[https://outro-endpoint.com/webhook](https://outro-endpoint.com/webhook)",
"events": ["connection", "presence"],
"excludeMessages": [],
"addUrlEvents": false,
"addUrlTypesMessages": false
}
]
The response is always an array, even when there is only one webhook configured.
Webhook configuration returned successfully
URL de destino dos eventos
Tipos de eventos monitorados
connection, history, messages, messages_update, call, contacts, presence, groups, labels, chats, chat_labels, blocks, leads ID único gerado automaticamente
ID da instância associada
Webhook ativo/inativo
Incluir na URLs o tipo de mensagem
Incluir na URL o nome do evento
Filtros para excluir tipos de mensagens
wasSentByApi, wasNotSentByApi, fromMeYes, fromMeNo, isGroupYes, IsGroupNo Data de criação (automática)
Data da última atualização (automática)