NewAiConva — transparent WhatsApp billing, no markups. See your cost →
WhatsApp marketing

WhatsApp Business API webhooks: a developer guide for India

How to receive WhatsApp webhooks, verify signatures, handle events idempotently, and integrate message status into your own systems.

2026-10-21 · 8 min read · By AiConva Team

Webhooks are how WhatsApp tells your system about message statuses (sent, delivered, read) and inbound events (a customer replied, a button was tapped). If you're integrating the AiConva API into your own app, understanding webhooks is essential. This guide covers the practical implementation.

Receiving events

Configure your endpoint URL in the AiConva Developer page. AiConva generates a signing secret for the endpoint — store it like a password. Each delivery is an HTTP POST with a JSON body, sent to your URL with an HMAC-SHA256 signature computed with your secret. Respond 200 quickly (under 5 seconds) and do heavy work asynchronously.

Signature verification

Before trusting any payload, verify the HMAC signature — it proves the event came from AiConva and wasn't altered in transit. Recompute the signature from the raw request body using your secret and compare it to the header value using a constant-time comparison (not a naive equality check, to avoid timing attacks). Reject mismatches with a 401.

Idempotency and retries

Webhooks can be delivered more than once — network blips cause AiConva to retry. Make your handler idempotent: use the event ID to deduplicate, so processing the same event twice has no side effect. Non-2xx responses trigger retries with backoff, so a flaky endpoint will receive retries until it succeeds.

Inbound Meta webhooks (self-hosted)

If you self-host, AiConva itself receives Meta's webhooks at /api/webhooks/meta (token challenge + signed payload verification). Point your Meta App's webhook there and set META_WEBHOOK_VERIFY_TOKEN and META_APP_SECRET in the environment. Read the API documentation guide for the full event reference.

Try it yourself

Create a free AiConva workspace and put these ideas into practice in minutes.

Start for free
Keep exploring

Read more articles

Browse all articles
WhatsApp marketing

WhatsApp marketing for small business in India: a practical 2026 guide

How Indian small businesses can start WhatsApp marketing the right way in 2026 — templates, opt-ins, costs, broadcast rules, and what actually gets results.

9 min read
WhatsApp marketing

How to build a WhatsApp contact list without ads (organic growth)

Practical, compliant ways to grow an opted-in WhatsApp audience organically — from in-store to website to packaging — without spending on ads.

7 min read
WhatsApp marketing

WhatsApp customer support: speed, structure, and the 24-hour window

Running customer support on WhatsApp well — shared inbox setup, response-time targets, the 24-hour rule, and keeping customers happy at scale.

7 min read
WhatsApp marketing

Free WhatsApp marketing tools for Indian small businesses (that actually work)

A round-up of genuinely free WhatsApp marketing tools and tactics for Indian SMBs — from AiConva's free tier and template library to opt-in builders, calculators, and compliance helpers.

8 min read
WhatsApp marketing

WhatsApp team inbox: shared agent inbox software for Indian support teams

How a shared WhatsApp team inbox works, what to look for, and why running support from one personal phone breaks at scale. A guide for Indian teams of 2+ agents.

7 min read
WhatsApp marketing

How to create a WhatsApp template that gets Meta approval (first try)

A practical walkthrough of writing and submitting a WhatsApp message template that passes Meta's review on the first attempt — with the rules, examples, and common rejections.

7 min read