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.
1. Turn on marketing messages
Section titled “1. Turn on marketing messages”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.
| Status | What it means |
|---|---|
| Active | You’re ready. Nothing to do. |
| Pending | Meta is reviewing it. Check back later. |
| Not active | Follow the steps shown under the row (below). |
- Open WhatsApp Manager.
- Click Message Templates in the left menu.
- In the alert at the top, click Activate.
- 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”- Go to Whatsapp → Broadcasts and click New broadcast.
- Pick a marketing template, choose your contacts and fill in the variables as usual.
- On the Send step, tick Use Marketing Messages API.
- Check the Delivery deadline line, then send now or schedule.
3. Set a max price on a template
Section titled “3. Set a max price on a template”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.
-
Go to Whatsapp → Templates & Flows.
-
Click ⋯ on a marketing template and choose Max price and deadline.
-
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.
-
Click Save.
To remove the cap, open the same dialog, choose Use default price and save.
4. Read the reach estimate
Section titled “4. Read the reach estimate”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.
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.
5. Set a delivery deadline
Section titled “5. Set a delivery deadline”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.
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.
| Message | Deadline to try |
|---|---|
| Flash sale, event-day reminder | 12 hours or 1 day |
| Weekend or limited-stock offer | 2 or 3 days |
| New arrivals, evergreen offer | 7 to 30 days |
Broadcasts with a max price template
Section titled “Broadcasts with a max price template”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.
Edits here change the template at Meta for every send, not only this broadcast.
Common questions
Section titled “Common questions”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.