Webhook architecture
The implemented webhook is an inbound Meta callback into Anant8 at /webhooks/meta (also /api/webhooks/whatsapp). It is not a customer-configurable callback and Anant8 does not currently deliver webhook events to developer URLs. Configure the Meta app subscription as part of the Anant8 WhatsApp Business connection; do not register your application URL as Anant8's Meta callback.
Meta verification and security
Meta verifies the endpoint with GET and hub.mode=subscribe, hub.verify_token, hub.challenge query parameters. Anant8 compares the configured verification token in constant time and returns the challenge as text/plain. POST callbacks require X-Hub-Signature-256 in sha256=<hex> form, validated as HMAC-SHA256 over the raw request body using the configured Meta app secret. Invalid signatures return HTTP 401; the maximum request body is 1 MiB. Missing server secrets produce HTTP 503. HTTPS is enforced in production hosting.
Events processed
For the subscribed messages field, Anant8 processes inbound WhatsApp messages and status updates. Statuses include sent, delivered, read, and failed. Inbound event payloads retain Meta message types and their additional data; text bodies are mapped to message history and other payload data is preserved. The documented customer API exposes these results through message history, not through a developer webhook push.
Meta payload shape
This illustrates the Meta-to-Anant8 format accepted by the endpoint. It is not an outbound event contract for your application.
{
"object": "whatsapp_business_account",
"entry": [{
"id": "<WABA_ID>",
"changes": [{
"field": "messages",
"value": {
"messaging_product": "whatsapp",
"metadata": {
"display_phone_number": "+14155550100",
"phone_number_id": "<PHONE_NUMBER_ID>"
},
"messages": [{
"from": "14155550123",
"id": "wamid.example",
"timestamp": "1794000000",
"type": "text",
"text": { "body": "Hello" }
}],
"statuses": []
}
}]
}]
}Acknowledgement and processing
A valid payload is accepted into Anant8's durable webhook inbox and acknowledged with HTTP 200. Invalid JSON returns HTTP 400. Processing is asynchronous and durable; Anant8 deduplicates inbox events and status events internally. The customer API does not expose webhook delivery or retry settings for developer destinations. Do not treat this endpoint as a request your integration should send to Anant8; delivery statuses are queried from message history.
If your integration needs push events
A customer-facing webhook destination, per-customer signing secret, outbound retry policy, and event subscription API are not currently implemented. Use message-history polling for delivery updates. Contact Anant8 if your integration requires push delivery.
Need help with an integration? Contact Anant8