Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Staff session or API token issued by your Voyant app.

Body

application/json
id
string
required
Example:

"ctpl_01HZX..."

name
string
required
slug
string | null
body
string

Template body markup with variable placeholders.

isDefault
boolean
default:false
language
string | null

Response

Created template

data
object