# Get All Workspaces Retrieve all active workspaces for the authenticated user. Returns paginated list of workspaces where the user is a member, including workspace details and status. Only non-blocked, non-deleted workspaces are returned. Endpoint: GET /workspaces Version: 2.0.0 Security: oauth2, apiKey ## Query parameters: - `page` (integer) Page number for pagination - `per_page` (integer) Number of items per page ## Response 200 fields (application/json): - `success` (boolean) Example: true - `data` (array) - `data.id` (integer, required) Unique identifier for the workspace Example: 1 - `data.owner_id` (integer, required) ID of the workspace owner Example: 10 - `data.user_id` (integer, required) ID of the user associated with this workspace Example: 100 - `data.workspace_name` (string, required) Name of the workspace Example: "WebWork Workspace" - `data.role` (string, required) Role of the user in this workspace Enum: "Owner", "Project viewer", "Executive manager", "Team manager", "Project manager", "Regular User" - `data.status` (string, required) Status of the workspace Enum: "active", "inactive", "left", "unknown" - `data.created_at` (string, required) Timestamp when workspace was created Example: "2025-02-19T19:24:55.000000Z" - `data.activated_at` (string, required) Timestamp when workspace was activated Example: "2025-02-19 19:24:55" - `meta` (object) - `meta.api_version` (string) Example: "2.0.0" - `meta.timestamp` (string) - `meta.pagination` (object) - `meta.pagination.total` (integer) Example: 50 - `meta.pagination.per_page` (integer) Example: 20 - `meta.pagination.current_page` (integer) Example: 1 - `meta.pagination.last_page` (integer) Example: 3 - `meta.pagination.from` (integer) Example: 1 - `meta.pagination.to` (integer) Example: 20 ## Response 401 fields (application/json): - `success` (boolean, required) - `message` (string, required) Error message describing what went wrong Example: "An error occurred" - `error` (string,null) Optional additional error details Example: "Internal Server Error" - `meta` (object, required) - `meta.api_version` (string) Example: "2.0.0" - `meta.timestamp` (string) ## Response 500 fields (application/json): - `success` (boolean, required) - `message` (string, required) Error message describing what went wrong Example: "An error occurred" - `error` (string,null) Optional additional error details Example: "Internal Server Error" - `meta` (object, required) - `meta.api_version` (string) Example: "2.0.0" - `meta.timestamp` (string)