Workspace
List workspace labels
List all workspace-level labels. These are shared across all applications in the workspace. Requires workspace:read scope.
GET
/workspace/labelsAuthorization
bearerAuth AuthorizationBearer <token>
API key. Bearer authentication header of the form Bearer <token>, where <token> is your Workspace or Application API key.
In: header
Response Body
application/json
application/json
application/json
curl -X GET "https://example.comworkspace/labels" \ -H "Authorization: Bearer YOUR_API_KEY"{ "message": "Workspace labels retrieved successfully.", "data": [ { "id": "lbl1234", "name": "Production", "description": "Production-ready builds", "color": "#22c55e", "level": "workspace", "created_at": "2025-06-10T09:15:00.000000Z", "updated_at": "2025-06-15T14:30:00.000000Z" } ]}{ "message": "Unauthorized"}{ "message": "This action requires 'resource:action' scope."}