Segments
Paginated list of segments in your workspace
Gets all segments in your workspace. Filtering currently not supported
POST
/
segments
/
search
Copy
curl --request POST \
--url https://api.rallyuxr.com/api/public/v1/segments/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"pageInfo": {
"size": 10
}
}'
Copy
{
"results": [
{
"segmentId": "<string>",
"name": "<string>",
"type": "EVERYONE"
}
],
"total": 123,
"pageInfo": {
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "<string>",
"endCursor": "<string>"
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200
application/json
The segments
The response is of type object
.
Copy
curl --request POST \
--url https://api.rallyuxr.com/api/public/v1/segments/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"pageInfo": {
"size": 10
}
}'
Copy
{
"results": [
{
"segmentId": "<string>",
"name": "<string>",
"type": "EVERYONE"
}
],
"total": 123,
"pageInfo": {
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "<string>",
"endCursor": "<string>"
}
}
Assistant
Responses are generated using AI and may contain mistakes.