You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`transactionalId`| string | Yes | The ID of the transactional email to send. |
383
383
|`email`| string | Yes | The email address of the recipient. |
384
+
|`addToAudience`| boolean | No | If `true`, a contact will be created in your audience using the `email` value (if a matching contact doesn’t already exist). |
384
385
|`dataVariables`| object | No | An object containing data as defined by the data variables added to the transactional email template.<br />Values can be of type `string` or `number`. |
385
386
|`attachments`| object[]| No | A list of attachments objects.<br />**Please note**: Attachments need to be enabled on your account before using them with the API. [Read more](https://loops.so/docs/transactional/attachments)|
386
387
|`attachments[].filename`| string | No | The name of the file, shown in email clients. |
@@ -489,6 +490,7 @@ If your account has no custom fields, an empty list will be returned.
489
490
490
491
## Version history
491
492
493
+
-`v2.2.0` (Jul 2, 2024) - Added new `addToAudience` option to [`sendTransactionalEmail()`](#sendtransactionalemail).
492
494
-`v2.1.1` (Jun 20, 2024) - Added support for mailing lists in [`createContact()`](#createcontact), [`updateContact()`](#updatecontact) and [`sendEvent()`](#sendevent).
493
495
-`v2.1.0` (Jun 19, 2024) - Added support for new [List mailing lists](#getmailinglists) endpoint.
0 commit comments