Skip to main content
POST
Register a DLT content template

Authorizations

Authorization
string
header
required

Dashboard JWT token from Clerk

Body

application/json
principal_id
string
required
template_name
string
required
Required string length: 1 - 200
category
enum<string>
required
Available options:
promotional,
transactional,
service_implicit,
service_explicit
template_type
enum<string>
required
Available options:
text,
unicode,
unicode_text,
otp
content
string
required

The message body with {#var#} placeholders.

Required string length: 1 - 2000
header_id
string
template_id
string
Maximum string length: 64
variables
string[]
Maximum array length: 20

Response

The created content template.

data
object

The stored content-template row (id, principal_id, template_name, content, status, …).

meta
object