Profiles API
Authorizations
Query parameters
locationEnrichmentbooleanOptional
Body
userIdstringOptionalExample:
{userId} or null
anonymousIdstringOptionalExample:
{anonymousId} or null
propertiesobjectOptional
Responses
204
Successful Response
post
POST /profile HTTP/1.1
Host: integration-api.userflux.co
Authorization: Bearer JWT
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"
}
}
}
204
Successful Response
No content
Authorizations
Path parameters
userIdstringRequired
ID of the user to fetch
Responses
200
Successful response
application/json
get
GET /profile/{userId} HTTP/1.1
Host: integration-api.userflux.co
Authorization: Bearer JWT
Accept: */*
200
Successful response
{
"id": "text",
"anonymousIds": [],
"properties": {},
"computedProperties": {},
"segments": [],
"locationData": {},
"deviceData": {},
"lastUpdatedAt": 1,
"createdAt": 1
}
Last updated