Skip to main content
GET
/
1
/
profiles
/
personalization
/
{userToken}
curl
curl --request GET \
  --url https://personalization.us.algolia.com/1/profiles/personalization/test-user-123 \
  --header 'accept: application/json' \
  --header 'x-algolia-api-key: ALGOLIA_API_KEY' \
  --header 'x-algolia-application-id: ALGOLIA_APPLICATION_ID'
{
  "userToken": "test-user-123",
  "lastEventAt": "<string>",
  "scores": {}
}
Required ACL: recommendation

Authorizations

x-algolia-application-id
string
header
required

Your Algolia application ID.

x-algolia-api-key
string
header
required

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.

Path Parameters

userToken
string
required

Unique identifier representing a user for which to fetch the personalization profile.

Example:

"test-user-123"

Response

OK

userToken
string
required

Unique pseudonymous or anonymous user identifier.

This helps with analytics and click and conversion events. For more information, see user token.

Example:

"test-user-123"

lastEventAt
string
required

Date and time of the last event from this user, in RFC 3339 format.

scores
object
required

Scores for different facet values.

Scores represent the user affinity for a user profile towards specific facet values, given the personalization strategy and past events.

I