SMS/MMS MO Postbacks
The MMS MO / SMS MO Postback API notifies you that a customer has replied to your message, or interacted to one of your keywords. To receive SMS MO postback notifications you need to have that option enabled in your account API. You can setup a separate Postback URL specifically for SMS/MMS MO’s.
SMS MO Information:
Once enabled you will receive an notification immediately when someone interacts with your shared shortcode campaign or your dedicated shortcode. Each message comes back in its own postback notification.
MMS MO Information:
To receive MMS MO postback you need to configure it within the particular MMS Inbox keyword campaign. Once the MMS MO postback is enabled in the MMS Inbox campaign you will start receiving postbacks for each MMS MO received on the MMS MO Keyword or replies to an SMS sent. If you have opted to enable the MMS MO moderation panel, then the postback notifications will only be sent upon approval by the moderator.
SMS MO
This postback notifies you when an SMS MO is received.
Variable | Description |
---|---|
CODE | N211. |
ORIGIN | SMS_MO. |
FROM | SMS senders mobile number. |
TO | Shortcode or longcode the SMS was sent to. |
TEXT | The actual text that was sent by the sender. |
RECEIVED | Timestamp of the SMS received by our server. |
TRANSACTIONID | TransactionId for the SMS MO transaction that occurred. |
<POSTBACK>
<ORIGIN>SMS_MO</ORIGIN>
<CODE>N211</CODE>
<FROM>10000000000</FROM>
<TO>00000</TO>
<TEXT>STOP</TEXT>
<RECEIVED>2011-09-28T17:31:02-04:00</RECEIVED>
<TRANSACTIONID>511XG-02294-192SA-482H8</TRANSACTIONID>
</POSTBACK>
MMS MO
This postback notifies you when an MMS MO is received.
Variable | Description |
---|---|
CODE | N401. |
ORIGIN | MMS_MO. |
FROM | The phone number, including the country code, of the sender. |
TO | The recipient shortcode or longcode. |
KEYWORD | If a keyword was recognized in the first word of the subject or the first word body of the message and it matched to a MMS Inbox Keyword campaign that keyword will be passed in this node. |
SUBJECT | The subject field of the MMS if it exists. Subjects are optional |
TRACKINGID | A tracking ID, skycore has assigned this message. |
SPID | The SPID of the sender’s carrier. |
TIMESTAMP | The timestamp that our system received the MMS MO. |
CONTENT | Contains the file nodes sent in the MMS MO. |
FILE | A series of sub-nodes that contains a single URL to a picture, video, audio or text file sent in the MMS MO within each node. The URL points to the location of the content on our servers. For those developing the back-end handling of the postback URL, you may choose to download/store these content files for whatever purpose you see fit. You may also choose to store the URLs for download at a future time. The file will be removed based on the terms of your contract. |
<POSTBACK>
<ORIGIN>MMS_MO</ORIGIN>
<CODE>N401</CODE>
<FROM>10000000000</FROM>
<TO>00000</TO>
<KEYWORD>all</KEYWORD>
<SUBJECT>Hello there</SUBJECT>
<TRACKINGID>MMS_MO_iLnCRrL6</TRACKINGID>
<SPID>0001470</SPID>
<TIMESTAMP>2014-02-03T11:19:49-05:00</TIMESTAMP>
<CONTENT>
<FILE>URL of Content Here</FILE>
<FILE>URL of Content Here</FILE>
<FILE>URL of Content Here</FILE>
</CONTENT>
</POSTBACK>