Skip to content

Marketing Messages API

The Marketing Messages API is Meta’s way to send WhatsApp marketing templates (offers, sales, announcements). Meta uses it to deliver promotions to the people most likely to engage. It also unlocks two settings you can’t get with the normal Cloud API:

  • Max price: the most you pay per delivered message.
  • Delivery deadline: how long Meta keeps trying before it drops a message.

It only applies to marketing templates. Utility, authentication and service messages are sent the normal way.

New to this? Read What is the WhatsApp Marketing Messages API? first.

Your WhatsApp Business account has to be turned on for marketing messages in Meta. Check it in Wylto under Settings → Channels → WhatsApp, in the Marketing messages row.

WhatsApp settings card with the Marketing messages row showing Active
StatusWhat it means
ActiveYou’re ready. Nothing to do.
PendingMeta is reviewing it. Check back later.
Not activeFollow the steps shown under the row (below).
  1. Open WhatsApp Manager.
  2. Click Message Templates in the left menu.
  3. In the alert at the top, click Activate.
  4. Reload the Wylto settings page after 5 minutes.

2. Send a broadcast with the Marketing Messages API

Section titled “2. Send a broadcast with the Marketing Messages API”
  1. Go to Whatsapp → Broadcasts and click New broadcast.
  2. Pick a marketing template, choose your contacts and fill in the variables as usual.
  3. On the Send step, tick Use Marketing Messages API.
  4. Check the Delivery deadline line, then send now or schedule.
Broadcast send step with Use Marketing Messages API ticked and a delivery deadline of 30 days

A max price caps what Meta charges you for each delivered message. Meta charges that price or less. It is a cap, not a fixed price and not a budget.

  1. Go to Whatsapp → Templates & Flows.

  2. Click ⋯ on a marketing template and choose Max price and deadline.

    Template list with the actions menu open and Max price and deadline at the bottom
  3. Choose Set maximum price and type your price in rupees per delivered message. Or click Use on a row of the reach estimate (next section) to fill it in.

  4. Click Save.

Max price and deadline dialog with a maximum price of 0.80 INR, a 30-day deadline and the reach estimate table

To remove the cap, open the same dialog, choose Use default price and save.

The dialog shows Meta’s reach estimate for your WhatsApp account. For several max prices it shows:

  • Delivered per 1,000: out of every 1,000 people, how many Meta expects to deliver to (a low to high range).
  • Avg cost per message: what you’d likely pay on average per delivered message.
Reach estimate table for India over the last 7 days, with max price, delivered per 1,000 and average cost per message

Pick the country of your contacts and a period (last day, 7, 14 or 28 days). Click Use to set that row’s price as your max price.

How to use it:

  • Rows with 0–0 delivered mean the price is too low to reach anyone.
  • Look for the row where deliveries jump. Just above that point is usually good value.
  • Past a point, a higher cap adds deliveries but the average cost barely moves.

More on this: How to read a WhatsApp reach estimate.

The delivery deadline (Meta calls it TTL, “time to live”) is how long Meta keeps trying to deliver a message. If it can’t deliver in time (phone off, no internet, or Meta held it back), it drops the message. That way a “sale ends tonight” offer doesn’t land three days later.

You can set it from 12 hours to 30 days. The default is 30 days.

Delivery deadline dropdown set to 30 days with the helper text below it

Set it in the Max price and deadline dialog (step 3), or from the broadcast Send step: click Edit next to the deadline, pick a value and click Update.

Delivery deadline editor on the broadcast send step with Update and Cancel buttons
MessageDeadline to try
Flash sale, event-day reminder12 hours or 1 day
Weekend or limited-stock offer2 or 3 days
New arrivals, evergreen offer7 to 30 days

When the template has a max price, the Send step shows a Sent with the Marketing Messages API box instead of the checkbox. It shows:

  • The template’s max price, with Edit max price.
  • Estimated reach for your contacts and a rough total cost, from Meta’s reach estimate.
  • The delivery deadline, with Edit.
Broadcast send step for a template with a 0.80 INR max price, showing estimated reach of 875 to 1,245 of 2,500 contacts and a 30-day deadline

Edits here change the template at Meta for every send, not only this broadcast.

Can I send only between 9am and 9pm? No. Meta has no send window or quiet hours. You choose when the broadcast starts (send now or schedule). Meta decides when each message is delivered, within the deadline.

What does error 131061 mean? A template with a max price was sent with the normal Cloud API. Those templates can only go through the Marketing Messages API. Wylto does this for you in broadcasts, workflows, Shopify and API sends; you’d only see this if you call Meta’s API yourself.

How much will I pay? Meta charges per delivered marketing message. Rates depend on the recipient’s country and change from time to time, so check Meta’s pricing. With a max price, you never pay more than your cap per delivered message.

Does it work with my Shopify messages? Yes, for marketing templates. If the template has a max price, Wylto sends it with the Marketing Messages API.