Workspaces
Endpoint for listing the teams your token has access to.
GET /api/v1/workspaces
Returns all teams the token owner is a member of.
Example request
GET /api/v1/workspaces
Authorization: Bearer ukkora_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Example response
{
"data": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "My Team",
"role": "owner"
},
{
"id": "660e8400-e29b-41d4-a716-446655440001",
"name": "Project Team",
"role": "member"
}
]
}
Response fields
| Field | Type | Description |
|---|---|---|
id | string (UUID) | Team ID |
name | string | Team name |
role | owner | admin | member | Your role in the team |