Developer API
Integrate WhatsApp SaaS with your apps using REST API. Send WhatsApp messages and check account info programmatically.
Overview
The Developer API is available to account owners. Generate API tokens from Developer API in the dashboard (/developer-api).
Base URL:
https://live.zappychat.in/api/v1
Authentication
All API requests require a Bearer token in the Authorization header:
Authorization: Bearer YOUR_API_TOKEN
-
Generate token
Developer API → Create Token → enter a name → Generate.
-
Copy token immediately
The full token is shown only once. Store it securely.
-
Use in requests
Include as Bearer token in every API call.
GET /account
Returns account and WhatsApp connection info.
curl -H "Authorization: Bearer YOUR_TOKEN" \ https://live.zappychat.in/api/v1/account
POST /messages
Send a text or template message to a phone number.
Send text message
curl -X POST https://live.zappychat.in/api/v1/messages \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"to": "919876543210",
"type": "text",
"text": "Your order #1001 has shipped!"
}'
Send template message
curl -X POST https://live.zappychat.in/api/v1/messages \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"to": "919876543210",
"type": "template",
"template": {
"name": "order_update",
"language": "en",
"components": []
}
}'
Phone number format: Country code + number, no + or spaces (e.g. 919876543210 for India).
Response codes
| Code | Meaning |
|---|---|
| 200 | Success |
| 401 | Invalid or missing token |
| 422 | Validation error (check phone format, message body) |
| 429 | Rate limit exceeded |
| 503 | WhatsApp not configured or subscription inactive |
Rate limits
API requests are limited to 120 requests per minute per token. Message sending also counts toward your subscription message limit.