Messenger· 7 min read

Messenger marketing messages: opt-in, tokens and the paid API


Messenger’s free recurring notifications, which Meta later renamed “marketing messages”, were deprecated on February 10, 2026. Promotional sends outside the messaging window now go through a separate, paid product: the Marketing Message API for Messenger. Only tech providers whose app passed App Review can use it. Meta bills each delivered message to the business’s ad account, and the send call is POST /act_<AD_ACCOUNT_ID>/messages, not the Page Send API. The opt-in template and the subscription token from the old flow still exist, and they feed the new API.

What happened to recurring notifications

“Marketing messages (also known as Recurring Notifications) on Messenger will be deprecated on February 10, 2026,” says Meta’s legacy page (accessed 2026-11-04).

Date Change
February 2, 2023 User-picked frequency (DAILY, WEEKLY, MONTHLY) deprecated for new tokens
July 1, 2025 Marketing Message API for Messenger opens to partners
September 1, 2025 No new recurring-notification integrations; cooldown moves from 24 to 48 hours
February 10, 2026 Recurring notifications deprecated

Meta’s FAQ says the shutdown applies globally except in Australia, the EU, Japan, South Korea and the UK (Marketing Message API FAQ, accessed 2026-11-04). Outside those five, recurring-notification sends return errors. Those five are the subscriber regions the new API excludes. (The FAQ’s availability section says January 12.)

Existing subscriber tokens and freeform content carry over, according to the FAQ. If you used message tags for order or account updates, those moved to Utility templates, covered in Messenger message tags outside the 24-hour window.

Who can send and where

The API is “available exclusively to” tech providers (overview, accessed 2026-11-04). The app needs App Review and Advanced access for ads_management, pages_messaging, and either paid_marketing_messages or marketing_messages_messenger. The get started guide adds a Business-type app in Live mode with Messenger, Facebook Login for Business and Marketing API Access Tier. Testing needs a Page, an ad account with a payment method, and accounts owned by a different business portfolio than the app. The Page access token for the opt-in and unsubscribe calls comes from the Send API setup.

Regions List
Business regions (20) Australia, Brazil, Chile, Colombia, Hong Kong, India, Indonesia, Israel, Malaysia, Mexico, New Zealand, Peru, Philippines, Saudi Arabia, Singapore, Taiwan, Thailand, United Arab Emirates, United States, Vietnam
Subscriber regions excluded EU, Japan, South Korea, Australia, UK

An Australian business can send, but not to Australian subscribers. Political parties, candidates, campaigns and their vendors are unsupported at launch.

Meta charges only for messages delivered to the device, on the same bill as Meta ads. None of the developer pages cited here states a per-message price. A changelog entry of June 30, 2026 says campaigns no longer require a budget, and Meta may set an estimated cap (changelog, accessed 2026-11-04). GET /act_<AD_ACCOUNT_ID>/message_delivery_estimate returns bounds such as estimate_cost_lower_bound before you send.

How people subscribe

Meta’s audience guide documents four sources:

  1. Click-to-Messenger ads. People who click and respond are subscribed with no separate opt-in.
  2. A Custom Audience upload of hashed emails or phone numbers, up to 10,000 records per request. Meta gives match rates “from 20% to 70%”. You can’t upload PSIDs.
  3. The opt-in request template, sent after the person has messaged the Page.
  4. Organic automations: prompts after high-intent comments (purchase, price, payment, product inquiry, booking) and after 48 hours without replies.

The opt-in request template

The template is a Page Send API message with template_type set to notification_messages. This is Meta’s sample with -Header corrected to -H and v26.0 in place of the version placeholder. Meta’s guides use a version placeholder, and its API reference shows v24.0.

curl -X POST "https://graph.facebook.com/v26.0/<PAGE_ID>/messages" \
     -H "Authorization: Bearer <PAGE_ACCESS_TOKEN>" \
     -H "Content-Type: application/json" \
     -d '{
           "recipient": { "id": "<PSID>" },
           "page": "<PAGE_ID>",
           "message": {
             "attachment": {
               "type": "template",
               "payload": {
                 "template_type": "notification_messages",
                 "notification_messages_timezone": "<CUSTOMERS_TIME_ZONE>",
                 "title": "<MESSAGE_TITLE>",
                 "image_url": "<IMAGE_URL>",
                 "payload": "<ADDITIONAL_WEBHOOK_INFORMATION>"
               }
             }
           }
        }'

The legacy page documents the other template fields. title takes up to 65 characters. image_aspect_ratio is SQUARE or HORIZONTAL. notification_messages_cta_text is one of ALLOW, GET, GET_UPDATES (the default), OPT_IN or SIGN_UP. elements turns the request into a carousel of 1 to 5 items. Leave out notification_messages_frequency, which the messaging_optins reference marks “Removed in API v16”.

Send the request only inside the standard messaging window. Accepting it doesn’t open a new window. The legacy page adds: “You can only send one opt in request per week with the same, specific title to a person.” Meta states no numeric limit for the new API.

The messaging_optins webhook

When the person accepts, a messaging_optins event carries the token. The JSON below is Meta’s sample from the audience guide, cleaned. Trailing commas, a stray brace and a code comment are removed, a missing comma is added, and placeholders use underscores.

{
  "sender": { "id": "<PSID>" },
  "recipient": { "id": "<PAGE_ID>" },
  "timestamp": "<TIMESTAMP>",
  "optin": {
    "type": "notification_messages",
    "payload": "<ADDITIONAL_WEBHOOK_INFORMATION>",
    "notification_messages_token": "<SUBSCRIPTION_TOKEN_ID>",
    "notification_messages_timezone": "<TIMEZONE_ID>",
    "user_token_status": "<TOKEN_STATUS>",
    "notification_messages_status": "<MESSAGE_STATUS>",
    "title": "<TITLE_FOR_THE_NOTIFICATION>"
  }
}

user_token_status is REFRESHED or NOT_REFRESHED. notification_messages_status appears only when the person stops or resumes, with STOP NOTIFICATIONS or RESUME NOTIFICATIONS. Store the token against the PSID and the Page.

Subscription tokens

Per the FAQ, tokens don’t expire unless the subscriber opts out, and each person has one token per Page. The legacy token_expiry_timestamp field and error 2300037 (“subscription token has expired”) are still documented, so handle the error anyway.

To list a Page’s tokens, call GET /<PAGE_ID>/notification_message_tokens with a Page access token (get subscription tokens, accessed 2026-11-04). limit defaults to 100, with a maximum of 1,000. Page with cursors.after or the next URL. Each token returns recipient_id (the PSID), topic_title, user_token_status and next_eligible_time. Tokens from Custom Audiences come back without the PSID.

Send a marketing message

Sending takes two calls with a system user token (send messages, accessed 2026-11-04). First create a campaign. Only name and page_id are required. daily_budget and lifetime_budget are optional and in cents, and start_time can be up to 30 days ahead. Creating a campaign sends nothing and charges nothing.

curl -X POST "https://graph.facebook.com/v26.0/act_<AD_ACCOUNT_ID>/message_campaign" \
     -H "Authorization: Bearer <SYSTEM_USER_ACCESS_TOKEN>" \
     -H "Content-Type: application/json" \
     -d '{ "name": "<MESSAGE_CAMPAIGN_NAME>", "page_id": "<PAGE_ID>" }'

The response is {"id": "<MESSAGE_CAMPAIGN_ID>"}. Pass that ID as message_id in the send, with the subscriber’s token. This is Meta’s sample with the version filled in, the campaign placeholder shortened and the buttons on one line.

curl -X POST "https://graph.facebook.com/v26.0/act_<AD_ACCOUNT_ID>/messages" \
     -H "Authorization: Bearer <SYSTEM_USER_ACCESS_TOKEN>" \
     -H "Content-Type: application/json" \
     -d '{
           "message_id": "<MESSAGE_CAMPAIGN_ID>",
           "messenger_delivery_data": {
             "subscription_token": "<SUBSCRIPTION_TOKEN_ID>"
           },
           "message": {
             "attachment": {
               "type": "template",
               "payload": {
                 "template_type": "generic",
                 "elements": [
                   {
                     "title": "<MESSAGE_TITLE>",
                     "image_url": "<IMAGE_URL>",
                     "subtitle": "<ADDITIONAL_MESSAGE_TEXT>",
                     "default_action": {
                       "type": "web_url",
                       "url": "<DEFAULT_URL_TO_OPEN>",
                       "webview_height_ratio": "<COMPACT_FULL_TALL>"
                     },
                     "buttons": [
                       { "type": "web_url", "url": "<BUTTON_URL>", "title": "<BUTTON_TEXT>" }
                     ]
                   }
                 ]
               }
             }
           }
         }'

A success returns "success": true and a marketing_message_tracking_id, which means the API accepted the message. Delivery arrives on the marketing_message_deliveries webhook, and failures on marketing_message_delivery_failed. For Custom Audience subscribers, those webhooks hide recipient_id and mid. Delivered messages carry marketing_message_id, equal to the message_id you sent, in the Conversations API.

The message can go out after the standard window has closed. If the person replies, a new 24-hour window opens for normal Send API replies. The optional min_conversation_gap_seconds blocks a send when the thread had recent organic activity, and returns error 2300052.

Cooldown and frequency caps

Each subscription_token can receive one message every 12 hours. The send guide states it, and the changelog of August 11, 2025 records the cut from 24 hours. The FAQ still says “one marketing message per unique user per day”, so build for 12 hours and expect fewer. Meta also applies frequency caps automatically, enforced since April 10, 2026, across businesses and for repeat messages from one business. Some messages won’t be delivered, and Meta calls that expected. Read next_eligible_time on the token before you queue a send.

Opt-out

Every marketing message carries an opt-out link that Meta writes and you can’t change. Opting out stops marketing messages from that Page only. Meta doesn’t currently send a webhook for opt-outs, so the first sign is error 2300034 on your next send. Mark the token as opted out when you see it. The legacy STOP NOTIFICATIONS status belonged to the old flow.

To unsubscribe someone on your side, for example after an email request, call the Unsubscribe API, added June 11, 2026. Each row can hold a phone, email, hashed values, a PSID or a token. This is Meta’s sample trimmed to two rows, with the version filled in.

curl -X POST "https://graph.facebook.com/v26.0/<PAGE_ID>/messaging_customer_base/unsubscribe" \
     -H "Authorization: Bearer <PAGE_ACCESS_TOKEN>" \
     -H "Content-Type: application/json" \
     -d '{ "data": [ { "psid": "<PSID>" }, { "subscriber_token": "<SUBSCRIPTION_TOKEN_ID>" } ] }'

The response reports invalid_rows_count. A person who opted out can subscribe again through any opt-in source.

Error codes to handle

These come from the API reference (accessed 2026-11-04).

Code Meaning What to do
2300004, 2300005 Token can’t be loaded, or belongs to another Page Fix the token or Page ID
2300011, 2300013 No payment method; terms not accepted Send the business back to onboarding
2300030 to 2300032 Ad account, Page or token in an unsupported region Stop sending to that token
2300034 Subscriber opted out Mark opted out, never retry
2300035, 2300042 to 2300044 Cooldown not passed; frequency caps Wait for next_eligible_time
2300037 Token expired Ask for a new opt-in
2300052 Recent organic activity in the thread Retry later or drop
2300078 to 2300080 Send, campaign or token-query rate exceeded Back off
2300055, 2300057, 2300060 to 2300063, 2300068, 2300081 to 2300083 Temporary Retry later with backoff

Z-API Omni team