Skip to main content
PUT
Update template

Authorizations

Authorization
string
header
required

JWT Bearer token or raw API key via Authorization header

Path Parameters

id
integer
required

Template ID

Body

application/json

Template update 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 updated successfully

data
object
errors
object[]
message
string
Example:

"Operation successful"

meta
object
success
boolean
Example:

true