v1

latestOpenAPI 3.1.02026-07-2419603.1 MB
Data Activation

Create or update profile attributes

A single request can be used to create or update multiple profile attributes. The data payload should consist of a key-value map where each attribute's name is denoted by a key, along with its corresponding value. It will exclusively impact the app associated with the provided app_id in the URL path.

Provided data must have at least one identifier:

  • user_id
  • cookie_id
post/api/cdp/profiles/public/v1/app/{app_id}/update-profile

Path parameters

app_idstring uuid required

ID of the app.

Example:3929d56c-cd62-4001-a4fc-013f5f954691

Request body

attributesobject required

Attributes of the occurred event.

Example request

{
  "identifiers": {
    "user_id": "tom1987@bob.com"
  },
  "attributes": {
    "occupation": "unicorn",
    "mood": "happy",
    "contract_end": "2023-07-21T17:32:28Z"
  }
}

Response

Request accepted and waiting for processing.