Algolia Personalization

Algolia Personalization

The Personalization API lets you access user profiles built from the personalization strategy.

Base URLs

The base URLs for requests to the Personalization API are:

Use the URL that matches your analytics region.

All requests must use HTTPS.

Authentication

To authenticate your API requests, add these headers:

You can find your application ID and API key in the Algolia dashboard.

Request format

Request bodies must be JSON objects.

Response status and errors

The Personalization API returns JSON responses. Since JSON doesn't guarantee any specific ordering, don't rely on the order of attributes in the API response.

Successful responses return a 2xx status. Client errors return a 4xx status. Server errors are indicated by a 5xx status. Error responses have a message property with more information.

Rate limiting

When making requests to the Personalization API, you are limited to 40 API calls per second per application.

The following headers provide information about your current limit:

Version

The current version of the Personalization API is version 1, as indicated by the /1/ in each endpoint's URL.

Operations

Delete a user profile
Retrieve the personalization strategy
Define the personalization strategy
Send requests to the Algolia REST API
Send requests to the Algolia REST API
Send requests to the Algolia REST API
Send requests to the Algolia REST API
Switch the API key used to authenticate requests