Base URL
https://app.kolaywhatsapp.com
Connect WhatsApp messaging to your app with a few HTTP requests. Authentication uses the instance API key.
POST /api/{instanceId}/send
Content-Type: application/json
X-API-Key: API_KEY
{
"phone": "+905551234567",
"message": "Hello"
} {
"success": true,
"instanceId": "example-instance",
"messageId": "example-message-id",
"quotaRemaining": "unlimited"
} https://app.kolaywhatsapp.com
Message, QR, and status endpoints require X-API-Key — generated with the instance, rotatable in the panel.
Instance creation endpoints require a separate server secret (external integration).
| Code | Meaning |
|---|---|
| 200 | Sent |
| 400 | Missing phone or message |
| 401 | Invalid or missing API key |
| 403 | Premium required or quota exhausted |
| 503 | WhatsApp connection not ready |
| 500 | Server error |
When a webhook secret is set, delivery is signed with HMAC-SHA256.
Sample flow — design branches with message and condition nodes in the chatbot builder.
Text message. Body: phone, message. Non-premium instances consume credits.
Media upload. multipart file field.
Connection QR when status is qr_code_generated.
initializing | qr_code_generated | connected | disconnected | requires_premium
External provisioning. X-API-Secret. First instance gets 30 days premium.