List your workspaces
Every workspace you are a member of, with your role in each. Pass one’s id as X-Workspace-Id: an API key carries no workspace, so every other route needs it.
Authorizations
OAuth 2.1 authorization-code flow with PKCE.
- Authorization URL
- https://auth.streamloop.app/api/auth/oauth2/authorize
- Token URL
- https://auth.streamloop.app/api/auth/oauth2/token
Headers
Workspace this request operates in — the workspace id (wksp_…) or the organization id, from GET /workspaces. Required with an API key, which carries no workspace (400 WORKSPACE_REQUIRED without it). With an OAuth token it defaults to the workspace the token was issued for. Responds 403 WORKSPACE_FORBIDDEN when the caller is not a current member, rather than falling back to another workspace.
Response
Successful response.
True for the workspace THIS request already resolves to, i.e. the default when no workspaceId is passed.
Workspace id (wksp_…). Send it as X-Workspace-Id or a workspaceId argument.
True for the account's own single-owner workspace, which cannot be deleted while the account exists.
The authenticated account's role in this workspace. Billing operations require owner or admin.
owner, admin, member Organization id; accepted wherever the workspace id is.