Skip to content

A glossary story10 chapters · 6 min read

Opt-out

A customer's request to stop WhatsApp messages from a business, by keyword, button, WhatsApp's own controls or a block, which must be honoured at once.

Also called: Opt out · Unsubscribe · STOP keyword · Marketing opt-out

Reviewed

Follow along

Watch a customer opt out, and the business honour it

7 / 7

Message 7 of 7

Backwater TripsTextDelivered (two grey ticks)

The scope widens from marketing to all messages, and the consent record logs the time and wording.

Free-form text. A business can send it only within 24 hours of the customer’s last message.

A festive offer, a tap on Stop promotions and a free-text request a few days later. Focus each bubble to see how the signal arrives and what the system does next.

Message 7 of 7: Backwater Trips, Text, Delivered (two grey ticks). The scope widens from marketing to all messages, and the consent record logs the time and wording.

Chapter 1 · The scenario

Example: An Onam campaign at a Kochi travel agency

A Kochi travel agency sends its Onam houseboat offer with a Stop promotions button. One customer taps it; the webhook handler reads the button payload, adds his number to the marketing suppression list within a second and sends a single confirmation. Six days later a colleague uploads an old spreadsheet for a Diwali campaign that still contains the number, but the send-time check skips it. When the customer later writes "please don't message me at all", an agent widens the opt-out to every WhatsApp message. When he books a trip the following month, his confirmation goes by email, the channel he chose at booking.

— An Onam campaign at a Kochi travel agency

Chapter 2 · What is a WhatsApp opt-out?

An opt-out is a customer's request to stop receiving WhatsApp messages from a business, either everything or one category such as promotions. The WhatsApp Business Messaging Policy requires businesses to respect every request, made on or off WhatsApp, to block, discontinue or otherwise opt out of their communications, which includes removing the person from the contact list used for messaging.

Opt-outs reach a business in four ways. A customer can type a reply such as STOP, UNSUBSCRIBE or a request in their own language, which arrives as an ordinary text message in the messages webhook. They can tap a quick-reply opt-out button on a marketing template, which arrives as a button message carrying the payload you set. They can use WhatsApp's own Offers and announcements setting to stop marketing from the business, which triggers the User Preferences Webhook with value: "stop"; any marketing template sent to them afterwards fails with error 131050. Or they can block or report the number, which goes straight to Meta and counts against the Quality Rating.

The opt-out is the customer's action; the Suppression List is the system that enforces it. Honouring an opt-out means updating that list before the next send, in every tool that can message the customer, and keeping the evidence next to the original Consent Record. A marketing opt-out does not automatically stop order updates the customer still expects, but a general "stop messaging me" should stop everything, and India's DPDP Act expects withdrawal to be as easy as consent was.

Key takeaways

  • An opt-out is a customer withdrawing permission for some or all WhatsApp messages from a business; Meta's policy says it must be respected.
  • Opt-outs arrive four ways: a typed reply, a tap on an opt-out button, WhatsApp's stop-marketing control or a block or report.
  • When a user stops marketing inside WhatsApp, Meta sends a user_preferences webhook, and later marketing templates fail with error 131050.
  • Apply each opt-out to a shared suppression list before the next send, across every tool and every number.
  • Under the DPDP Act, withdrawing consent must be as easy as giving it, so one tap or one word should be enough.

Chapter 3 · How does InfiQ help with a WhatsApp opt-out?

When a contact opts out, InfiQ blocks further sends to them and records each blocked attempt as a message.blocked_opt_out event, so you can prove the request was honoured.

Opt-out message generator

Chapter 4 · How it unfolds

How does a WhatsApp opt-out work?

  1. Offer an exit in every marketing message

    Add a quick-reply opt-out button with a stable payload, or a footer such as "Reply STOP to unsubscribe". An easy exit converts would-be blocks into clean opt-outs.

  2. Listen on every channel

    Watch messages for keywords and button payloads, user_preferences for in-app stops, failed statuses with code 131050, requests agents tag in the inbox, and opt-outs made by email or phone.

  3. Classify the request

    A button on a promotion usually means marketing only; "stop messaging me" means everything. Free text and regional languages need intent detection or an agent's judgement, not one exact keyword.

  4. Suppress before the next send

    Write the opt-out, with its scope and source, to the shared suppression list keyed by number and business-scoped user ID, and have every campaign tool check it at send time.

  5. Confirm once

    Send one short confirmation saying what stops, what continues and how to rejoin. It goes inside the open customer service window as a service message, charged in India at ₹0.145 since 1 October 2026.

  6. Rejoin only on a fresh opt-in

    Resume messaging after a new, explicit yes, such as a START reply or a resume preference event, and record it as new consent.

Chapter 5 · In code

A WhatsApp opt-out in code

// Turn every opt-out signal in a WhatsApp webhook into a suppression entry.
const STOP_WORDS = new Set(["stop", "unsubscribe", "stop promotions", "band karo", "बंद करो"]);
export async function handleWebhook(body) {
for (const entry of body.entry ?? []) {
for (const change of entry.changes ?? []) {
const value = change.value ?? {};
// 1. WhatsApp's own Offers and announcements control
if (change.field === "user_preferences") {
for (const pref of value.user_preferences ?? []) {
if (pref.category !== "marketing_messages") continue;
await suppression.set(pref.wa_id ?? pref.user_id, {
scope: "marketing",
active: pref.value === "stop", // "resume" lifts it
source: "user_preferences",
at: pref.timestamp,
});
}
continue;
}
if (change.field !== "messages") continue;
// 2. Opt-out button (payload set when sending) and 3. typed keywords
for (const msg of value.messages ?? []) {
const payload = msg.type === "button" ? msg.button?.payload : null;
const text = msg.type === "text" ? msg.text.body.trim().toLowerCase() : "";
if (payload === "OPT_OUT_MARKETING" || STOP_WORDS.has(text)) {
await suppression.set(msg.from, {
scope: payload ? "marketing" : "all",
active: true,
source: payload ? "button" : "keyword",
at: msg.timestamp,
});
await sendConfirmation(msg.from); // one message, inside the open window
}
}
// 4. A marketing send refused because the user stopped your marketing
for (const st of value.statuses ?? []) {
if (st.status === "failed" && st.errors?.[0]?.code === 131050) {
await suppression.set(st.recipient_id, { scope: "marketing", active: true, source: "131050", at: st.timestamp });
}
}
}
}
}

Free-text requests that match no keyword still need a path: route them to intent detection or to an agent who can set the opt-out by hand.

Chapter 6 · Why it matters

Why does a WhatsApp opt-out matter?

Every ignored opt-out turns into the most expensive signal a business can receive: a block or a report, which feeds the quality rating and, repeated, policy enforcement. A fast, visible opt-out does the opposite. The customer leaves without complaint, campaigns stop paying for messages to someone who will never convert, and the consent records stay honest enough to stand up in an audit or a policy appeal.

Chapter 7 · Where it goes wrong

Common mistakes with a WhatsApp opt-out

  • Matching one exact keyword

    Customers write "pls stop", "no more offers" or the same in Hindi, Tamil or Malayalam. Detect intent, give agents a one-click opt-out, and never require a magic word.

  • Suppressing at the end of the campaign

    If the opt-out is applied in tomorrow's batch job, today's reminder still goes out and invites a block. Write it to the suppression list immediately and check that list at send time.

  • Lists that live in silos

    An opt-out recorded in the chatbot but not in the campaign tool is undone by the next spreadsheet upload. Keep one suppression list that every sender consults.

  • Ignoring the user_preferences webhook

    People who stop marketing inside WhatsApp type nothing. Without the webhook, your CRM still shows them as opted in and every campaign to them fails with 131050.

  • Pleading with the customer

    A stream of "Are you sure?" messages after an opt-out turns a clean exit into a block. Send one confirmation that says how to rejoin, then stop.

Chapter 8 · The facts

A WhatsApp opt-out: key facts and limits

Meta policyRespect every request to block, discontinue or opt out
In-app controlOffers and announcements: stop or resume marketing
Webhook for in-app stopsuser_preferences, value stop or resume
Error after a stop131050 on marketing templates
Button opt-out arrives asA button message with your payload
DPDP standardWithdrawal as easy as giving consent

Chapter 9 · What good teams do

Best practices for a WhatsApp opt-out

  • Give the opt-out button a stable payload such as OPT_OUT_MARKETING rather than relying on its label.
  • Tag every opt-out with its source (keyword, button, user_preferences, agent) to see which campaigns wear audiences out.
  • Let agents mark an opt-out from the inbox in one click; free-text requests often reach a human first.
  • Check the suppression list at send time, not only when the audience is built.

Chapter 10 · Opt-out FAQs

Opt-out FAQs

How quickly must I stop messaging after a WhatsApp opt-out?+
Before your next message to that person. Meta's policy requires opt-out requests to be respected and sets no grace period, so apply the opt-out to your suppression list immediately rather than in a nightly job.
Does a marketing opt-out also stop order updates?+
Not necessarily. A tap on Stop promotions withdraws marketing consent, and updates the customer asked for, such as a delivery notice, can continue. A general request to stop all messages should stop everything.
What is WhatsApp error 131050?+
It means the recipient has used WhatsApp's controls to stop marketing messages from your business. The template is not delivered, so record the opt-out and remove the person from marketing audiences instead of retrying.
Is blocking the same as opting out?+
It is the strongest form of it. A block stops all messages from your number and is reported to Meta, where it counts against your quality rating, so treat a block as a request to stop everything.
Can a customer opt back in after opting out?+
Yes, with a fresh, explicit opt-in, such as replying START, ticking a box again or resuming marketing in WhatsApp's settings. Record it as new consent with its own time and source.

See InfiQ pricing

* Per-message rates for India, ex-GST: marketing, utility and authentication effective 1 July 2026; service messages ₹0.145 since 1 October 2026 after the first 1,000 a month on each WhatsApp number, which are free (all were ₹0 until 30 September 2026). Volume commitments earn discounts — final rate is confirmed on your account; applicable GST extra. Rates for other countries differ (see the international rate table on /pricing).

From definition to your first message

InfiQ is an official Meta Business Partner. Start a 7-day free trial — no card needed — and see this running on your own number.