Skip to main content
PATCH
Update WhatsApp template

Authorizations

api_access_token
string
header
required

All API requests must include the api_access_token header with a valid agent or administrator token.

Body

application/json
name
string
required
category
enum<string>
required
Available options:
MARKETING,
UTILITY,
AUTHENTICATION
language
string
required
Example:

"en_US"

whatsapp_channel_id
integer
required
parameter_format
enum<string>

Variable format style for body placeholders

Available options:
named,
positional
components
object[]
variable_mappings
object

Map of variable names to contact attribute paths

Response

Template updated

id
integer
name
string
category
enum<string>
Available options:
MARKETING,
UTILITY,
AUTHENTICATION
language
string
Example:

"en_US"

status
enum<string>
Available options:
draft,
pending,
approved,
rejected,
paused
whatsapp_channel_id
integer
parameter_format
enum<string>
Available options:
named,
positional
components
object[]
variable_mappings
object
created_at
string<date-time>
updated_at
string<date-time>