API Builder
Create and manage API keys for ERP and software integration
No API Keys Created
Create your first API key to integrate WhatsApp with your ERP
API Endpoint Reference
REST
POST
/api/v1/send
Send a single WhatsApp message
Headers
X-Api-Key: wk_YOUR_API_KEY
Content-Type: application/json
Body (JSON)
{
"phone": "923001234567", // Required: number with country code
"message": "Hello World!", // Required: message text
"account_id": "optional" // Optional: specific account ID
}
POST
/api/v1/send-bulk
Send multiple messages with account rotation
{
"messages": [
{ "phone": "923001234567", "message": "Msg 1" },
{ "phone": "923007654321", "message": "Msg 2" }
],
"strategy": "round_robin", // "single" | "round_robin" | "random"
"account_ids": ["id1","id2"], // Optional: specific accounts
"delay_min": 1000, // Optional: min delay ms
"delay_max": 3000 // Optional: max delay ms
}
POST
/api/v1/send-rotate
Send same message to many numbers, rotating accounts
{
"recipients": ["923001234567", "923007654321", "92..."],
"message": "Your invoice is ready",
"strategy": "round_robin"
}
GET
/api/v1/accounts
List all connected WhatsApp accounts
GET
/api/v1/health
Check API health and connection status