The SMS HTTP Interface will return an HTTP response with status 200 (OK) containing the message identifiers of the sent SMS messages. Each message identifier has the associated destination MSISDN and gateway status written on the same line in the following format:
gatewaystatus, messageid, destination
Successfully sent SMS messages will always have their gatewaystatus set to 1, their messageid and destination MSISDN, each in a separate line in the HTTP response.
SMS messages which have been failed to be sent by the SMS HTTP Interface will always have their gateway status set to 0 and an error code will be present instead of a the messageid.
The following errorcodes are used to identify the cause of why the message was not sent:
1: Bad login details
2: Problem with the message
3: Bad to number
4: Not enough credits to send message