| apiKey | Client identifier. | Number | |
| mailFrom | Username of the sender email address. | String | |
| mailFromName | Sender name. | String | - Maximum 255 characters.
- "," (comma) and ";" (semicolon) are not allowed.
|
| to | Recipient. | Destination[] | |
| subject | Email subject. | String | |
| templateId | Identifier of the email template to use. | Number | |
| data | Object with arbitrary properties that are assigned a value; these values are of type String. The properties correspond to placeholders in the template that will be replaced by the corresponding value. | Object | - Maximum 100 properties.
- Maximum combined size of all values: 5 KB.
|
| mailType | Indicates whether the email is marketing or transactional. | Number | - Required
- 1: Marketing
- 2: Transactional
|
| campaignId | Campaign to associate the email with. | Number | - Required if mailType is 1
|