Skip to main content
POST
Create template

Authorizations

Authorization
string
header
required

JWT Bearer token or raw API key via Authorization header

Body

application/json

Template payload

html_body
string
name
string
Example:

"Welcome Template"

preview_text
string
Example:

"A short introduction that appears in inbox previews"

subject
string
Example:

"Welcome to MailerPath"

text_body
string
type
integer
Example:

0

Response

Template created successfully

data
object
errors
object[]
message
string
Example:

"Operation successful"

meta
object
success
boolean
Example:

true