Requesting the SMS messages for a given Number

URL : /smsapi/GetMessages?apiId={ID}&secret={SEC}&number={NUM}

{ID} - provided api id (Required)

{SEC} - provided api secret (Required)

{NUM} - the number to return SMS messages for


Example response:

{"Status":"Success","Messages":[{Message:"xxxxxxxx","MessageId":"xxx-xxx-xxx",Number:"xxxxxxxx"},{Message:"xxxxxxxx","MessageId":"xxx-xxx-xxx",Number:"xxxxxxxx"}],"ErrorCode":"Non","Error":null,"NumberOfMessages":2,"TimeOfLastMessage":"31/Jan/17 03:13:15"}

The messages will be shown in a JSON array.

Also provided is:
the date and time of the last SMS received on the given number and the total number of SMS messages for the given number.
the ID of the message

<< Back