Automatic detection of STOP words in DIDs (aka long codes)


If you are using DIDs (also called long codes) to send news related to your products and/or services (and some of your users want to “opt out” of your messages), there is now a way to blacklist them automatically and save you some time in the process.

Note that the preferred way of letting your users opt-in and opt-out of your campaigns is to use short codes, but this new feature is still an option if you are using something like toll free or local numbers to reach out to your users.

In this case, you can auto detect the word “STOP” in inbound messages and send them directly to your blacklist so you won’t accidentally send any more messages to them.

A new DID setting to auto detect the word STOP

There is a new DID Setting available, called “stop_words_enabled” that will allow you to activate this feature on a per-did basis.

When this setting is enabled on a DID and an inbound message is sent to it, we will analyze the text and try to spot the word “STOP” in the message. If it’s found, we will send the contact directly to your blacklist and also send a confirmation message to the user.

Take into account that as a side effect of enabling this, you won’t be able to use the word “STOP” in that DID for A2P purposes. Also, once a contact is in your blacklist, you will no longer be able to reach this number from any DID, Short Code, or Phone Call that you send from our platform. That’s why we strongly recommend that you use short codes so your users can voluntarily opt-in and opt-out of your messages on a per service basis.

Enjoy this new feature, and as always, don’t hesitate to contact us if you have any questions!

— The PortaText Team.