List Workspaces
Retrieves a list of all workspaces belonging to the authenticated user.Endpoint
Authentication
Requires a valid API token in the Authorization header.Request
Headers
| Header | Value | Required |
|---|---|---|
Authorization | Bearer token | Yes |
Parameters
NoneResponse
Success Response
Status:200 OK
Response Fields
| Field | Type | Description |
|---|---|---|
workspaces | array | Array of workspace objects |
total | number | Total number of workspaces |
Workspace Object
| Field | Type | Description |
|---|---|---|
id | string | Unique workspace identifier |
name | string | Workspace name |
description | string|null | Optional description |
user_id | string | Owner’s user ID |
created_at | string | ISO 8601 timestamp |
updated_at | string | ISO 8601 timestamp |