Create an automated email

Creates a new automated email.

POST/v3/automated-emails
JWTautomatedEmail:write

Request body

subjectstringrequired

Subject of the email template.

Length: [1,256]

bodystringrequired

Body of the email template.

Length: [3,20000]

eventstringrequired

Event to trigger sending of the email.

Length: [1,256]

custombooleanrequired

Use custom email template.

namestringrequired

Name of the email template. Letters (a-z, A-Z), numbers, underscores and hyphens.

Length: [3,256]Pattern: ^[a-zA-Z0-9_-]+$

fromNamestringrequired

Name of the email sender.

Length: [1,256]

fromEmailstringrequired

From email address.

Length: [0,256]Format: email

enabledbooleanrequired

Enable or disable the email template.

ccstring

Cc address for the email template.

Length: [0,256]

bccstring

Bcc address for the email template.

Length: [0,256]

replyTostring

Reply-To address for the email template.

Length: [0,256]

productIdsarray of string

Optional list of product IDs that this email template should apply to for license events.

Response

201 Created

idstringrequired
createdAtstringrequired

Format: date-time

updatedAtstringrequired

Format: date-time

namestringrequired
fromNamestringrequired
fromEmailstringrequired
ccstringrequired
bccstringrequired
subjectstringrequired
bodystringrequired
replyTostringrequired
eventstringrequired
enabledbooleanrequired
custombooleanrequired
sentintegerrequired

Format: int64

productIdsarray of stringrequired