API examples
Events API examples
Code examples for sending events with the Loops API and SDKs.
Send an event
Send an event with event properties
Include data that can be used in your loop emails triggered by the event.
Send an event and update the contact
Include contact properties to update the contact as the event is sent.
Send an event with an idempotency key
Add an Idempotency-Key
header to the request to prevent duplicate requests.