1. Home
  2. Docs
  3. SMS Messaging
  4. Receiving SMS

Receiving SMS

Incoming SMS messages will be sent to a configured callback URL via HTTP POST method with the following parameters:

PARAMETERFORMATDESCRIPTION
messageIdstringA unique ID associated with this SMS message
recipientintegerThe recipient of this SMS message
originatorintegerThe sender for this message
udhstringUser data header. Will be only present if message is concatenated
messagestringBody of the SMS message
messageTimestampstringThe creation date and time of the message in RFC33339 format (Y-m-d\TH:i:sP)

For the purpose of illustration, here’s a sample callback request using HTTP GET method:

https://your_domain.com/your_script
    ?messageId=43BC206B4610B25F41E7C3E050035473
    &recipient=88888
    &originator=6591234567
    &message=hello
    &messageTimestamp=2017-01-03T14:31:28+08:00

#Note: Your platform should respond with HTTP Status Code 200 (OK). Otherwise the same message will be delivered again.