Get a segment by ID
Path Parameters
- Type: integersegment
Id requiredID of segment
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for get/segment/{segmentId}
curl https://test.boost.space/api/segment/1 \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"id": 42,
"created": "2026-01-15T09:30:00Z",
"createdUserId": 42,
"updated": "2026-01-15T09:30:00Z",
"updatedUserId": 42,
"name": "Sample name",
"description": "string",
"filter": "string",
"module": "string",
"orderIndex": 1,
"customModuleId": 42,
"users": [
1
],
"teams": [
1
],
"categories": [
1
]
}