HTTP response statuses that can be returned by this API, and the corresponding error code provided by the application (inside the response).
HTTP response code
|200||301||The message was sent but the statistics are incorrect due to an error|
No request found
Missing or empty parameters
ListGUID is not valid for the current account or list
ListSecret is not valid for the current account or list
SMS sender name is empty for list nr. N
Number or Prefix missing in the recipient
Recipient is invalid
Content too long
listID is not valid for the current account or list
ListGUID is not in a correct format
ListSecret is not in a correct format
Cannot send SMS to USA recipient
Sending denied: NO CREDITS
SMS number [recipient] is in optout state for list nr.[idList].
Provided SMS sender is not certified and cannot be used to send messages
Operation failed: a generic error occur
The message was sent but the statistics are incorrect due to an error
Error delivering message to [recipient]
In addition to HTTP and Application codes, a successful response has the following format:
where DeliveryId is a unique identifier that can be used to retrieve the result of a specific sending (link), while Cost is the cost in credits of the sending operation.
Note: in case of a response with HTTP code = 200 and Application code = 301, the message is properly sent and a cost is charged, but the returned value of DeliveryId is 0 (zero) and it not possible to retieve the result