The POST /environments/{{envID}}/templates/{{templateName}}/contents operation can be used to create a new customized email content resource associated with the template specified in the request URL.

Note that the email’s body should weigh no more than 100 KB, the subject should contain no more than 256 characters and the variables restrictions should apply. Additionally, “noreply@pingidentity.com” is used as ‘From’ by default.

Prerequisites

Property Type Required?
body String Required
deliveryMethod String Required
from.address String Optional
from.name String Optional
locale String Required
replyTo.address String Optional
replyTo.name String Optional
subject String Optional
template.id String Required
variant String Optional

See the Notifications templates property data models for full property descriptions.