1. Message
  • Getting Started
    • Introduction
    • Quickstart
    • Authentication
    • Status codes
  • Webhook
    • Webhook Setup
    • Webhook Events and Schema
  • SDKs
    • @klink.cloud/call-sdk
  • API Reference
    • Contact
      • Listing
      • Create
      • Filter By SocialPlatformId
      • Form Fields
      • Detail
      • Update
      • Delete
      • Fetch Contact Groups
      • Update tags
      • Filter By Phone Number
    • Tag
      • Listing
    • Channel
      • Listing
      • Create
    • Ticket
      • Listing
      • Create
      • Filter by Contact ID
      • Form Fields
      • Update
      • Update status
    • Category
      • Listing
    • CxLog
      • Listing
    • Message
      • Send message
        POST
      • Create comments
        POST
      • Get Comments
        GET
      • List WhatsApp templates
        GET
    • Media Manager
      • Upload File (multipart)
      • Get Folders
      • Get Folder By ID
      • Create Folder
      • Update Folder
      • Delete Folder
      • Get Files
      • Get File By ID
      • Create File
      • Update File
      • Delete File
    • Agent Activity
      • Get Agents Activities
    • Telephony
      • Get Telephony CDR
    • User
      • Create
      • Listing
      • Detail
      • Update
      • Delete
    • Automation Queue
      • Create
      • Listing
      • Detail
      • Update
      • Delete
      • Add Member
      • Remove Member
    • Role
      • Listing
    • Webchat Identity Verification
      • Get identity verification settings
      • Update identity verification settings
      • Create or rotate the identity secret
    • Schemas
      • RequestId
      • IdentityVerificationStatus
      • IdentityVerificationUpdate
      • IdentityVerificationSettings
      • IdentitySecret
      • userToken (JWT claims)
      • Error
Blog
Github
  1. Message

List WhatsApp templates

GET
/api/v1/whatsapp/templates
Lists the message templates of an official WhatsApp channel (360dialog / Meta), with each template's status and the variables to fill when sending it with Send message → whatsappTemplate.
Only APPROVED templates can be sent.
variables lists the body placeholders in order: "1", "2" for positional placeholders, or names such as first_name for named ones. Send a value for each.
QR-linked WhatsApp numbers have no templates.

Errors#

400: the channel isn't an official WhatsApp channel, has no API key yet (reconnect it), or 360dialog couldn't be reached.
404: the channel wasn't found.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Query Params

Responses

🟢200Success
application/json
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://apigw.klinkcx.com/api/v1/whatsapp/templates?channelId=undefined' \
--header 'Authorization: Bearer <token>'
Response Response Example
{"status": 200, "body": {"requestId": "8a1f2c3d-5e6f-4a7b-9c8d-0e1f2a3b4c5d", "data": [{"name": "welcomemessage", "language": "en", "category": "MARKETING", "status": "APPROVED", "components": [{"type": "BODY", "text": "Hey {{first_name}} 👋\n\nThanks for signing up for klink.cloud!"}], "variables": ["first_name"]}]}}
Modified at 2026-10-20 08:47:20
Previous
Get Comments
Next
Upload File (multipart)
Built with