W WA Suite API Dashboard

REST API

Send WhatsApp messages straight from your own software. Base URL: https://w.ajontec.com/api/v1

Authentication

Create a key from Dashboard → API keys, then send these headers with every request:

X-Api-Key: wapi_xxxxxxxxxxxx
X-Api-Secret: wask_xxxxxxxxxxxx
POST /send/text

Plain text message

{
  "to": "919876543210",
  "message": "Hello! Your order has been confirmed."
}
POST /send/media

Image, video or document

{
  "to": "919876543210",
  "type": "image",
  "url": "https://example.com/bill.jpg",
  "caption": "Your invoice"
}
POST /send/template

Approved template (outside the 24-hour window)

{
  "to": "919876543210",
  "template": "order_update",
  "language": "en_US",
  "params": ["Rahul", "ORD-1029"]
}
POST /contacts

Create or update a contact

{
  "name": "Rahul Sharma",
  "phone": "919876543210",
  "email": "rahul@example.com"
}
GET /contacts

List contacts (query: q, per_page)

GET /status

Plan details and remaining quota

GET /balance

Credit balance and plan quota left

GET /groups

List contact groups

GET /templates

List templates with approval status

POST /campaigns

Create and launch a bulk campaign

{
  "name": "Diwali offer",
  "template_id": 4,
  "category": "marketing",
  "group_ids": [2, 5],
  "speed_per_minute": 30,
  "start": true
}
GET /campaigns/{id}

Live progress of one campaign

Response format

{
  "success": true,
  "message": "Message queued to WhatsApp.",
  "data": { "wamid": "wamid.HBgM..." }
}

Error codes: 401 invalid credentials · 402 quota exhausted · 403 IP not allowed · 422 validation or WhatsApp error · 429 rate limit (120 req/min).