post
https://app.trengo.com/api/v2/wa_templates
Create a WhatsApp template and submit it to Meta for review.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Trengo saves the template with status PENDING and submits it to Meta in the same request. When Meta refuses the template, the request fails with a 422 and Trengo saves nothing. Meta reviews the template within minutes to 24 hours. Then the status changes to ACCEPTED or DECLINED. To check the status, list the WhatsApp templates.
You cannot change the content of a template after you create it. To change it, delete the template and create a new one. For a media header, first upload the file with Upload a file, and use its id as the header value.
200