(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

Opt-in Status Postback

The Opt-in Postback API notifies you of an opt-in or opt-out status change for each number subscribed to your campaigns.

Mobile Subscribe

This postback notification triggers when a mobile phone number subscribes to a specific campaign. We send the notification again even if someone who is already opted-in triggers the opt-in process a second time.

VariableDescription
ORIGINSUB.
CODEN301.
MOBILESubscriber’s mobile number.
CAMPAIGNREFThe campaign reference ID (string) to which the user is subscribed.
TIMESTAMPTimestamp of the subscription.
SHORTCODEThe shortcode.
CAMPAIGNTITLEThe title of the campaign.
BRANDNAMEThe brand name associated with the account or campaign.
SOURCEThe source of the subscription: MANAGER, API, MO, WEB. MANAGER indicates the number was imported or manually added in your campaign audience manager. API indicates it came from a subscribe call to our API. MO indicates the phone number opted-in by texting campaign keyword. WEB indicates they subscribed via mobile web landing page.
<?xml version='1.0'?>
<POSTBACK>
    <ORIGIN>SUB</ORIGIN>
    <CODE>N301</CODE>
    <MOBILE>10000000000</MOBILE>
    <CAMPAIGNREF>1478</CAMPAIGNREF>
    <TIMESTAMP>2014-07-02T14:32:23-04</TIMESTAMP>
    <SHORTCODE>00000</SHORTCODE>
    <CAMPAIGNTITLE>My Campaign Name</CAMPAIGNTITLE>
    <BRANDNAME>My Brand Name</BRANDNAME>
    <SOURCE>API</SOURCE>
</POSTBACK>

Mobile Unsubscribe

This postback notification triggers when a mobile phone number unsubscribes to a specific campaign.

VariableDescription
ORIGINSUB.
CODEN302.
MOBILESubscriber’s mobile number.
CAMPAIGNREFThe campaign reference ID (string) to which the user is subscribed.
TIMESTAMPTimestamp of the unsubscription.
SHORTCODEThe shortcode.
CAMPAIGNTITLEThe title of the campaign.
BRANDNAMEThe brand name associated with the account or campaign.
SOURCEThe source of the unsubscription: MANAGER, API, MO, IMPORTED AS UNSUBSCRIBED. MANAGER indicates the number was deported or manually removed in your campaign audience manager. API indicates it came from a unsubscribe call to our API. MO indicates the phone number opted-out by texting STOP. IMPORTED AS UNSUBSCRIBED indicates the number was attempted to be imported or manually added, but was imported as unsubscribed due to a previous opt-out.
<?xml version='1.0'?>
<POSTBACK>
    <ORIGIN>SUB</ORIGIN>
    <CODE>N302</CODE>
    <MOBILE>10000000000</MOBILE>
    <CAMPAIGNREF>1478</CAMPAIGNREF>
    <TIMESTAMP>2014-07-02T14:32:23-04</TIMESTAMP>
    <SHORTCODE>00000</SHORTCODE>
    <CAMPAIGNTITLE>My Campaign Name</CAMPAIGNTITLE>
    <BRANDNAME>My Brand Name</BRANDNAME>
    <SOURCE>API</SOURCE>  
</POSTBACK>
Go to Top