Honouring opt-outs is a legal requirement in most markets (for example TCPA and CTIA guidelines in the US, and TRAI rules in India) and a condition of US 10DLC and toll-free registration. Keep the list intact, and make sure your own records of consent match it.
Keyword replies are recorded automatically
When a contact replies to one of your numbers, Vobiz lower-cases and trims the text, strips trailing punctuation, and compares it with the standard keywords. An exact match creates an opt-out entry for that number and channel withsource: "inbound" and the reason shown:
All three groups are recorded automatically, so you have a timestamped record of every keyword interaction. The reply itself is also stored in the contact’s conversation, where you can see it in context.
Keyword matching is exact:
STOP and stop. match, please stop does not. Add a manual opt-out for any request that arrives in free text.
Add an opt-out manually
Create an opt-out records a request that reached you another way - a support call, an email, an unsubscribe link:Response - 201 Created
reason rather than creating a duplicate. Manual entries have source: "manual".
List opt-outs
List opt-outs returns a JSON array of entries. Bothlimit and offset are required; page through the list by increasing offset.
cURL
Response - 200 OK
Check one number
Check an opt-out answers a yes/no question for one number and channel. URL-encode the+ as %2B. channel defaults to sms.
cURL
Response - 200 OK
422.
Remove an opt-out
Remove an opt-out deletes the entry for a number and channel.channel defaults to sms.
cURL
Response - 200 OK
200 whether or not an entry existed.
What happens when you send to an opted-out number
Every recipient of Send a message is checked against the list for the message’s channel before routing:- A send where the only (or first) recipient is opted out creates no message and returns
422 {"error":"recipient has opted out: +14155550123"}. - In a multi-recipient send, the opted-out recipient is skipped and the others are sent; the call returns
202 Acceptedwith the first created message. See several recipients in one call. - An
smsopt-out also blocksmmsto that number, so a STOP reply to a text message suppresses picture messages too. - The check runs before the idempotency lookup, so replaying an earlier
idempotencyKeyto a number that has since opted out also returns422.
Broadcasts
When you upload recipients to a broadcast, numbers with ansms opt-out are stored with status opted_out and counted in the upload result’s optedOut field. They are never sent, and they appear in the broadcast’s stats.optedOut and in the export. See Broadcasts.
Recommended practice
- Include opt-out instructions (
Reply STOP to opt out) in the first message of any marketing thread and in every broadcast template. US 10DLC and toll-free registration both expect this. - Reply to
HELPwith your brand name, a support contact and the STOP instruction. Thehelpentries in the list show you who asked. - Mirror the list into your CRM by polling List opt-outs or by watching the
message.receivedwebhook event for keyword replies. - Record the consent that justifies every removal.
Before you go live
Messaging numbers
The numbers your opt-outs apply to.
India DLT
Consent and DLT rules for Indian recipients.
Related
Broadcasts
Opted-out numbers are excluded from every broadcast.
Conversations
See keyword replies in the contact’s thread.
Compliance overview
Registration requirements that depend on opt-out handling.
Errors
The
422 opt-out response and other status codes.