Documentation Index
Fetch the complete documentation index at: https://docs.vobiz.ai/llms.txt
Use this file to discover all available pages before exploring further.
Two separate webhook systems work together in a Vobiz WhatsApp integration.
| System | Direction | Purpose |
|---|
| Meta Webhooks | Meta → Vobiz | Message received, delivery status, read receipts. Vobiz registers these with Meta on your behalf. |
| Vobiz Subscriptions | Vobiz → Your server | Vobiz forwards normalized event payloads to your endpoint URL. |
These endpoints are called by Meta, not by your application. Use the examples below to test and simulate Meta’s behavior during development.
Verify webhook (challenge-response)
GET https://api.vobiz.ai/v1/webhooks/whatsapp
When you register a webhook in Meta Business Manager, Meta sends a GET request with a hub.challenge parameter. Vobiz responds with the challenge value to confirm ownership. No authentication required on this endpoint.
| Param | Description |
|---|
hub.mode | Always subscribe |
hub.verify_token | The token you set in Meta Business Manager |
hub.challenge | Random string Meta expects back in the response |
Simulate Meta's verification
curl -X GET \
"https://api.vobiz.ai/v1/webhooks/whatsapp?hub.mode=subscribe&hub.verify_token=whatsapp-verify-token&hub.challenge=test_challenge_123"
POST https://api.vobiz.ai/v1/webhooks/whatsapp
Meta sends this POST whenever an event occurs. Vobiz validates the X-Hub-Signature-256 header before processing.
Simulate a delivery status update
curl -X POST \
"https://api.vobiz.ai/v1/webhooks/whatsapp" \
-H "Content-Type: application/json" \
-H "X-Hub-Signature-256: sha256={webhook_signature}" \
-d '{"object":"whatsapp_business_account","entry":[{"id":"{waba_id}","changes":[{"value":{"messaging_product":"whatsapp","statuses":[{"id":"wamid.test","status":"delivered","timestamp":"1711111111","recipient_id":"919876543210"}]},"field":"messages"}]}]}'
Vobiz webhook subscriptions
Configure Vobiz to push event notifications to your server. Register your endpoint URL and a shared secret.
Authentication: X-Auth-ID, X-Auth-Token, Accept: application/json
Create webhook subscription
POST https://api.vobiz.ai/v1/messaging/webhooks
Register a new webhook endpoint. Vobiz sends a verification request to your URL immediately after creation to confirm it is reachable.
| Field | Required | Description |
|---|
url | Yes | HTTPS endpoint to receive events |
secret | Yes | Shared secret for HMAC-SHA256 signature verification |
curl -X POST \
"https://api.vobiz.ai/v1/messaging/webhooks" \
-H "X-Auth-ID: {auth_id}" \
-H "X-Auth-Token: {auth_token}" \
-H "Content-Type: application/json" \
-d '{"url":"https://your-server.com/webhooks/whatsapp","secret":"your-shared-secret"}'
{"id":"wh_sub_abc123","url":"https://your-server.com/webhooks/whatsapp","status":"active","created_at":"2026-03-25T10:00:00Z"}
List webhook subscriptions
GET https://api.vobiz.ai/v1/messaging/webhooks
Returns all active webhook subscriptions for your account.
curl -X GET \
"https://api.vobiz.ai/v1/messaging/webhooks" \
-H "X-Auth-ID: {auth_id}" \
-H "X-Auth-Token: {auth_token}"
Delete webhook subscription
DELETE https://api.vobiz.ai/v1/messaging/webhooks/{webhook_id}
Remove a webhook subscription. Vobiz stops sending events to that URL immediately.
curl -X DELETE \
"https://api.vobiz.ai/v1/messaging/webhooks/{webhook_id}" \
-H "X-Auth-ID: {auth_id}" \
-H "X-Auth-Token: {auth_token}"