v1
latestOpenAPI 3.1.02026-07-2616459400.5 KBTemplate APIs
Update Template
This endpoint allows you to update an existing template's name and HTML content using its template ID. Only the first block of HTML content from the array is stored.
patch/templates/{template_id}
Path parameters
template_idinteger required
ID of the template to update. Must be a positive integer.
Request body
Example request
{
"name": "Updated Welcome Email",
"content": [
{
"type": "html",
"value": "<html><body>Welcome to our service!</body></html>"
}
]
}Response
Template updated successfully.