Skip to content

SMS MO Postback V2

Synopsis

Once enabled you will receive a notification immediately when someone interacts with your shortcode or longcode. Each message comes back in its own postback notification. This postback notifies you when an SMS MO is received.

SMS MO Postback Nodes

Postback Parameter Postback Parameter Description
code N211
origin SMS_MO
from The phone number including the country code of the sender.
to The shortcode or longcode recipient.
message-text The actual text that was sent by the sender.
timestamp The timestamp of the SMS MO received by our server.
tracking-id The transaction ID for the SMS MO that occurred.

POSTBACK: N211 Request

curl -X POST \ 
     -H "content-type: application/json" -d '
      {
          "origin":"SMS_MO",
          "code":"N211",
          "from":"SENDER_PHONE_NUMBER_WITH_COUNTRY_CODE", 
          "to":"RECEIVER_NUMBER",
          "message-text":"MESSAGE_TEXT",
          "tracking-id":"TRACKING_ID",
          "timestamp":"RECEIVED_TIMESTAMP"
      }' \
  "POSTBACK_ENDPOINT_URL"

POSTBACK: N211 Example (SMS MO Received)

curl -X POST \ 
     -H "content-type: application/json" -d '
      {
          "origin":"SMS_MO",
          "code":"N211",
          "from":"10000000000", 
          "to":"00000",
          "message-text":"DEMO",
          "tracking-id":"smsmo09ea1b9215",
          "timestamp":"2021-02-01T23:35:54+00:00"
      }' \
  "POSTBACK_ENDPOINT_URL"