v7

latestOpenAPI 3.0.0raw.githubusercontent.com2026-06-121372601.5 MB
Templates

Update Template

Update a template by ID.

post/print-mail/v1/templates/{id}

Path parameters

idstring required

The ID of the template you want to update.

Request body

htmlstring

The HTML content of this template.

descriptionstring

An optional string describing this resource. Will be visible in the API and the dashboard.

metadataobject

See the section on Metadata.

Response

the updated Template.

idstring required

A unique ID prefixed with template_

descriptionstring

An optional string describing this resource. Will be visible in the API and the dashboard.

metadataobject

See the section on Metadata.

liveboolean required

true if this is a live mode resource else false.

createdAtstring date-time required

The UTC time at which this resource was created.

updatedAtstring date-time required

The UTC time at which this resource was last updated.