Update an existing WhatsApp message template. This is a pass through API, so the request body format and response format matches that of WhatsApp apis. Detailed documentation for this can be found here
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
whatsappApiVersion
string
required
whatsappMessageTemplateId
string
required
Body Params application/json
category
string
optional
components
array [object {2}]
optional
text
string
optional
type
string
optional
Example
{"category":"MARKETING","components":[{"text":"Hello, We are pleased to inform that you can now create message templates thorugh ChakraHQ.","type":"BODY"}]}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.chakrahq.com/v1/ext/plugin/whatsapp/api//' \
--header'Content-Type: application/json' \
--data-raw'{
"category": "MARKETING",
"components": [
{
"text": "Hello, We are pleased to inform that you can now create message templates thorugh ChakraHQ.",
"type": "BODY"
}
]
}'