For the complete documentation index, see llms.txt. This page is also available as Markdown.

Userpoint Profile

Operations related to UserPoint Profiles, the storage of timeless user information and attributes. Profiles are scoped to a Compartment (representing different account systems like websites or apps):

  • Profile types - Identified (linked to user_account_id) or anonymous

  • Common attributes - Demographics, contact details, preferences, loyalty status, newsletter subscriptions

  • Custom properties - Any key-value pairs defined in schema

  • Update methods - Bulk imports from CRM systems, real-time updates via $set_user_profile_properties events

Profiles support partial updates (PARTIAL_UPDATE) or full replacement (force_replace).

Relevant documentation:

Find a user profile by a user account id

get
/datamarts/{datamart_id}/user_profiles/user_account_id={user_account_id}
Path parameters
datamart_idinteger · int64Required
user_account_idstringRequired
Query parameters
compartment_idinteger · int64Optional
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/datamarts/{datamart_id}/user_profiles/user_account_id={user_account_id}
GET /v1/datamarts/{datamart_id}/user_profiles/user_account_id={user_account_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "first_name": "text",
    "compartment_id": "text",
    "last_name": "text",
    "creation_date": "2026-01-01T00:00:00.000Z",
    "is_client": false,
    "email": "text",
    "birth_date": "2026-01-01T00:00:00.000Z",
    "user_account_id": "text"
  }
}

Update a user profile by a user account id

put
/datamarts/{datamart_id}/user_profiles/user_account_id={user_account_id}
Path parameters
datamart_idinteger · int64Required
user_account_idstringRequired
Query parameters
compartment_idinteger · int64Optional
force_replacebooleanOptional
merge_objectsbooleanOptional
update_strategystring · enumOptional

new update strategy (ignore merge_objects and force_replace)

Possible values:
Body
first_namestringOptional
compartment_idstringOptional
last_namestringOptional
creation_datestring · date-timeOptional

iso8601 date time

is_clientbooleanOptionalDefault: false
emailstringOptional
birth_datestring · date-timeOptional

iso8601 date time

user_account_idstringOptional
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
put/datamarts/{datamart_id}/user_profiles/user_account_id={user_account_id}
PUT /v1/datamarts/{datamart_id}/user_profiles/user_account_id={user_account_id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 205

{
  "first_name": "text",
  "compartment_id": "text",
  "last_name": "text",
  "creation_date": "2026-01-01T00:00:00.000Z",
  "is_client": false,
  "email": "text",
  "birth_date": "2026-01-01T00:00:00.000Z",
  "user_account_id": "text"
}
{
  "status": "ok",
  "data": {
    "first_name": "text",
    "compartment_id": "text",
    "last_name": "text",
    "creation_date": "2026-01-01T00:00:00.000Z",
    "is_client": false,
    "email": "text",
    "birth_date": "2026-01-01T00:00:00.000Z",
    "user_account_id": "text"
  }
}

Find a user profile by a user identifier

get
/datamarts/{datamart_id}/user_profiles/{user_point_identifier}
Path parameters
datamart_idinteger · int64Required
user_point_identifierstringRequired

User identifier in one of the following format : - a UUID (a.k.a userpoint id) - user_point_id=xxx where xxx is a UUID - compartment_id=xxx,user_account_id=yyy - user_agent_id=xxx - email_hash=xxx

Pattern: ^([0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}|user_point_id=[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}|compartment_id=\d+,user_account_id=\S+|user_account_id=\S+(,compartment_id=\d+)?|user_agent_id=\S+|email_hash=\S+)$
Query parameters
compartment_idinteger · int64Optional
anonymousProfilebooleanOptionalDefault: false
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/datamarts/{datamart_id}/user_profiles/{user_point_identifier}
GET /v1/datamarts/{datamart_id}/user_profiles/{user_point_identifier} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "first_name": "text",
    "compartment_id": "text",
    "last_name": "text",
    "creation_date": "2026-01-01T00:00:00.000Z",
    "is_client": false,
    "email": "text",
    "birth_date": "2026-01-01T00:00:00.000Z",
    "user_account_id": "text"
  }
}

Update a user profile by a user identifier

put
/datamarts/{datamart_id}/user_profiles/{user_point_identifier}
Path parameters
datamart_idinteger · int64Required
user_point_identifierstringRequired

User identifier in one of the following format : - a UUID (a.k.a userpoint id) - user_point_id=xxx where xxx is a UUID - compartment_id=xxx,user_account_id=yyy - user_agent_id=xxx - email_hash=xxx

Pattern: ^([0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}|user_point_id=[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}|compartment_id=\d+,user_account_id=\S+|user_account_id=\S+(,compartment_id=\d+)?|user_agent_id=\S+|email_hash=\S+)$
Query parameters
compartment_idinteger · int64Optional
force_replacebooleanOptional
merge_objectsbooleanOptional
update_strategystring · enumOptional

new update strategy (ignore merge_objects and force_replace)

Possible values:
Body
first_namestringOptional
compartment_idstringOptional
last_namestringOptional
creation_datestring · date-timeOptional

iso8601 date time

is_clientbooleanOptionalDefault: false
emailstringOptional
birth_datestring · date-timeOptional

iso8601 date time

user_account_idstringOptional
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
put/datamarts/{datamart_id}/user_profiles/{user_point_identifier}
PUT /v1/datamarts/{datamart_id}/user_profiles/{user_point_identifier} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 205

{
  "first_name": "text",
  "compartment_id": "text",
  "last_name": "text",
  "creation_date": "2026-01-01T00:00:00.000Z",
  "is_client": false,
  "email": "text",
  "birth_date": "2026-01-01T00:00:00.000Z",
  "user_account_id": "text"
}
{
  "status": "ok",
  "data": {
    "first_name": "text",
    "compartment_id": "text",
    "last_name": "text",
    "creation_date": "2026-01-01T00:00:00.000Z",
    "is_client": false,
    "email": "text",
    "birth_date": "2026-01-01T00:00:00.000Z",
    "user_account_id": "text"
  }
}

Last updated

Was this helpful?