Skip to main content
GET
Get top segments

Authorizations

Authorization
string
header
required

Bearer token authentication using your API key

Path Parameters

org_id
string
required

Query Parameters

from_date
string<date-time> | null

Start of the range (ISO 8601 date). Omit for all time.

to_date
string<date-time> | null

End of the range (ISO 8601 date). Omit for up to now.

page
number

Page number

take
number

Number of items to take

next
string

Next page token (Only used on special endpoints)

Response

200 - application/json
segment_id
string
required
name
string
required
count
number
required
color
enum<string>

The name of the color to use in the UI

Available options:
red,
orange,
amber,
yellow,
lime,
green,
teal,
cyan,
sky,
blue,
indigo,
violet,
purple,
fuchsia,
pink,
rose,
neutral