Vaaniq
Integrations & API

How to Receive WhatsApp Events Using Webhooks

Register your own endpoint to receive real-time, signed events whenever a message is sent, delivered, read, or a campaign finishes.

Advanced 5 min read

Tutorial video coming soon

What You'll Learn

In this tutorial you'll learn:

  • Register an outbound webhook and choose events
  • Verify the signature on an incoming payload

Prerequisites

Before you start:

  • An HTTPS endpoint on your own system able to receive a POST request

Step-by-Step Guide

1

Add an integration

Dashboard → Settings → Developer → Integrations → Add Integration

Enter your HTTPS endpoint URL and a signing secret you'll use to verify incoming payloads.

Developer page Integrations tab with an Add Webhook button and signing notes
Settings → Developer → Integrations.
2

Choose which events to receive

Available events are: message.sent, message.delivered, message.read, message.failed, message.received, campaign.completed, campaign.failed, contact.opted_out, and form.submitted (a customer completed a WhatsApp Form).

Add Webhook dialog with name, endpoint URL, signing secret and selected events
Enter the endpoint and choose events.
3

Verify the signature

Every payload includes an X-Vaaniq-Signature header, an HMAC-SHA256 signature built from your signing secret — verify it on your end before trusting the payload.

4

Test it

Use Send Test Ping to push a one-off test event to your endpoint and confirm it's wired up correctly.

Tip

Your endpoint should respond quickly with a 200 status. If it doesn't, Vaaniq retries automatically with increasing delays (30 seconds, 5 minutes, 30 minutes, then 2 hours) up to 4 attempts.

Tip

This is also the way to connect Vaaniq's events into a CRM — point the webhook at your CRM's own inbound integration or a tool like Zapier/Make/n8n, since there's no dedicated native CRM connector yet.

How to Receive WhatsApp Events Using Webhooks — Vaaniq Tutorials