Create an automated email
Creates a new automated email.
POST/v3/automated-emails
JWT
automatedEmail:write
Request Body Schema
| Property | Type | Description | Constraints |
|---|---|---|---|
| subject* | string | Subject of the email template. | min: 1, max: 256 |
| body* | string | Body of the email template. | min: 3, max: 20000 |
| event* | string | Event to trigger sending of the email. | min: 1, max: 256 |
| custom* | boolean | Use custom email template. | |
| name* | string | Name of the email template. | min: 3, max: 256, pattern: ^[a-zA-Z0-9_-]+$ |
| fromName* | string | Name of the email sender. | min: 1, max: 256 |
| fromEmail* | string | From email address. | min: 0, max: 256, format: email |
| cc | string | Cc address for the email template. | min: 0, max: 256 |
| bcc | string | Bcc address for the email template. | min: 0, max: 256 |
| replyTo | string | Reply-To address for the email template. | min: 0, max: 256 |
| enabled* | boolean | Enable or disable the email template. | |
| productIds | array | Optional list of product IDs that this email template should apply to for license events. | items: string |
Request Example
Responses
201
400
401
403
409
429
500