Back

Build and validate example WhatsApp Cloud API message payloads and code.

Enter your details

Inputs are processed in your browser. No WhatsApp message or API request is sent automatically.

Live JSON preview

{
  "messaging_product": "whatsapp",
  "recipient_type": "individual",
  "to": "RECIPIENT_PHONE_NUMBER",
  "type": "text",
  "text": {
    "preview_url": false,
    "body": "Message body"
  }
}

What this tool does

Build example JSON bodies for common WhatsApp Cloud API message types and review corresponding request examples before adapting them.

1. Enter your details

Fill in the fields relevant to your task. Required information is checked before processing.

2. Generate the result

Select Generate or Process. Any validation issue appears above the action controls.

3. Copy or download

Review the output, copy it to your clipboard or download it as a local file.

Example

Select Text, enter a recipient and body, then copy the payload. The generated code uses a placeholder token and is not sent.

Frequently asked questions

How should I use this result?

Payload schemas and API versions can change. Check Meta's current documentation before using an example in production.

Does this tool send a message or API request?

No message or API request is sent automatically. Any external action requires an explicit user click.

Related tools