Skip to main content
coupon_code Message with a copyable discount code.

How it works

The copy code button is the heart of the model: the customer taps and the code goes to the clipboard, ready to paste on your site or in your app. The code you put in at creation is the sample Meta’s reviewer reads. The real code for each send goes as a button parameter, so the same approved message serves campaigns with different codes.

At creation and at send time

Fields in this model

Full JSON

Two JSON payloads: one creates the template, and Meta approves it once. The other sends the message, and goes on every dispatch, with that send’s values in the variables marked with braces.

1. Create the template

POST /whatsapp/businesses/{wabaId}/templates — see API reference.

2. Send it once approved

POST /v1/channels/{channelId}/messages — see Send template.

What Meta rejects here

  • A code with a space, accent or symbol, or over 20 characters.
  • More than one copy code button.
  • A quick reply in the middle of the other buttons: they must stay together.
  • A variable in the coupon code, which is not accepted.