v1

latestOpenAPI 3.0.12026-07-2471135326.0 KB
Templates

Edit Carousel Message Template

Edit a message template for a specific WABA. It is important that the template ID for each language is indicated in the request body.

put/v2/whatsapp/templates/

Query parameters

wabaIdstring

Request body

wabaIdinteger

WhatsApp Business Account ID.

namestring required
<p>Name of the message template created in your WhatsApp Business Account.</p> <p>The name of each message template you create cannot be the same.</p>
category'' | '' | '' required
<p>Type of message template.</p> <p>Supported Message Template Categories for WhatsApp Text Message Template.</p> <p><ul> <li><p><code>MARKETING</code>: Send promotional offers, product announcements, and more to increase awareness and engagement.</p></li> <li><p><code>UTILITY</code>: Send account updates, order updates, alerts, and more to share important information.</p></li> <li><p><code>AUTHENTICATION</code>: authentication message template with a one-time password button (OTP) to deliver the password or code.</p></li></ul></p>

Response

OK

reasonstring

Example response

{
  "meta": {
    "timestamp": 1597166699457,
    "transactionId": "70169d77-c165-4795-9932-35b8a3af96fb",
    "explain": "a descriptive text"
  },
  "errors": {
    "reason": "a descriptive text"
  }
}