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.
Error Code Description
Error Code | Details | Description |
|---|---|---|
-6 | At least one valid recipient required | Invalid recipients are being passed |
-8 | Invalid Message Type, only [text] and [unicode] are supported | Message type can only be text or Unicode |
-9 | Empty Message Text | Message text parameter is empty |
-12 | Invalid Sender Name | Using incorrect Sender Name |
-13 | Flashing should be 0 or 1 | A 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 |
-14 | Acknowledgment should be 0 or 1 | An integer to specify if you need an acknowledgement Response or not .The value should be 0 or 1 |
-15 | Invalid Validity Period | The validity period is invalid |
-16 | Invalid Delivery Time | The desired delivery time of the SMS |
-17 | Not Enough Credits | The user does not have enough credit to send traffic |
-41 | Message Text is greater than 20 parts | Message text should not exceed 20 parts |