Integration guide

Connect your app to NexaAPI.

Generate a key in the user portal, call the endpoint, inspect logs and configure signed webhooks.

1. Generate an API key

Login as a user, open API keys, create a key and store it securely. Send the key using the Bearer authorization header.

Base URL
https://www.api.vdigitalsevakendra.site/api/v1

2. Send a message request

This local gateway validates the request, queues it and returns a message ID. Real WhatsApp delivery starts after Meta credentials are connected.

cURL
curl --request POST https://www.api.vdigitalsevakendra.site/api/v1/messages \
--header "Authorization: Bearer YOUR_GENERATED_API_KEY" \
--header "Content-Type: application/json" \
--data '{
  "to": "919876543210",
  "type": "text",
  "text": { "body": "Hello from NexaAPI!" }
}'

3. Fetch request logs

curl https://www.api.vdigitalsevakendra.site/api/v1/logs \
--header "Authorization: Bearer YOUR_GENERATED_API_KEY"

4. Configure webhooks

Open the Webhooks page, save your public HTTP/HTTPS endpoint and use Test delivery. Requests include X-Nexa-Signature, an HMAC SHA-256 signature created with the endpoint secret.

hash_hmac("sha256", RAW_REQUEST_BODY, WEBHOOK_SECRET)

Honest delivery status
The local API gateway works now. Meta Cloud API forwarding still requires your real Meta App ID, access token, WABA ID and phone number ID.