Skip to main content
POST
Create template

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required
template_type
enum<string>
required
Available options:
terms-of-service,
refund-policy,
email,
invoice,
web-layer,
whatsapp,
chat,
push-notification,
webhook
content_type
enum<string>
required
Available options:
html,
markdown,
plaintext
content
string
required
description
string | null
activity
string | null

example - signup, order-confirmation, order-cancelled, order-refunded, cart-abandoned, etc.

content_title
string | null

to be used in email subject, notification heading if provided.

Response

200 - application/json

OK

message
string
success
boolean
content
object