Skip to main content
GET
Get a message template

Authorizations

Authorization
string
header
required

Merchant API V2 token. Pass as Authorization: Bearer <token>.

Path Parameters

template_id
string
required

Response

Message template

id
string
required
object
enum<string>
required
Available options:
message_template
name
string
required
status
enum<string>
required

Meta review status. Only APPROVED templates can be sent.

Available options:
APPROVED,
IN_APPEAL,
PENDING,
REJECTED,
PENDING_DELETION,
DELETED,
DISABLED,
PAUSED,
LIMIT_EXCEEDED
category
enum<string>
required
Available options:
MARKETING,
UTILITY,
AUTHENTICATION
language
string
required
header
string | null
required
header_image_url
string | null
required
body
string
required
buttons
object[]
required
parameters
string[]
required

Named body variables this template expects, e.g. ["customer_name"]. Pass them as parameters when sending.

rejected_reason
string | null
required