Honor six opt-out keywords: STOP, STOPALL, UNSUBSCRIBE, CANCEL, END and QUIT. Match them case-insensitively on the whole message, treat any match as an opt-out immediately, and never text that number again until the person opts back in. If you send through Ready, inbound opt-outs are handled for you, and you check a number with GET /v1/opt-outs/:phone before sending from anywhere else.
We make Ready, so the Ready-specific parts below are limited to what we document. Compliance is the sender's responsibility, and this is practice guidance, not legal advice.
The keyword list
These are the words carriers and the wider industry treat as standard opt-out requests:
| Keyword | Treat as | Notes |
|---|---|---|
| STOP | Opt-out | The one every recipient knows |
| STOPALL | Opt-out | Common on shared short codes and multi-program senders |
| UNSUBSCRIBE | Opt-out | Common from people used to email |
| CANCEL | Opt-out | Often sent about an appointment, so see the caveat below |
| END | Opt-out | Short and ambiguous in a longer sentence, so match the whole message only |
| QUIT | Opt-out | Same pattern as END |
Two related keywords aren't opt-outs. HELP asks for contact details and a way to opt out, and START (or a similar word) opts someone back in after they stopped. Ready answers STOP, START and HELP automatically. Our HELP keyword guide covers what a HELP reply has to say.
What "match" should mean
Match the entire message after trimming whitespace and punctuation, ignoring case. "stop", "STOP." and " Stop " all count. "Please don't stop the reminders" doesn't.
Don't match the keyword as a substring. "end" lives inside "send" and "weekend", and "cancel" appears in "don't cancel my order". Whole-message matching keeps those out of your opt-out list, and a false opt-out costs you a customer you could have texted.
The harder case is the plain-language request: "please stop texting me", "take me off your list", "quit messaging me". A person who writes that has opted out as much as one who typed STOP. Ready catches clear phrases like these on the numbers it sends from, so a free-text request doesn't need a human to act on it. Odd wording that no list catches still needs a person reading replies, so keep someone looking at your inbox.
The matcher, if you receive texts yourself
If you receive replies somewhere Ready doesn't, for example another provider's number or your own inbound pipeline, run the same rule on your side.
import re
OPT_OUT = {"stop", "stopall", "unsubscribe", "cancel", "end", "quit"}
def is_opt_out(message: str) -> bool:
cleaned = re.sub(r"[^\w\s]", "", message).strip().lower()
return cleaned in OPT_OUT On a match, do three things in this order: stop all queued and scheduled texts to that number, record the opt-out with a timestamp in your own store, and only then send at most one short confirmation. Don't ask "are you sure?". An opt-out isn't a conversation.
For the CANCEL caveat: someone replying CANCEL to an appointment reminder may mean the appointment. Treating it as an opt-out is the safe default, because the cost of one missed reminder is lower than texting someone who asked you to stop. If you want to ask which they meant, do it once, and only by honoring the opt-out in the meantime.
What Ready does automatically
- An inbound STOP or UNSUBSCRIBE is honored, and the contact can't be messaged again across campaigns.
- Clear phrases such as "please stop texting me" and "do not text me" are caught too.
- STOP, START and HELP get their automatic replies.
- A STOP blocks that number in the sub-account that received it. For how far it reaches across the rest of your accounts, check the number with
GET /v1/opt-outs/:phone. - A send to an opted-out number is refused up front and isn't charged.
Our opt-out management guide and the opt-outs docs have the detail, and Twilio STOP handling compared with Ready shows the difference if you're moving over.
Checking a number before you send
Ready already refuses a text to an opted-out number on its own sends. You need the check when a text can come from somewhere else: a different tool, or a list you're migrating from another provider.
import os
import requests
def opt_out_status(phone: str) -> dict:
res = requests.get(
f"https://api.tryready.com/v1/opt-outs/{phone}",
headers={"X-API-Key": os.environ["READY_API_KEY"]},
timeout=15,
)
res.raise_for_status()
return res.json() The response fields are in the opt-outs docs, so read them there instead of guessing at key names. GET /v1/opt-outs lists the opted-out contacts on this account only. It leaves out a deleted contact's STOP, a dialer do-not-call entry, and a STOP held on another account in the same family, so it isn't a complete list. GET /v1/opt-outs?scope=all adds the Ban list, and the per-number check is the one that answers for a single phone.
Mistakes we'd avoid
- Matching only the word STOP. Recipients try UNSUBSCRIBE and QUIT constantly.
- Substring matching, which opts out people who wrote "send".
- Sending one more "sorry to see you go" marketing text. Confirmation only.
- Keeping opt-outs in one system when texts go out of two.
- Letting a scheduled or queued text fire after the opt-out arrived. Check at send time, not enqueue time.
You don't need to write the STOP language into your own first text: Ready adds "Reply STOP to opt out" and your business name to the first text to each contact unless the account turns it off.
FAQ
Do I have to honor keywords outside the six?
Honor any clear request to stop. The six are the ones carriers expect, but "leave me alone" is an opt-out too.
How long does an opt-out last?
Until the person opts back in themselves, for instance by texting START or signing up again. Don't re-add them from an old list.
Should I use a different list for each product?
Share one. A person who stops your texts shouldn't get them from a sibling product the next day. On Ready, a STOP always blocks the number in the sub-account that received it, and the per-number check tells you how far it reaches beyond that.
The short version
Honor STOP, STOPALL, UNSUBSCRIBE, CANCEL, END and QUIT on whole-message matches, treat plain-language requests as opt-outs too, and check GET /v1/opt-outs/:phone before any text that doesn't go through Ready. See our opt-out API guide for the endpoint, and start at tryready.com/signup.