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

Userpoint Identifiers

Operations related to UserPoint Identifiers, the various identifiers used to recognize and merge UserPoints across devices and channels. Supports multiple identifier types:

  • User Agents - Device/browser IDs with vector_id and mappings (cookies, mobile IDs)

  • User Accounts - Authenticated user identifiers (compartment_id + user_account_id pairs)

  • User Emails - Hashed email addresses for cross-device matching

Multiple identifiers can be associated with a single UserPoint, enabling cross-device identity resolution and automatic UserPoint merging when common identifiers are discovered.

Relevant documentation:

Declare a user point association

post
/datamarts/{datamart_id}/user_identifiers_association_declarations
Path parameters
datamart_idinteger · int64Required

Datamart id

Body
Responses
200

Success response

application/json
statusstring · enumRequiredPossible values:
post/datamarts/{datamart_id}/user_identifiers_association_declarations
POST /v1/datamarts/{datamart_id}/user_identifiers_association_declarations HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 86

{
  "identifiers": [
    {
      "compartment_id": "text",
      "user_account_id": "text",
      "expiration_ts": 0
    }
  ]
}
{
  "status": "ok"
}

Find user email identifier provider

get
/datamarts/{datamart_id}/email_identifiers/{email_hash}/providers/{technical_name}
Path parameters
datamart_idinteger · int64Required
technical_namestringRequired
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/datamarts/{datamart_id}/email_identifiers/{email_hash}/providers/{technical_name}
GET /v1/datamarts/{datamart_id}/email_identifiers/{email_hash}/providers/{technical_name} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "last_modified_ts": 0,
    "status": "text",
    "creation_ts": 0,
    "last_activity_ts": 0,
    "expiration_ts": 0,
    "active": false,
    "technical_name": "text"
  }
}

Update user email identifier provider

put
/datamarts/{datamart_id}/email_identifiers/{email_hash}/providers/{technical_name}
Path parameters
datamart_idinteger · int64Required
technical_namestringRequired
Query parameters
force_replacebooleanOptional

Force replace

Default: false
Body
last_modified_tsinteger · int64OptionalDefault: 0
statusstringOptional
creation_tsinteger · int64OptionalDefault: 0
last_activity_tsinteger · int64OptionalDefault: 0
expiration_tsinteger · int64OptionalDefault: 0
activebooleanOptionalDefault: false
technical_namestringRequired
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
put/datamarts/{datamart_id}/email_identifiers/{email_hash}/providers/{technical_name}
PUT /v1/datamarts/{datamart_id}/email_identifiers/{email_hash}/providers/{technical_name} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 132

{
  "last_modified_ts": 0,
  "status": "text",
  "creation_ts": 0,
  "last_activity_ts": 0,
  "expiration_ts": 0,
  "active": false,
  "technical_name": "text"
}
{
  "status": "ok",
  "data": {
    "last_modified_ts": 0,
    "status": "text",
    "creation_ts": 0,
    "last_activity_ts": 0,
    "expiration_ts": 0,
    "active": false,
    "technical_name": "text"
  }
}

Delete user email identifier provider

delete
/datamarts/{datamart_id}/email_identifiers/{email_hash}/providers/{technical_name}
Path parameters
datamart_idinteger · int64Required
technical_namestringRequired
Responses
200

Success response

application/json
statusstring · enumRequiredPossible values:
delete/datamarts/{datamart_id}/email_identifiers/{email_hash}/providers/{technical_name}
DELETE /v1/datamarts/{datamart_id}/email_identifiers/{email_hash}/providers/{technical_name} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok"
}

Get MUM_ID mappings

get
/datamarts/{datamart_id}/mum_ids/{mum_id}/mappings
Path parameters
datamart_idstringRequired
mum_idstringRequired
Responses
200

Success !

application/json
countintegerRequired
statusstring · enumRequiredPossible values:
max_resultsintegerRequired
first_resultintegerRequired
totalintegerRequired
get/datamarts/{datamart_id}/mum_ids/{mum_id}/mappings
GET /v1/datamarts/{datamart_id}/mum_ids/{mum_id}/mappings HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "count": 1,
  "status": "ok",
  "max_results": 1,
  "first_result": 1,
  "total": 1,
  "data": [
    {
      "user_agent_id": {},
      "realm_name": "text",
      "last_activity_ts": 0
    }
  ]
}

Find user identifiers

get
/datamarts/{datamart_id}/user_identifiers/compartment_id={compartment_id}/user_account_id={user_account_id}
Path parameters
datamart_idinteger · int64Required
compartment_idinteger · int64Required
user_account_idstringRequired
Responses
200

Success !

application/json
totalintegerRequired
statusstring · enumRequiredPossible values:
first_resultintegerRequired
max_resultsintegerRequired
countintegerRequired
get/datamarts/{datamart_id}/user_identifiers/compartment_id={compartment_id}/user_account_id={user_account_id}
GET /v1/datamarts/{datamart_id}/user_identifiers/compartment_id={compartment_id}/user_account_id={user_account_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "data": [
    {
      "technical_identifiers": [
        {
          "expiration_ts": 0,
          "creation_ts": 0,
          "last_activity_ts": 0,
          "user_agent_id": {},
          "registry_id": "text",
          "type": "INSTALLATION_ID"
        }
      ],
      "expiration_ts": 0,
      "creation_ts": 0,
      "device": {
        "carrier": "text",
        "initial_ts": 0,
        "browser_version": "text",
        "model": "text",
        "form_factor": "OTHER",
        "os_family": "OTHER",
        "brand": "text",
        "raw_value": "text",
        "browser_family": "OTHER",
        "os_version": "text"
      },
      "id": "text",
      "last_activity_ts": 0
    }
  ],
  "total": 1,
  "status": "ok",
  "first_result": 1,
  "max_results": 1,
  "count": 1
}

Find user identifiers

get
/datamarts/{datamart_id}/user_identifiers/{user_identifier}
Path parameters
datamart_idinteger · int64Required
user_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+)$
Responses
200

Success !

application/json
totalintegerRequired
countintegerRequired
statusstring · enumRequiredPossible values:
max_resultsintegerRequired
first_resultintegerRequired
get/datamarts/{datamart_id}/user_identifiers/{user_identifier}
GET /v1/datamarts/{datamart_id}/user_identifiers/{user_identifier} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "total": 1,
  "count": 1,
  "status": "ok",
  "max_results": 1,
  "first_result": 1,
  "data": [
    {
      "technical_identifiers": [
        {
          "expiration_ts": 0,
          "creation_ts": 0,
          "last_activity_ts": 0,
          "user_agent_id": {},
          "registry_id": "text",
          "type": "INSTALLATION_ID"
        }
      ],
      "expiration_ts": 0,
      "creation_ts": 0,
      "device": {
        "carrier": "text",
        "initial_ts": 0,
        "browser_version": "text",
        "model": "text",
        "form_factor": "OTHER",
        "os_family": "OTHER",
        "brand": "text",
        "raw_value": "text",
        "browser_family": "OTHER",
        "os_version": "text"
      },
      "id": "text",
      "last_activity_ts": 0
    }
  ]
}

Find user email identifier providers

get
/datamarts/{datamart_id}/email_identifiers/{email_hash}/providers
Path parameters
datamart_idinteger · int64Required
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
totalintegerRequired
countintegerRequired
max_resultsintegerRequired
first_resultintegerRequired
get/datamarts/{datamart_id}/email_identifiers/{email_hash}/providers
GET /v1/datamarts/{datamart_id}/email_identifiers/{email_hash}/providers HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "total": 1,
  "count": 1,
  "data": [
    {
      "last_modified_ts": 0,
      "status": "text",
      "creation_ts": 0,
      "last_activity_ts": 0,
      "expiration_ts": 0,
      "active": false,
      "technical_name": "text"
    }
  ],
  "max_results": 1,
  "first_result": 1
}

Find user identifiers by user account id

get
/datamarts/{datamart_id}/user_points/compartment_id={compartment_id}/user_account_id={user_account_id}/user_identifiers
Path parameters
datamart_idinteger · int64Required
compartment_idinteger · int64Required
user_account_idstringRequired
Query parameters
Responses
200

Success !

application/json
first_resultintegerRequired
statusstring · enumRequiredPossible values:
countintegerRequired
totalintegerRequired
max_resultsintegerRequired
get/datamarts/{datamart_id}/user_points/compartment_id={compartment_id}/user_account_id={user_account_id}/user_identifiers
GET /v1/datamarts/{datamart_id}/user_points/compartment_id={compartment_id}/user_account_id={user_account_id}/user_identifiers HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "first_result": 1,
  "status": "ok",
  "count": 1,
  "total": 1,
  "data": [
    {
      "technical_identifiers": [
        {
          "expiration_ts": 0,
          "creation_ts": 0,
          "last_activity_ts": 0,
          "user_agent_id": {},
          "registry_id": "text",
          "type": "INSTALLATION_ID"
        }
      ],
      "expiration_ts": 0,
      "creation_ts": 0,
      "device": {
        "carrier": "text",
        "initial_ts": 0,
        "browser_version": "text",
        "model": "text",
        "form_factor": "OTHER",
        "os_family": "OTHER",
        "brand": "text",
        "raw_value": "text",
        "browser_family": "OTHER",
        "os_version": "text"
      },
      "id": "text",
      "last_activity_ts": 0
    }
  ],
  "max_results": 1
}

Delete user account identifier

delete
/datamarts/{datamart_id}/user_account_identifiers/compartment_id={compartment_id}/user_account_id={user_account_id}
Path parameters
datamart_idinteger · int64Required
compartment_idstringRequired
user_account_idstringRequired
Responses
200

Success response

application/json
statusstring · enumRequiredPossible values:
delete/datamarts/{datamart_id}/user_account_identifiers/compartment_id={compartment_id}/user_account_id={user_account_id}
DELETE /v1/datamarts/{datamart_id}/user_account_identifiers/compartment_id={compartment_id}/user_account_id={user_account_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok"
}

Declare a user point dissociation

post
/datamarts/{datamart_id}/user_identifiers_dissociation_declarations
Path parameters
datamart_idinteger · int64Required
Body
Responses
200

Success response

application/json
statusstring · enumRequiredPossible values:
post/datamarts/{datamart_id}/user_identifiers_dissociation_declarations
POST /v1/datamarts/{datamart_id}/user_identifiers_dissociation_declarations HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 161

{
  "group1": [
    {
      "compartment_id": "text",
      "user_account_id": "text",
      "expiration_ts": 0
    }
  ],
  "group2": [
    {
      "compartment_id": "text",
      "user_account_id": "text",
      "expiration_ts": 0
    }
  ]
}
{
  "status": "ok"
}

Find user email identifier

get
/datamarts/{datamart_id}/email_identifiers/{email_hash}
Path parameters
datamart_idinteger · int64Required
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/datamarts/{datamart_id}/email_identifiers/{email_hash}
GET /v1/datamarts/{datamart_id}/email_identifiers/{email_hash} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "hash": "text",
    "last_activity_ts": 0,
    "email": "text",
    "expiration_ts": 0,
    "creation_ts": 0,
    "operator": "text"
  }
}

Update user email identifier

put
/datamarts/{datamart_id}/email_identifiers/{email_hash}
Path parameters
datamart_idinteger · int64Required
Query parameters
force_replacebooleanOptional

Force replace

Default: false
Body
hashstringRequired
last_activity_tsinteger · int64OptionalDefault: 0
emailstringOptional
expiration_tsinteger · int64OptionalDefault: 0
creation_tsinteger · int64RequiredDefault: 0
operatorstringOptional
Responses
200

Success !

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

{
  "hash": "text",
  "last_activity_ts": 0,
  "email": "text",
  "expiration_ts": 0,
  "creation_ts": 0,
  "operator": "text"
}
{
  "status": "ok",
  "data": {
    "hash": "text",
    "last_activity_ts": 0,
    "email": "text",
    "expiration_ts": 0,
    "creation_ts": 0,
    "operator": "text"
  }
}

Delete user email identifier

delete
/datamarts/{datamart_id}/email_identifiers/{email_hash}
Path parameters
datamart_idinteger · int64Required
Responses
200

Success response

application/json
statusstring · enumRequiredPossible values:
delete/datamarts/{datamart_id}/email_identifiers/{email_hash}
DELETE /v1/datamarts/{datamart_id}/email_identifiers/{email_hash} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok"
}

Find user identifiers by user point id

get
/datamarts/{datamart_id}/user_points/{user_identifier}/user_identifiers
Path parameters
datamart_idinteger · int64Required
user_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
Responses
200

Success !

application/json
totalintegerRequired
first_resultintegerRequired
countintegerRequired
statusstring · enumRequiredPossible values:
max_resultsintegerRequired
get/datamarts/{datamart_id}/user_points/{user_identifier}/user_identifiers
GET /v1/datamarts/{datamart_id}/user_points/{user_identifier}/user_identifiers HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "data": [
    {
      "technical_identifiers": [
        {
          "expiration_ts": 0,
          "creation_ts": 0,
          "last_activity_ts": 0,
          "user_agent_id": {},
          "registry_id": "text",
          "type": "INSTALLATION_ID"
        }
      ],
      "expiration_ts": 0,
      "creation_ts": 0,
      "device": {
        "carrier": "text",
        "initial_ts": 0,
        "browser_version": "text",
        "model": "text",
        "form_factor": "OTHER",
        "os_family": "OTHER",
        "brand": "text",
        "raw_value": "text",
        "browser_family": "OTHER",
        "os_version": "text"
      },
      "id": "text",
      "last_activity_ts": 0
    }
  ],
  "total": 1,
  "first_result": 1,
  "count": 1,
  "status": "ok",
  "max_results": 1
}

Last updated

Was this helpful?