Last updated 8 months ago
ID of the user to fetch
GET /profile/{userId} HTTP/1.1 Host: integration-api.userflux.co Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
Successful response
{ "id": "text", "anonymousIds": [], "properties": {}, "computedProperties": {}, "segments": [], "locationData": {}, "deviceData": {}, "lastUpdatedAt": 1, "createdAt": 1 }
{userId} or null
{anonymousId} or null
POST /profile HTTP/1.1 Host: integration-api.userflux.co Authorization: Bearer YOUR_SECRET_TOKEN Content-Type: application/json Accept: */* Content-Length: 192 { "userId": "{userId} or null", "anonymousId": "{anonymousId} or null", "properties": { "property1": "value", "property2": 123, "property3": true, "property4": null, "property5": { "nestedProperty1": "value" } } }
Successful Response
No content