post
https://{defaultHost}/api/v4/messaging/whatsapp_templates
Creates a WhatsApp template on one channel profile and submits it to the provider for review. Returns the template with status pending.
Rules are those of the Message templates page; a broken rule answers 422 and creates nothing. header, footer and buttons are not available on a Tyntec channel profile. Read-only fields, such as status, are ignored.
A file in header.url is fetched after the response:
- Until the file is stored,
header.default_mediaisfalseand the template is not yet submitted. - If the file cannot be fetched or stored, or breaks the limits of its header type, the template becomes
rejectedandstatus_reasonstarts withDefault media:. Update it with a new file to submit it.
Requires the messaging.whatsapp_templates.manage scope.