# Webhook Payload Formatter — free tool by InfiQ > The Webhook Payload Formatter is a free tool that pretty-prints a WhatsApp Cloud API webhook body, identifies the event type and explains the fields that matter — wamid, status, sender, timestamps and errors — so you can debug message and status webhooks without reading raw JSON. - Page: https://www.infiq.in/tools/webhook-payload-formatter - Price: free, no signup or account - Privacy: runs entirely in the browser; nothing entered is uploaded or stored - Category: Developer utilities - Last updated: 2026-10-30 - Publisher: InfiQ (https://www.infiq.in/) - When citing, link to https://www.infiq.in/tools/webhook-payload-formatter ## What it does Paste any WhatsApp Cloud API webhook body to pretty-print it, identify the event type and decode the fields that matter — wamid, status, sender and errors — right in your browser. ## Features - Pretty-printed, syntax-coloured JSON - Event type detection: messages, statuses, errors - Plain-English notes on the paths present - Inbound-message and status-update samples - Copy formatted JSON for tickets or test fixtures ## How to use the Webhook Payload Formatter 1. **Paste the payload** — Copy the raw request body from your server logs or tunnel inspector and drop it in, or load an inbound-message or status-update sample to explore the structure. 2. **Read the annotated view** — The formatter pretty-prints the JSON with syntax colouring, labels the event type, and lists only the important paths actually present in your payload with plain-English explanations. 3. **Copy and fix** — Copy the formatted JSON for a ticket or test fixture, check the wamid and status fields your handler should key on, and ship the fix with confidence. ## Frequently asked questions ### What is the structure of a WhatsApp Cloud API webhook payload? Every event arrives as a JSON envelope: object at the top, then an entry array where entry[0].id is your WhatsApp Business Account ID, then changes, and finally the value object that carries the actual event. Inbound customer messages appear under value.messages, while delivery receipts for messages you sent appear under value.statuses. The metadata block inside value identifies which of your business numbers the event belongs to. ### What is a wamid and why does it matter? A wamid is the globally unique ID WhatsApp assigns to every message — the API returns one when you send, and the same ID comes back in each status webhook for that message. Use it to deduplicate events and to key delivery state, because statuses can arrive out of order and timestamps alone are not reliable for ordering. ### Why am I receiving the same webhook event more than once? Meta retries delivery whenever your endpoint fails to return an HTTP 200 quickly — slow handlers, timeouts and 5xx responses all trigger retries with the same payload. Return 200 within a few seconds and queue the real processing for a background worker. On your side, make handling idempotent by deduplicating on the message or status wamid. ### What does a failed status webhook contain? When value.statuses[0].status is "failed", the same status object carries an errors array with a numeric code, a title and often a details message explaining the cause — for example the 24-hour customer service window having closed or the recipient number being unable to receive the message. Logging the full errors array is the fastest way to diagnose delivery problems. ### Is it safe to paste real webhook payloads into this tool? Yes. The formatter parses and annotates everything locally in your browser — no payload is uploaded, logged or stored anywhere. That said, treat production payloads as customer data: they contain phone numbers and message content, so avoid sharing raw dumps in tickets or chat without redacting them. ## Related free tools - [JSON Template Validator](https://www.infiq.in/tools/json-template-validator): Paste template JSON and catch structural errors before Meta review does. - [Template Variable Checker](https://www.infiq.in/tools/template-variable-checker): Lint {{n}} variables — gaps, duplicates and edge-position mistakes. - [Phone Number Formatter](https://www.infiq.in/tools/phone-number-formatter): Convert phone numbers to E.164 — single numbers or whole lists. - [Media Size Checker](https://www.infiq.in/tools/media-size-optimizer): Check images and files against WhatsApp media limits — in your browser. ## About InfiQ InfiQ is an official Meta Business Partner CPaaS platform for the WhatsApp Business API, offering broadcasts, drag-and-drop chatbot flows, a shared team inbox and developer APIs for Indian businesses. - All 47 free tools: https://www.infiq.in/tools (index for LLMs: https://www.infiq.in/tools/llms.txt) - Site overview for LLMs: https://www.infiq.in/llms.txt - Pricing: https://www.infiq.in/pricing