SMS Gateway API

Enterprise Multi-channel Communication API

v1.0
POST

/api/v1/json/bulk/whatsapp

Send bulk WhatsApp messages via JSON API

WhatsApp

Parameters

Parameter Type Required Description
username string Required API username
password string Required API password
senderid string Required WhatsApp sender ID
message string Required WhatsApp message content
recipient list Required List of recipient WhatsApp numbers

Request & Response Examples

Request Body

{
  "message": "๐Ÿš€ Welcome to our WhatsApp Business! Get instant support and exclusive updates. Reply HELP for assistance or STOP to opt out.",
  "password": "your_secure_password",
  "recipient": [
    "27123456789",
    "27876543210",
    "27765432109"
  ],
  "senderid": "27987654321",
  "username": "your_api_username"
}

Response Body

{
  "cost": 4.5,
  "count": 3,
  "currency": "ZAR",
  "estimated_delivery": "2024-11-20T10: 31: 30Z",
  "message": "WhatsApp messages queued successfully",
  "reference": "WA_REF_20241120_103045_JKL012",
  "status": "success"
}

Code Examples

-keyword">curl -X POST https://api.unicom360.com/api/v1/json/bulk/whatsapp \
  -H "Authorization: Basic base64(username:password)" \
  -H "Content-Type: application/json" \
  -d '{\n  "username": "your_api_username",\n  "password": "your_secure_password",\n  "senderid": "27987654321",\n  "message": "๐Ÿš€ Welcome to our WhatsApp Business! Get instant support and exclusive updates. Reply HELP for assistance or STOP to opt out.",\n  "recipient": [\n    "27123456789",\n    "27876543210",\n    "27765432109"\n  ]\n}\n'