API v1
Build with WA Gateway
Integrate WA Gateway into your application. Authenticate requests with your API key, call endpoints in your preferred language, and receive real-time webhook events.
⌁
Authentication & Base URL
Every request requires your API key.
Base URL
https://waapi.fireclashpro.com/api/
Authentication Header
X-API-Key: wag_live_YOUR_API_KEY_HERE
POST
Send Message
Sends a text or media message to a recipient using your connected WhatsApp session.
POST
/messages/send
Request examples
JSON body
application/json
{
"session": "4112890",
"to": "919876543210",
"type": "text",
"message": "Hello from WA Gateway!"
}
Example response
200 OK
{
"success": true,
"message_id": "wamid_xxxxxxxxx",
"status": "queued"
}
GET
List Sessions
Returns the WhatsApp sessions available for your API key.
GET
/sessions
Request examples
Example response
200 OK
{
"success": true,
"sessions": [
{
"id": "4112890",
"status": "connected",
"name": "My WhatsApp"
}
]
}
POST
Register Webhook
Registers an HTTPS endpoint that receives real-time WhatsApp events.
POST
/webhooks
Request examples
JSON body
application/json
{
"session": "4112890",
"url": "https://example.com/webhook"
}
Example response
200 OK
{
"success": true,
"webhook_id": "wh_123456"
}
↗
Webhook events
Your webhook URL should be reachable over HTTPS. WA Gateway sends event payloads to the registered endpoint as JSON.