Consent
Businesses need a recipient's consent before texting them, and marketing messages require stronger, written consent than transactional ones. Keep a record of when and how each person opted in.
Consent to texts shouldn't be a condition of buying a service. Carriers check for this during campaign vetting.
Opt-out keywords
Recipients must be able to stop messages by replying STOP (and common variants). HELP should return the business's name and how to get support. Opt-outs must apply to every future message from that business, across every feature that sends.
Quiet hours
Federal rules and several state laws restrict marketing texts to daytime hours in the recipient's time zone. Enforcing quiet hours by recipient time zone, not the business's, avoids the common mistake.
Doing it at the platform level
When opt-outs live inside one feature, another feature eventually ignores them. A single consent and suppression list per business, checked on every send, is the reliable pattern.