/
Retrieve a segment
Retrieves a UI segment with a specified ID.
Security
SecretApiKey or JWT
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/grid-segments/{id}
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/grid-segments/{id}
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/grid-segments/{id}
- SecretApiKey
- JWT
curl -i -X GET \
'https://www.rebilly.com/_mock/catalog/all/grid-segments/{id}' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE'Segment retrieved.
Object that contains a schema that is used to set up the UI for the segment. This schema is built and consumed by the frontend. It includes information such as: segment name, UI settings, and so on.
Specifies if this segment is starred by the current user. Starring a segment marks it as a favorite segment, and also adds the segment to a starred folder in the UI.
Response
{ "id": "grd_seg_0YVCNRJW0ADV49TN8BD9X91XB5", "owner": { "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21", "name": "string" }, "data": { "name": "string", "columns": [ … ], "filters": "averageValue/amount:10;bin:555,2058", "page": "data-tables", "sort": "string", "type": "customers" }, "isStarred": true, "isVisible": true, "users": [ { … } ], "scope": "private" }