1. Webhooks
Wazapi
  • Raiz
    • Channels
      • List WhatsApp channels
    • Contacts
      • List contacts
      • Get a contact
      • Update a contact
      • Create or update a contact by external ID
    • Flows
      • List flows
      • Get a flow
      • Start a flow execution
    • Templates
      • List WhatsApp templates
      • Get a WhatsApp template by name
    • Messages
      • Send a WhatsApp message
      • List messages in a conversation
    • Operations
      • Get an asynchronous operation
    • Conversations
      • List conversations
      • Get a conversation
    • Webhooks
      • Receive an event from Wazapi
  • Esquemas
    • PaginationMeta
    • Channel
    • Contact
    • Flow
    • Template
    • Conversation
    • Message
    • Operation
    • WebhookEventType
    • WebhookEvent
    • Recipient
    • ContactWrite
    • MessageRequest
    • Error
  1. Webhooks

Receive an event from Wazapi

Webhook
POST
wazapiEvent
Wazapi signs the exact request body with HMAC-SHA256. Compute the digest over {Wazapi-Timestamp}.{rawBody} using the integration webhook secret and compare it with the v1 value in Wazapi-Signature. Delivery is at-least-once; deduplicate using Wazapi-Event-Id.

Requisição

Authorization
Bearer Token
Forneça seu token bearer no cabeçalho
Authorization
ao fazer requisições para recursos protegidos.
Exemplo:
Authorization: Bearer ********************
or
Parâmetros Header

Parâmetros Bodyapplication/jsonNecessário

Examples

Respostas

🟢200
Event accepted
Esta resposta não possui corpo.
🟠400
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://your-api-server.com' \
--header 'Wazapi-Event-Id;' \
--header 'Wazapi-Event;' \
--header 'Wazapi-Delivery-Id;' \
--header 'Wazapi-Timestamp;' \
--header 'Wazapi-Signature;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "type": "message.received",
    "api_version": "v1",
    "occurred_at": "2019-08-24T14:15:22.123Z",
    "data": {
        "property1": "string",
        "property2": "string"
    }
}'
Modificado em 2026-08-26 00:52:01
Página anterior
Get a conversation
Próxima página
PaginationMeta
Built with