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
Copy file name to clipboardExpand all lines: README.md
+24-1Lines changed: 24 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -539,6 +539,7 @@ Send an event to trigger an email in Loops. [Read more about events](https://loo
539
539
|`contact_properties`| object | No | An object containing contact properties, which will be updated or added to the contact when the event is received.<br />Please [add custom properties](https://loops.so/docs/contacts/properties#custom-contact-properties) in your Loops account before using them with the SDK.<br />Values can be of type `string`, `number`, `nil` (to reset a value), `boolean` or `date` ([see allowed date formats](https://loops.so/docs/contacts/properties#dates)). |
540
540
|`event_properties`| object | No | An object containing event properties, which will be made available in emails that are triggered by this event.<br />Values can be of type `string`, `number`, `boolean` or `date` ([see allowed date formats](https://loops.so/docs/events/properties#important-information-about-event-properties)). |
541
541
|`mailing_lists`| object | No | An object of mailing list IDs and boolean subscription statuses. |
542
+
|`headers`| object | No | Additional headers to send with the request. |
|`transactional_id`| string | Yes | The ID of the transactional email to send. |
610
620
|`email`| string | Yes | The email address of the recipient. |
611
-
|`add_to_audience`| boolean | No | If `true`, a contact will be created in your audience using the `email` value (if a matching contact doesn’t already exist). |
621
+
|`add_to_audience`| boolean | No | If `true`, a contact will be created in your audience using the `email` value (if a matching contact doesn't already exist). |
612
622
|`data_variables`| 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`. |
613
623
|`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)|
614
624
|`attachments[].filename`| string | No | The name of the file, shown in email clients. |
615
625
|`attachments[].content_type`| string | No | The MIME type of the file. |
616
626
|`attachments[].data`| string | No | The base64-encoded content of the file. |
627
+
|`headers`| object | No | Additional headers to send with the request. |
0 commit comments