ChakraHQ APIs
HomeSign In
HomeSign In
  1. Pass Through APIs
  • API Keys
  • Response Format
  • Whatsapp
    • Inbound Events Webhook
    • Pass Through APIs
      • Create WhatsApp Message Template (pass-through)
        POST
      • List WhatsApp Message Templates (pass-through)
        GET
      • Update WhatsApp Message Template (pass-through)
        POST
    • Send Whatsapp Template Message For Process
      POST
    • Send Whatsapp Template Message For A Phone Number
      POST
    • Upload Public Media
      POST
    • Whatsapp Messages API (pass-through)
      POST
  • Platform
    • Process
      • Fetch Process By Id
      • List Processes
      • Create Process
      • Update Process
      • Update Process By Primary Key
      • Delete Process
      • Delete Process By Primary Key Value
      • Bulk Create Process API
      • Bulk Update Process API
    • Task
      • Create Task API
    • User
      • List Users API
      • List Users API (V2)
      • Fetch User API
      • Fetch User API (V2)
      • Update User API
    • Photo
      • Fetch Photo API
      • Upload Photo API
      • Upload Photo API With Id
    • Background Job
      • Fetch Background Job
      • Fetch Background Job Entries API
    • Fetch Config
      GET
  1. Pass Through APIs

Update WhatsApp Message Template (pass-through)

POST
https://api.chakrahq.com/v1/ext/plugin/whatsapp/api/{whatsappApiVersion}/{whatsappMessageTemplateId}
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"
    }
  ]
}'

Responses

🟢200Success
application/json
Body
success
boolean 
required
id
string 
required
name
string 
required
category
string 
required
Example
{
  "success": true,
  "id": "1944343716098895",
  "name": "demo_template",
  "category": "MARKETING"
}
Previous
List WhatsApp Message Templates (pass-through)
Next
Send Whatsapp Template Message For Process
Built with