Sep 20, 2024
Retrieve a user profile
Retrieves a user profile and their affinities for different facets.
Usage
Required ACL:
recommendation
Copy
1
2
3
4
5
6
7
use Algolia\AlgoliaSearch\Api\PersonalizationClient;
$client = PersonalizationClient::create('ALGOLIA_APPLICATION_ID', 'ALGOLIA_API_KEY', 'ALGOLIA_APPLICATION_REGION');
$response = $client->getUserTokenProfile(
'UserToken',
);
Did you find this page helpful?