WhatsApp Opt-In Rules: What Meta Requires

What counts as valid opt-in, the two things the request must state, how to collect it across channels, and how to handle opt-out and blocks in your code.

Opt-in is the rule that decides whether a template can be sent at all. Meta states it plainly in several places, yet teams still treat it as a legal checkbox owned by someone else. For an integrator it is a data model: a flag, a source, a timestamp and a scope per contact, checked before every business-initiated send. This article lists what Meta requires, what it leaves to you, and how to build the check.

What Meta requires

Businesses are required to obtain opt-in before messaging people on WhatsApp. Meta says you may message someone only if you have their mobile number and have received opt-in permission from the recipient confirming that they wish to receive subsequent messages. The platform overview repeats it for templates: you must obtain user opt-in before sending message templates.

The request itself must meet two conditions. It must clearly state that the person is opting in to receive communication from the business, and it must clearly state the business's name. Meta also requires businesses to comply with applicable law. An opt-in that says you agree to receive updates with no business name does not meet the stated conditions.

Meta allows the opt-in to be general rather than specific to WhatsApp, as long as the business complies with all local laws. That means consent collected in a registration form can count, provided it names the business and states that the person will receive communication. Local law may still demand more, and that part is not something Meta's documentation can settle for you.

Where opt-in can be collected

Meta lists SMS, a website, a phone call through an IVR flow, and in person or on paper as supported ways to collect opt-in. Whatever channel you use, the flow should be clear and intuitive for users.

ChannelMeta lists itWhat to record
Website formYesURL, text shown, timestamp, number
SMSYesInbound message and timestamp
IVR phone flowYesCall ID, option chosen, timestamp
Paper or in personYesSigned document reference, date, who collected it

Meta's opt-in page does not address record keeping. That does not make records optional for you: when a customer disputes a message, the only defense is your own log. Store the channel, the exact consent text shown, the timestamp and the source of the number.

Scope: one consent or one per category

Meta offers two models: an opt-in that covers the different categories of messages you will send, such as order updates, offers and recommendations, or separate opt-ins by message category. The second reduces the risk that people block you because they receive something they did not expect.

For a data model, store consent as a set of scopes instead of a boolean. A contact may accept order updates and decline offers. If your sender checks the scope that matches the template category, you avoid the most common cause of blocks and reports.

contact_consent = { phone: "+15555550100", scopes: ["utility"], source: "website_form", text_version: "2026-10", granted_at: "2026-10-31T12:00:00Z", revoked_at: null }

The example is illustrative; the point is that each consent carries a source, a text version and a timestamp. When you change the wording on your form, bump the text version so you know which words each contact actually saw.

Opt-out, blocks and what the platform does about them

Meta expects you to provide clear instructions for how people can opt out of receiving specific categories of messages. People can also block or report a business, and they can stop receiving marketing messages from individual businesses. Meta adds that its systems rate limit businesses when quality is low for a sustained period.

Your system must treat every opt-out as immediate. Listen for the user_preferences webhook field, which fires when a WhatsApp user stops or resumes marketing messages from your business, with a value of stop or resume. Record the change and stop sending that category. It does not cover opt-outs expressed in a chat message, so keep a stop-word handler of your own. Opt-in confirmation templates exist for a reason too: Meta's categorization page describes utility templates that confirm opt-in as a follow-up to opt-in collected through other channels, and templates that confirm an opt-out.

Receiving the events requires an endpoint and a subscription, covered in the webhooks documentation. A sender that ignores them will keep messaging people who said stop.

What happens when opt-in is weak

Weak opt-in shows up as blocks and reports, falling quality and eventually enforcement. Meta's policy page lists spam among the violations and describes escalating restrictions for repeated ones: a warning, then restrictions of 1 or 3 days on templates, then 5, 7 or 30 days blocked from sending any messages, then an account lock that can be removed only through an appeal.

This is why opt-in design belongs in the architecture review. A well-scoped consent, an honest first message and an easy opt-out cost little. A sender with vague consent pays through lower quality, tighter limits and, in the worst case, loss of the number.

Example: consent in a checkout form

A store adds a checkbox to its checkout page. The text reads that the customer agrees to receive order updates from the store on WhatsApp, and the store's name appears in the sentence. The form records the number, the text version, the timestamp and a scope of utility. It does not tick the box by default.

Later, the store wants to send a different category of message. Because the original scope covers only order updates, the store runs a separate opt-in for the new category, using a short utility template to confirm the choice. Contacts who ignore it stay on order updates only. When someone replies with a stop word, a handler records revoked_at and removes the contact from the matching send lists. The sender checks the scope before each template call, using the API quickstart as its starting point.

A pre-send check you can implement today

Put the consent check in one function that every send path calls, and make the function fail closed. If a contact has no record, no matching scope or a revoked consent, the function refuses and logs the reason.

  • Look up the contact's consent record by phone number.
  • Confirm the scope matches the category of the template.
  • Confirm revoked_at is empty.
  • Log the decision with the template name and the consent text version.
  • Refuse and alert when a send is attempted without a record.

Run the function in tests with the awkward cases: a number with a formatting difference, a contact who revoked and later re-subscribed, and a consent granted for a different category. Those are the cases that turn into complaints.

Frequently asked questions

Is WhatsApp-specific consent required, or can general consent work?

Meta says opt-in can be general and not specifically for WhatsApp, as long as you comply with all local laws and the request states the business name and that the person will receive communication.

Which channels can I use to collect opt-in?

Meta lists SMS, a website, a phone call through an IVR flow, and in person or on paper. The flow should be clear and intuitive.

Does Meta require me to keep proof of opt-in?

Meta's opt-in page does not address record keeping. Keep your own log of channel, consent text, timestamp and number source so you can answer a dispute.

What happens if my contacts block or report me?

Meta says people can block or report a business and that its systems rate limit businesses with sustained low quality. Repeated policy violations lead to escalating restrictions.

Fontes

Documentação oficial da Meta, conferida em 31 de outubro de 2026.