Coupon Templates
Coupon templates let you send promotional messages with a copy-to-clipboard coupon code. When the user taps the coupon button, the code is copied to their clipboard for easy use. These templates can also include additional action and quick reply buttons.
Block Structure
A coupon template uses a single whatsapp-coupon block:
Header
No
1
Text, image, or file header
Body text
Yes
1
Main message text (max 1024 characters)
Footer text
No
1
Text below the body (max 60 characters)
Coupon action
Yes
1
Copy-code button for the coupon
Additional buttons
No
9
Link, phone, or quick reply buttons
Here's how a coupon template with a text header, body, footer, and additional link button renders on WhatsApp:

The "Copy offer code" button copies the coupon code to the user's clipboard. The link preview at the top is automatically generated by WhatsApp from the link button URL.
Header
Coupon templates support three header types (all optional):
Text header:
Image header:
File/video header:
If you need to host media, use the Media Library API to upload files and get a mediaUrl. See Image Template Blocks -- Uploading media for the full upload flow.
Body
The body is mandatory. It should describe the offer and typically includes the coupon code variable.
Footer
Optional text footer, max 60 characters.
Coupon Action
The coupon action creates a "Copy code" button. When tapped, the code is copied to the user's clipboard.
code
Yes
The coupon code to copy. Can be a static string or a variable.
When using a variable for the coupon code, the same variable should appear in the body text so the user can see the code before copying it.
Additional Buttons
Coupon templates can include up to 9 additional buttons alongside the coupon action (for a combined total matching the standard button limits). These follow the same types and ordering rules as text templates.
See Text Template Blocks -- Buttons for button types and ordering rules.
Complete Example
Related
Text Template Blocks -- Standard text templates with buttons
Limited Time Offer Template Blocks -- Time-sensitive promotions with countdown
Creating WhatsApp Message Templates -- Full template creation workflow
Last updated
Was this helpful?

