Skip to content

Sample Values

Also called: Sample value · Template samples · Example values · Variable samples · Template example parameters

Definition
Example content you attach to every template variable and media header at submission, so Meta's reviewers can judge the message customers will see.

Exhibit A

Where does each sample go in the request?

Minifying strips the whitespace people need and machines don’t, so every request is smaller.

Try

Pretty-printed JSON.

As sent in the create-template request
{"type":"BODY","text":"Hi {{1}}, your order {{2}} ships on {{3}}.","example":{"body_text":[["Priya","IQ-48213","Friday, 24 October"]]}}
Bytes before
159
Bytes after
135
Saved
15%
  • 159 → 135 bytes: 15% smaller.
  • Only whitespace between tokens was removed — spaces inside strings are data and stay.
  • Minify what goes over the wire; keep the pretty version for people.
Pick a component to see its example block as you would write it, then as it travels in the create-template request. Edit the JSON to try your own samples; broken JSON is flagged.

What is a sample value?

Sample values are the example data you submit with a WhatsApp message template so the reviewer sees a finished message instead of bare placeholders. A body reading “Hi {{1}}, your order {{2}} ships on {{3}}” means little on its own; filled with “Priya”, “IQ-48213” and “Friday, 24 October” it reads as an order update and can be judged on policy, clarity and category. Meta requires an example for every parameter.

Each component carries its samples in an example object. Body variables go in body_text — an array holding one array of values in placeholder order — or in body_text_named_params for named parameters. A text header uses header_text. A media header uses header_handle: a handle for an example image, video or document uploaded through the Resumable Upload API, and Meta reviews that asset as part of the template. A URL button with a variable takes the complete example URL in its example array.

Samples are review-only: they are never sent to customers, and every real send supplies its own values. They still shape what happens after approval, because the policy and category decision is made on the message as your samples render it. A sample that makes a utility template read like a promotion, or a one-letter sample that leaves the purpose unclear, is one of the most avoidable causes of rejection or of an unwanted marketing category — and Meta asks for a sample when you appeal a rejected template, too.

Key takeaways

  • Sample values are example data you attach to every template variable and media header so Meta's reviewers can read the finished message.
  • Samples go in each component's example object: body_text, body_text_named_params, header_text, header_handle or a URL button's example.
  • Samples are review-only and never reach customers; every real send supplies its own values.
  • Dummy samples such as "test" are a common rejection cause, and promotional samples can get a utility template approved as marketing.
  • Meta also requires a sample when you appeal a rejected template, so keep reviewed samples stored with the template.

How does InfiQ help with a sample value?

InfiQ's template manager asks for a realistic sample for each variable before submission, so Meta's reviewers can see how the message renders.

Template management on InfiQ

Example: Same text, better samples

A Lucknow coaching institute submits a utility template: “Dear {{1}}, the {{2}} batch starts on {{3}} at {{4}}. Reply YES to confirm your seat.” The first attempt used the samples “a”, “b”, “c” and “d” and was rejected — the reviewer could not tell what the message was for. Resubmitted unchanged except for the samples “Ananya”, “JEE Weekend”, “Saturday, 1 November” and “Aliganj centre”, it reads as a seat confirmation for a course the student enrolled in, and it was approved as utility on the next review.

How does a sample value work?

  1. List what each variable really holds

    For every placeholder, note the production data behind it: a first name, an order ID in your real format, a date as customers read it, an amount with its currency.

  2. Write production-shaped samples

    Use believable, invented values of realistic length — “Priya”, “IQ-48213”, “Friday, 24 October” — not “test”, “xxx” or a placeholder copied back in. Never paste a real customer's details.

  3. Prepare media and URL examples

    Upload a representative header image, video or document to get a header_handle, and give each dynamic URL button a complete example URL that shows what the suffix will look like.

  4. Read the rendered message

    Before submitting, read the message with every sample in place. If it sounds promotional it will be judged as marketing; if it is unclear it will be rejected.

  5. Keep the samples with the template

    Store samples alongside the template definition so a later edit, a new language or an appeal reuses the same, already-reviewed examples.

Common mistakes with a sample value

  • Dummy text

    “test”, single letters or “xxx” leave the reviewer unable to tell what the template does, which is a common route to rejection. Use values that look like the real data.

  • Samples that change the category

    A sample such as “FLAT 50% OFF” in an order-update variable makes the whole message read as promotional, and it can be approved as marketing. Keep each sample true to its variable's purpose.

  • Real customer data

    Pasting a real person's name, number or order into a sample exposes personal data for no benefit. Invent realistic values, and keep a reusable set of safe examples per field.

  • Samples shorter than real values

    A template approved with “Raj” may look broken with a 30-character name, and a finished message that ends up too long fails at send (error 132005). Size samples like your longest real values.

  • Leaving media and URL examples to last

    A media header needs an uploaded example asset and a dynamic URL button an example URL before the template can be submitted. Prepare both alongside the text.

Best practices for a sample value

  • Keep a sample sheet per data field — names, IDs, dates, amounts — so every template uses the same believable examples.
  • Make the sample header image the real creative, or very close to it.
  • Write dates and amounts in exactly the format your system will send.
  • Re-read the rendered sample message as if you were the customer who triggered it.

Why does a sample value matter?

Review is the gate between a drafted template and a sendable one, and the reviewer only ever sees what your samples show. Realistic examples let Meta's checks read the template the way your customers will, which is the fastest route to approval in the category you intended. Lazy samples cost a review cycle each time — up to 24 hours per round — and on a launch day that can decide whether a campaign goes out on time.

Sample Values FAQs

Are sample values ever sent to customers?+
No. They exist only for review. Each real send supplies its own values, and the samples are never delivered.
Does a template without variables need samples?+
Only if it has a media header, which needs an example asset. A text-only template with no variables has nothing to sample.
Can bad samples change what I pay?+
Indirectly. Price follows the template category, and the category is judged on the rendered message. Samples that read as promotional can see a utility template approved as marketing and charged at the marketing rate on every delivery.
Can I use a real customer's details as a sample?+
Avoid it. Samples only need to look real. Invented values of the right shape and length work just as well and keep personal data out of the review process.

See InfiQ pricing

Try it on the official WhatsApp Business API

InfiQ is an official Meta Business Partner. Start a 7-day free trial — no card needed — and see this running on your own number.