api get sms

Requesting the last SMS message for a given Number

URL : /SMS/GetSms?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","Message":"Telegram code 59248","ID":"xxx-xxx-xxx","ErrorCode":"Non","Error":null,"NumberOfMessages":2,"TimeOfLastMessage":"31/Jan/17 03:13:15"}


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