(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.data-privacy-src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-TT9ZP96');

Knowledge Base

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 ParameterPostback Parameter Description
codeN211
originSMS_MO
fromThe phone number including the country code of the sender.
toThe shortcode or longcode recipient.
message-textThe actual text that was sent by the sender.
timestampThe timestamp of the SMS MO received by our server.
tracking-idThe 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"
Go to Top