REST API Reference
Complete REST API documentation with endpoints, parameters, and examples.
Getting Started Reference
WAStack provides a secure RESTful API for integrating WhatsApp messaging, webhooks, and session synchronization into your applications. All v1 endpoints are served relative to:
https://api.wastack.in/api/v1Core Concepts
The API is built around QR-paired device sessions. Each device session proxies an active WhatsApp number. Once paired, you can query chats, contacts, groups, and send messages or media asynchronously.
Rate Limits
Message Send
30 rpm
Staggered queues
Reads / WhatsApp Data
60 rpm
Live connection proxies
Health Checks
100 rpm
Public endpoints
Response Payload Formats
All success responses are wrapped inside a standard JSON payload format:
// Success Read Operation (200 OK)
{
"success": true,
"data": {
"id": "device_1",
"name": "Support Line",
"phone": "919876543210"
}
}
// Queued Send Message Operation (202 Accepted)
{
"success": true,
"data": {
"status_code": 202,
"transactionId": "txn_894103",
"correlationId": "8f3a2c91-...",
"messageType": "plain-text"
}
}
// Error Payload (e.g. 400, 401, 403, 429)
{
"success": false,
"error": "Detailed reason why the operation failed."
}API Authentication
WAStack requires dual-header authentication for secure requests. Include both headers on all REST requests to v1 endpoints:
X-App-KeyIdentifies your developer application channel. Generated when you create an Integration App in your dashboard.
AuthorizationYour workspace API Token. Secret token in the format Bearer wa_live_.... Generated under Settings → API Keys.
Authentication cURL Test
Verify your keys by calling the base endpoint:
curl -X GET "https://api.wastack.in/api/v1/devices" \
-H "X-App-Key: your_app_key" \
-H "Authorization: Bearer your_auth_key"Messages
OTP Verification
Devices
WhatsApp Data
Contacts
Groups
Templates
Schedule
Webhooks
Apps
Health Check
Browse all documentation
From getting started to advanced API patterns, find everything you need to build WhatsApp automation.