Lists all segments (based on params provided)
This endpoint retrieves a list of segments based on the provided query parameters, including pagination details.
description: "This endpoint retrieves a list of segments based on the provided query parameters, including pagination details."
Lists all segments (based on params provided)
This endpoint retrieves a list of segments based on the provided query parameters, including pagination details.
For accessing the API a valid JWT must be passed in all queries in the 'Authorization' header. The following syntax must be used in the 'Authorization' header. (Bearer xxx.yyy.zzz)
Page token used for pagination. Send this value in subsequent requests.
The number of cross sell categories you are requesting per page.
20Used to filter by a name containing provided phrase.
Used to filter by a specific team.
Used to filter by specific retailer teams.
A list of segments and a pagination token.
The page token for requesting the next page of the pagination. Should be used as "pageToken" in the request
The total number of segments that match provided criteria.
There was a problem with input.
Login failed or token not valid.
Login failed or token not valid.
An unexpected error response.
GET /v1/segments HTTP/1.1
Host: customer.<env>.citrusad.com
Authorization: YOUR_API_KEY
Accept: */*
{
"nextPageToken": "text",
"segments": [
{
"category": [
"text"
],
"description": "text",
"id": "text",
"name": "text",
"retailerTeamId": "text",
"segmentId": "text",
"sourceId": "text"
}
],
"totalCount": "text"
}
