Skip to navigation

Create events in batch

View as Markdown

Create multiple events to track contacts’ interactions in a single request. Events created with this endpoint are stored as custom events, including events named cart_updated, cart_deleted or order_completed, so they don’t trigger ecommerce automations such as abandoned cart. To send ecommerce cart events, activate the ecommerce app and use the Brevo tracker or the trackEvent endpoint.

Authentication

api-keystring

The API key should be passed in the request headers as api-key for authentication.

OR
AuthorizationBearer

OAuth 2.0 client_credentials (machine-to-machine) grant. Exchange your app’s client_id/client_secret for a short-lived Bearer token.

Request

This endpoint expects an object.
eventslist of objectsRequired

Response

Batch accepted - all events have been added to the processing queue

messagestring
Confirmation message indicating the batch was accepted
countinteger
Number of events queued for processing

Errors

400
Bad Request Error
401
Unauthorized Error