curl --request GET \
--url https://api.topsort.com/public/v1/segment-service/segments \
--header 'Authorization: Bearer <token>'
{
"segments": [
{
"description": "<string>",
"id": "<string>",
"name": "<string>",
"total": 123
}
]
}
Retrieve a list of segments.
curl --request GET \
--url https://api.topsort.com/public/v1/segment-service/segments \
--header 'Authorization: Bearer <token>'
{
"segments": [
{
"description": "<string>",
"id": "<string>",
"name": "<string>",
"total": 123
}
]
}
A valid API key generated in Topsort's UI.
Successful Response
The response is of type object
.