Send your first message today — you only need an API key and a connected WhatsApp number.

Prerequisites

  • Base URL: https://api.wazapin.com
  • API key (X-Api-Key)
  • Connected WhatsApp channel_id
1

Send your first text message

curl -X POST "https://api.wazapin.com/v1/messages" \
  -H "X-Api-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "channel_id": "wzp_abc123",
    "to": "6281234567890",
    "type": "text",
    "content": {"body": "Hello from Wazapin"}
  }'
Save the id from the response data object for the next step.
2

Track message status

curl -sS "https://api.wazapin.com/v1/messages/{messageID}" \
  -H "X-Api-Key: YOUR_API_KEY" \
  -H "Accept: application/json"
Replace {messageID} / MESSAGE_ID with the UUID from the create response.
3

Receive events (recommended)

Configure a webhook URL in the app to get inbound messages and delivery updates without polling. See Webhook payload examples.

Sending overview

Session vs template and how to pick a type.

Send messages

One guide per message type with specifications.

API reference

Every message type, with playground examples.

Authentication

Verify keys and handle 401 errors.
Use X-Api-Key on every server-side request. Tabs labeled cURL, TypeScript, and Python stay in sync when a page has more than one code group.