Skip to main content
POST
Create a template or replace its draft

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
key
string
required
subject
string
required
html
string
required
name
string
description
string
text
string
notes
string
sample_data
object
data
object

Record data a template merges. The caller loads it; a declared tag with no value renders blank.

source
enum<string>
Available options:
abbie,
api
session_id
string

Response

Success

data
object
required

One per account and key. A template holds a draft and a published version.