Skip to main content
POST
Add a new template.

Authorizations

Authorization
string
header
required

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

Body

application/json

Template to store text with placeholders.

id
integer

Internal ID.

category
string | null

Category or directory to organize templates one level deep.

name
string

Name of template.

text
string

Template text with placeholders.

Example:

"Name of profile is $name$."

created_at
string<date-time> | null

Datetime when template was created.

Example:

"2023-01-01T12:00:00Z"

updated_at
string<date-time> | null

Datetime when template was last updated.

Example:

"2023-01-01T12:00:00Z"

Response

200 - application/json

Success

Template to store text with placeholders.

id
integer

Internal ID.

category
string | null

Category or directory to organize templates one level deep.

name
string

Name of template.

text
string

Template text with placeholders.

Example:

"Name of profile is $name$."

created_at
string<date-time> | null

Datetime when template was created.

Example:

"2023-01-01T12:00:00Z"

updated_at
string<date-time> | null

Datetime when template was last updated.

Example:

"2023-01-01T12:00:00Z"