Validate a template draft
Check a WhatsApp template draft for errors without saving it. Takes the same body as POST /v1/templates.
Authorizations
Body
Ordered components: HEADER, BODY, FOOTER, BUTTONS, CAROUSEL. HEADER format TEXT (text; example.header_text for {{1}}), IMAGE, VIDEO or DOCUMENT (example.header_handle ["https://..."], uploaded to Meta on submit; not http, and a wrong file type fails submit), or LOCATION. Carousel card headers too. Buttons: QUICK_REPLY (text, max 10, adjacent), URL (text, https url, example for {{1}}, max 2), PHONE_NUMBER (text, phone_number, 1), FLOW (text, flow_id, 1), COPY_CODE (example up to 20 chars, 1), OTP (otp_type COPY_CODE or ONE_TAP, alone, AUTHENTICATION).
File name shown on WhatsApp for a DOCUMENT header, for example flowella-playbook.pdf. Sanitised to 60 characters with a supported extension (pdf added when missing). Flowella-side only: it is not sent to Meta for review. Empty string or null clears it. When unset, the slugged template name is used.
255"flowella-playbook.pdf"

