List WhatsApp message templates. This is a pass through API, so the request body format and response format matches that of WhatsApp apis.
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
whatsappApiVersion
string
required
Example:
83784929738012
wabaId
string
required
Example:
v19.0
Query Params
limit
string
optional
Number of entries to return per request
Example:
25
after
string
optional
The cursor to use as a reference for fetching the next page of templates
Example:
mJxa1
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 GET 'https://api.chakrahq.com/v1/ext/plugin/whatsapp/api/83784929738012/v19.0/message_templates?limit=25&after=mJxa1'
Responses
🟢200Success
application/json
Body
data
array [object {7}]
required
name
string
optional
parameter_format
string
optional
components
array [object {2}]
optional
language
string
optional
status
string
optional
category
string
optional
id
string
optional
paging
object
required
cursors
object
required
next
string
optional
Example
{"data":[{"name":"demo_template","parameter_format":"POSITIONAL","components":[{"type":"BODY","text":"Hello, We are pleased to inform that you can now create message templates thorugh ChakraHQ."}],"language":"en","status":"APPROVED","category":"MARKETING","id":"1944343716098895"}],"paging":{"cursors":{"before":"MAZDZD","after":"MjQZD"},"next":"http://localhost:1337/v1/ext/plugin/whatsapp/api/v16.0/103966842495940/message_templates?limit=25&after=MjQZD"}}