curl
Insights API
Send events
Sends a list of events to the Insights API.
POST
curl
You can include up to 1,000 events in a single request,
but the request body must be smaller than 2 MB.
Required ACL:
searchAuthorizations
Your Algolia application ID.
Your Algolia API key with the necessary permissions to make the request. Permissions are controlled through access control lists (ACL) and access restrictions. The required ACL to make a request is listed in each endpoint's reference.
Body
application/json
events
(Clicked object IDs after search · object | Added to cart object IDs after search · object | Purchased object IDs after search · object | Converted object IDs after search · object | Clicked object IDs · object | Purchased object IDs · object | Added to cart object IDs · object | Converted object IDs · object | Clicked filters · object | Converted filters · object | Viewed object IDs · object | Viewed filters · object)[]
required
Click and conversion events.
All events must be valid, otherwise the API returns an error.
Required array length:
1 - 1000 elementsClick event after an Algolia request. Use this event to track when users click items in the search results. If you're building your category pages with Algolia, you'll also use this event.
- Clicked object IDs after search
- Added to cart object IDs after search
- Purchased object IDs after search
- Converted object IDs after search
- Clicked object IDs
- Purchased object IDs
- Added to cart object IDs
- Converted object IDs
- Clicked filters
- Converted filters
- Viewed object IDs
- Viewed filters
Last modified on March 23, 2026