Batch SMS

Sending one message to multiple phone numbers

SMS Batch

POST https://api.bitel.rest/api/v1/sms/batch

Request Body

Name
Type
Description

gatewayNumber

string

Gateway number from which the SMS will be sent (up to 100 numbers)

message

string

Message ex. "Hi there"

phoneNumbers

array

Array containing user phone numbers

{
    "result": "ef85b4858c3f4329b0fea6c4769e4965",
    "error": null
}

Sample Request

{
    "message": "Hi",
    "phoneNumbers": [
        "0912*******",
        "0936*******"
    ]
}

Error Codes

Code

Description

InvalidRequest

Submitted data is invalid

InvalidGateway

Gateway number is invalid, or the client doesn't have access to it

Getting SMS Detail

In order to get the detail of a request, including the delivery status, balance subtracted, delivery time and more please refer to SMS Detail API.

Last updated