Send your first message in less than 5 minutes.
Prerequisites
- API base URL:
https://api.wazapin.id
- Active API key (
X-Api-Key)
- Connected WhatsApp channel (
channel_id)
1. Check API health
curl -X GET "https://api.wazapin.id/v1/health"
2. Send your first text message
curl -X POST "https://api.wazapin.id/v1/messages" \
-H "X-Api-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"channel_id": "wzp_wu8f3k2p",
"to": "6281234567890",
"type": "text",
"text": "Hello from Wazapin"
}'
3. Track message status
curl -X GET "https://api.wazapin.id/v1/messages/{messageID}" \
-H "X-Api-Key: YOUR_API_KEY"
Next: send more message types
X-Api-Key is the recommended authentication method for server-to-server integration.