Data Index

Add or update attributes

Attributes are customer data like their name and email. Use this endpoint to add new attributes or update existing attributes in your workspace. To add attributes to customers, use our Pipelines or Track APIs. NOTE: If you add new attributes, they will not appear in your Data Index until you've added it to a customer's profile.

Add descriptions for attributes so our AI tools can better understand your data. For instance, this influences how our segment builder generates conditions with AI.

If you're on a Premium plan, you can also specify whether an attribute is sensitive or not. Then Admins and Workspace Admins can decide which teammates to hide sensitive data from.

post/v1/data_index/attributes

Request body

Example request

{
  "attributes": [
    {
      "name": "last_active",
      "description": "The last time the user clicked something on our app after logging in."
    }
  ]
}

Response

Attributes updated successfully

Changes

No recorded changes to this endpoint across all 1 revision of this API.