Last updated 6 months ago
/profile
{userId} or null
{anonymousId} or null
Successful Response
curl -L \ --request POST \ --url 'https://integration-api.userflux.co/profile' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \ --header 'Content-Type: application/json' \ --data '{"userId":"{userId} or null","anonymousId":"{anonymousId} or null","properties":{"property1":"value","property2":123,"property3":true,"property4":null,"property5":{"nestedProperty1":"value"}}}'
No body
/profile/{userId}
ID of the user to fetch
Successful response
curl -L \ --url 'https://integration-api.userflux.co/profile/{userId}' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{ "id": "text", "anonymousIds": [], "properties": {}, "computedProperties": {}, "segments": [], "locationData": {}, "deviceData": {}, "lastUpdatedAt": 1, "createdAt": 1 }