Opt Out Links in SMS messages via API

Modified on Mon, 08 Apr 2024 at 03:15 PM

When sending marketing messages to customers, it's essential to include an opt-out option at the end of the message. To facilitate this, when utilizing Tall Bob APIs for sending marketing SMS, you can incorporate the {OptOutURL} tag within your message content. This tag acts as a placeholder that transforms into a clickable link in the customer's device, enabling customers to opt out of the SMS services if they wish.


The {OptOutURL} tag has a standard length of 13 characters. By using this tag instead of the actual opt-out link, the character count of your message gets reduced. This reduction helps mitigate the risk of your message being sent as a multi-part message, ensuring optimal delivery and readability for your recipients.


Example


Sample Tall Bob SMS Request using the Optout tag


{

    "to": {"614xxxxxxxx": {"first_name": "Amy"}},

    "from": "TallBob",

    "message": "Hi {{ first_name }}, end of year sale now on! Up to 50% off instore & online. T&Cs apply. \n\nShop now {{ campaign_link }} \n\nOptout? {OptOutURL}",

    "landing_page_id": "0f9da87c-1ab0-11ee-9072-0685506eb248",

    "reference": "End of year sale"

}


Message Received in customer's device


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article