Skip to main content
This article refers to a new version of the Meilisearch Cloud analytics that is being rolled out in November 2025. Some features described here may not yet be available to your account. Contact support for more information.

Send an event

Send an analytics event to Meilisearch Cloud.

Body

You must provide a string identifying your user if you want Meilisearch Cloud to track conversion and click events.You may do that in two ways:
  • Specify the user ID in the payload, using the userId field
  • Specify the user ID with the X-MS-USER-ID header with your /events and search requests

Example

Response: 201 Created