Overview
Send the same SMS message to multiple recipients in a single API call. This is more efficient than sending individual messages when you need to reach multiple people with the same content.Endpoint
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
message | string | ✅ | The SMS message content to send to all recipients |
sender | string | ✅ | The sender ID (up to 11 characters) |
payment_type | string | ✅ | Payment method: wallet or subscription |
receivers | array | ✅ | Array of phone numbers in international format |
Parameter Details
message
message
The text content that will be sent to all recipients.
- Maximum length: 160 characters for single SMS, 1530 characters for concatenated SMS
- Encoding: UTF-8 supported for international characters
- Consistency: Same message is sent to all recipients
sender
sender
The sender ID that will appear on all recipients’ devices.
- Length: Maximum 11 characters
- Format: Alphanumeric characters only
- Examples:
Lamah,MyCompany,Alert123
payment_type
payment_type
Specifies how the SMS costs will be charged.
wallet: Deduct from your account balancesubscription: Use your subscription plan credits
receivers
receivers
Array of recipient phone numbers.
- Format: Each number must include country code (e.g.,
00218912345678) - Limit: Maximum 1000 recipients per request
- Validation: All numbers are validated before sending
- Duplicates: Duplicate numbers are automatically removed
Response
Success Response (200 OK)
Response Fields
| Field | Type | Description |
|---|---|---|
message_id | string | Unique identifier for the bulk send batch |
cost | number | Total cost for all messages |
details | object | Summary of recipients processed: sent and total |
Message Object Fields
| Field | Type | Description |
|---|---|---|
message_id | string | Unique identifier for the individual message |
cost | number | Cost for this specific message |
401 Unauthorized
Limits and Considerations
Rate Limits
- Bulk SMS Endpoint: 10 requests per minute
- Recipients per minute: 10,000 total recipients across all bulk requests
Best Practices
- Validate phone numbers before adding to the receivers array
- Remove duplicates to avoid unnecessary charges
- Split large lists into batches of 1000 or fewer
- Monitor batch status using the returned
batch_id - Handle partial failures gracefully in your application