Sending SMS

Use messages endpoint to send Single or Bulk SMS. When you send SMS messages using this API, the API will return to you the sent messages’ ID to track them later using Cequens Get Message Details by ID API.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Error Code Description

Error CodeDetailsDescription
-6At least one valid recipient requiredInvalid recipients are being passed
-8Invalid Message Type, only [text] and [unicode] are supportedMessage type can only be text or Unicode
-9Empty Message TextMessage text parameter is empty
-12Invalid Sender NameUsing incorrect Sender Name
-13Flashing should be 0 or 1A Flash SMS is a message that appears immediately on the recipient's mobile screen, without them having to open their message inbox, and then disappears for good once they dismiss it. The value should be 0 or 1
-14Acknowledgment should be 0 or 1An integer to specify if you need an acknowledgement Response or not .The value should be 0 or 1
-15Invalid Validity PeriodThe validity period is invalid
-16Invalid Delivery TimeThe desired delivery time of the SMS
-17Not Enough CreditsThe user does not have enough credit to send traffic
-41Message Text is greater than 20 partsMessage text should not exceed 20 parts
Body Params
string
required

The message content that you want to send.

string
required
Defaults to Cequens

The name of the message sender.

string
required
Defaults to text

Message type either text or unicode Can be text or unicode

string
required

The intended recipients’ phone numbers.

int32

An integer used as an identifier for your request to track it.

string

A string that includes the desired delivery time of the SMS.

string

A string to define the URL to which you would like to send the delivery receipts (DLR).

string

A string to define the data coding scheme of the SMS.

boolean
Defaults to false

set it to true, if the messageText contains URL and you want to shorten it

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json