CDPGuidesSupport

Get Personalizations

REST reference for POST /experiments/personalization: returns a visitor's active personalization assignments without recording an impression.

Return accumulated personalization properties and any durable server-side personalization assignments for a visitor. Never records an impression or sends an event. Assignments made in the browser are stored in the browser's first-party experiment cookie, so this endpoint does not return them.

See the Server-Side Experimentation guide.

POST
/experiments/personalization
*object

Request Body

application/json

Token + visitor id. The schema describes canonical JSON inputs. The server also accepts values normalized by the preprocessing described on individual fields.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/experiments/personalization" \  -H "Content-Type: application/json" \  -d '{    "token": "string",    "visitor_id": "string"  }'
{  "success": true,  "properties": {    "property1": "string",    "property2": "string"  }}

How is this guide?