Skip to main content
GET
Get message template by ID

Authorizations

X-API-Key
string
header
required

Project API key for authentication. This is the recommended authentication method.

Get your API key from the Kapso dashboard under Integrations > API keys.

Path Parameters

business_account_id
string
required

WhatsApp Business Account ID

template_id
string
required

Template ID

Query Parameters

fields
string

Comma-separated list of fields to retrieve

Response

Successfully retrieved template

id
string

Template ID

Example:

"1259544702043867"

name
string
Example:

"order_confirmation"

language
string
Example:

"en_US"

status
enum<string>
Available options:
APPROVED,
PENDING,
REJECTED
Example:

"APPROVED"

category
enum<string>
Available options:
AUTHENTICATION,
MARKETING,
UTILITY
Example:

"UTILITY"

previous_category
string

Previous category if changed

Example:

"ACCOUNT_UPDATE"

components
object[]

Template components (header, body, footer, buttons)