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. |
627
-
|`email`| string | Yes | The email address of the recipient. |
628
-
|`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). |
629
-
|`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`. |
630
-
|`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)|
631
-
|`attachments[].filename`| string | No | The name of the file, shown in email clients. |
632
-
|`attachments[].contentType`| string | No | The MIME type of the file. |
633
-
|`attachments[].data`| string | No | The base64-encoded content of the file. |
634
-
|`headers`| object | No | Additional headers to send with the request. |
|`transactionalId`| string | Yes | The ID of the transactional email to send. |
627
+
|`email`| string | Yes | The email address of the recipient. |
628
+
|`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). |
629
+
|`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`, `number`, or an array of objects with `string` or `number` values.|
630
+
|`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)|
631
+
|`attachments[].filename`| string | No | The name of the file, shown in email clients. |
632
+
|`attachments[].contentType`| string | No | The MIME type of the file. |
633
+
|`attachments[].data`| string | No | The base64-encoded content of the file. |
634
+
|`headers`| object | No | Additional headers to send with the request. |
-`v6.1.0` (Jan 29, 2026) - Added `rawBody` to `APIError` in the case no JSON is received from the server (thanks to [@leipert](https://github.com/leipert)).
773
+
-`v6.2.0` (Feb 9, 2026) - Support for the new arrays feature in sendTransactionalEmail.
774
+
-`v6.1.2` (Jan 29, 2026) - Added `rawBody` to `APIError` in the case no JSON is received from the server (thanks to [@leipert](https://github.com/leipert)).
774
775
-`v6.0.1` (Oct 15, 2025) - Added `optInStatus` to contact object in [`findContact()`](#findcontact) for the new double opt-in feature.
775
776
-`v6.0.0` (Aug 22, 2025) - [`createContact()`](#createcontact) and [`updateContact()`](#updatecontact) now have a single object parameter instead of named parameters (breaking change). This allows support for using either `email` or `userId` when updating contacts.
776
777
-`v5.0.1` (May 13, 2025) - Added a `headers` parameter for [`sendEvent()`](#sendevent) and [`sendTransactionalEmail()`](#sendtransactionalemail), enabling support for the `Idempotency-Key` header.
0 commit comments