Create custom attribute

Creates a new custom attribute

Log in to see full request history
timestatususer agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

ID of the app.

Body Params
string
required
length between 1 and 255

Name of the attribute.

string
required
length between 1 and 255

Determines from which key in an event the attribute will be populated.
The value can be either:

  • known analytics event data key (e.g. analytics.source_medium)
  • custom event data key (^[a-z0-9_]{1,255}$, e.g. user_score) - can be used to update attributes via API

If an attribute with the given event_data_key already exists, its type must match;
otherwise, an appropriate error will be returned.

string
required

Type of the data.

string
required

Aggregation type for attribute values.

Responses

Response body
object
string
required

Unique ID of column.

string
required

Key of the imported data value or name of Tracker event dimension to populate attribute.

boolean
required

A flag indicating whether the attribute is immutable.

If immutable is set to true, the attribute is considered
read-only and cannot be modified. If set to false, the
attribute can be modified.

column_meta
object
required

Column metadata (readonly).

string

Name of the column.

string

Type of the column.

number string ipv4 ipv6 bool int uuid hex datetime

string

Unit of the column.

currency url days pixels none millisecond

column_category
array of strings

Categories of the column.

column_category
string

Name of the column in Analytics module. Used to calculate audience count.

string

Transformation name used in Analytics module to calculate audience count. Currently one option available.

sum

value_selectors
array of strings
length ≥ 0

List of value selectors possible for given column.

value_selectors
extractions
array of strings
length ≥ 0

List of extractions possible for given column.

extractions
string

Aggregation for attribute values.

first last first_last list list_unique min max sum

string

Defines the scope of dimension.

event profile

Language
Credentials
URL