ChakraHQ APIs
HomeSign In
HomeSign In
  1. Pass Through APIs
  • API Keys
  • Response Format
  • Whatsapp
    • Inbound Events Webhook
    • How to figure out pluginId and whatsappPhoneNumberId
    • Pass Through APIs
      • Create WhatsApp Message Template (pass-through)
        POST
      • List WhatsApp Message Templates (pass-through)
        GET
      • Update WhatsApp Message Template (pass-through)
        POST
      • Whatsapp Messages API (pass-through)
        POST
      • Fetch Whatsapp Media API
        GET
      • Show Whatsapp Media Attachments API
        GET
    • Send Whatsapp Template Message For Process
      POST
    • Send Whatsapp Template Message For A Phone Number
      POST
    • Upload Public Media
      POST
    • Show Whatsapp Media API
      GET
    • Create a lead
      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

Create WhatsApp Message Template (pass-through)

POST
https://api.chakrahq.com/v1/ext/plugin/whatsapp/api/{whatsappApiVersion}/{wabaId}/message_templates
Create a 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

Body Params application/json

Example
{
  "category": "MARKETING",
  "language": "en",
  "name": "demo_template",
  "components": [
    {
      "text": "Hi, We are pleased to inform that you can now create message templates thorugh ChakraHQ.",
      "type": "BODY"
    }
  ]
}

Request Code 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/83784929738012/v19.0/message_templates' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "category": "MARKETING",
  "language": "en",
  "name": "demo_template",
  "components": [
    {
      "text": "Hi, We are pleased to inform that you can now create message templates thorugh ChakraHQ.",
      "type": "BODY"
    }
  ]
}'

Responses

🟢200Success
application/json
Body

Example
{
    "id": "1944343716098895",
    "status": "PENDING",
    "category": "MARKETING"
}
🟠400Invalid input
Modified at 2025-06-03 10:24:36
Previous
How to figure out pluginId and whatsappPhoneNumberId
Next
List WhatsApp Message Templates (pass-through)
Built with