List workspaces accessible to the OAuth application
GET/api/v1/workspaces
Returns a paginated list of workspaces (tenants) that the authenticated OAuth application has access to.
This endpoint is useful for discovering which workspaces are available before making requests to workspace-scoped endpoints like /api/v1/workspaces/{workspace_id}/companies.
Request
Responses
- 200
- 400
- 401
Returns a paginated list of every workspace (tenant) the OAuth application's client credentials can access. Call this first: every other endpoint is scoped under a workspace_id from this list.
The requested page number is beyond the last available page for this collection.
The request did not include a valid OAuth 2.0 access token.