patch

/templates/{template_id}

This API endpoint enables you to edit an existing template.

1 Path Parameter
1 Header

Request Body

1 Example
Schema
object
content
string

The updated HTML content. You can use attributes to display dynamic values such as name, account number, etc. for ex. [% NAME %] for NAME , [% AGE %] for AGE etc. It is recommended to pass the HTML content in the API as “URL encoded” to avoid any type of content distortion during the transmission/delivery of emails.

required
templateName
string

The new template name.

required
maxLength: 255
pattern: ^[a-z0-9A-Z_]{1,255}$

Responses

1 Example
Schema
object
data
object
templateId
string
templateName
string
message
string

Send a Test Request

Path Params
1 path param not set
template_id