Skip to main content
POST
Create Template

Headers

Authorization
string | null

Body

application/json

Request to create a template.

name
string
required
Required string length: 1 - 255
content
string
required
Required string length: 1 - 4000
category
string
default:marketing
media_type
string | null
media_url
string | null

Response

Successful Response

Full template response.

id
string<uuid>
required
name
string
required
category
string
required
content
string
required
variables
string[]
required
builtin_variables
string[]
required
custom_variables
string[]
required
is_active
boolean
required
times_used
integer
required
created_at
string
required
updated_at
string
required
media_type
string | null
media_url
string | null
last_used_at
string | null