Integrate reliable bulk SMS delivery into your applications in minutes using our RESTful API.
The AlieSMS API uses Bearer Tokens to authenticate requests. You must include this token in the header of every API request you make.
Your secure API token and unique User ID are generated automatically when you create an account. You can find both by logging into your client dashboard and navigating to the Developers tab.
Authorization: Bearer YOUR_SECURE_API_TOKEN_HERE
Content-Type: application/json
This endpoint allows you to send a single SMS or a batch of messages to multiple recipients simultaneously.
Endpoint:
https://aliesmsapi.araknerd.com/message/batch/create
"X" in the payload below with the actual numeric user_id provided in your dashboard.
"receipients" must be used exactly as spelled below.
{
"user_id": "X",
"batch_name": "System Alert Campaign",
"message_text": "This is a test message from the AlieSMS API.",
"receipients": "0701234567, 0771234567"
}
"x" and "y" are numbers.
{
"status": "OK",
"message": "Sent successfully! to x contacts, y contacts were duplicated",
"details": "true"
}
The "receipients" field accepts a single phone number or a comma-separated list of multiple numbers. To ensure high deliverability, your numbers must adhere to the local telecom specifications below:
All numbers must be exactly 10 characters long and begin with the prefix "07". Do not include the "+256" country code.
Airtel numbers must strictly begin with one of the following prefixes: 070, 074, 075, or 0795.
MTN numbers must strictly begin with one of the following prefixes: 076, 077, 078, or 079.