v1

latestOpenAPI 3.0.12026-07-26152262362.2 KB
Labels

Create a label

Creates a new label.

post/analytics/v1/labels

Request body

namestring required

The name of the label.

color'blue' | 'skyBlue' | 'teal' | 'mint' | 'lime' | 'softYellow' | 'apricot' | 'lavender' | 'purple' | 'rosePink' | 'slateGrey' required

The color of the label.

Response

Created - Label created successfully.

idstring required

The unique identifier of the label.

namestring required

The name of the label.

color'blue' | 'skyBlue' | 'teal' | 'mint' | 'lime' | 'softYellow' | 'apricot' | 'lavender' | 'purple' | 'rosePink' | 'slateGrey' required

The color of the label.

type'custom' | 'preset'

The type of the label (custom or preset).

createTimestring date-time

The time when the label was created.

updateTimestring date-time

The time when the label was last updated.