Skip to main content
GET
Get a template

Authorizations

x-api-key
string
header
required

Workspace API key from Developers → API keys. It starts with tc_live_.

Path Parameters

id
string<uuid>
required

Response

The template.

name
string
required
Maximum string length: 100
category
enum<string>
required
Available options:
promotional,
transactional,
service
body
string
required

Message text with {{variable}} placeholders and Truecaller text styling.

Maximum string length: 1000
variable_defaults
object

Used when a contact's value is empty.

media
object | null

One attachment. Upload with Upload media, or give any public https URL.

buttons
(Link button · object | Quick reply · object)[]
Maximum array length: 3

Up to 3 per message. Labels and URLs can use {{variables}}.

id
string<uuid>
variables
string[]
Example:
status
enum<string>
Available options:
draft,
submitted,
approved,
rejected
reject_reason
string | null
created_at
string<date-time>
updated_at
string<date-time>