API Endpoint to Retrieve Workspaces for a Specific User
Request for a new API endpoint that returns all workspaces associated with a specific user within an organization.
Example desired functionality:
GET /users/{user_id}/workspaces
or
GET /user-workspaces?user_id={id}
This would allow integrators to dynamically determine which workspaces a user belongs to without retrieving the full user list across the organization.
Customer Context
Customer operates a franchise model with:
40+ workspaces
500+ users
Shared identity across the organization
Heavy API-based embedded document workflows
Users may belong to multiple workspaces simultaneously.
The customer initiates document creation from their CRM and needs to determine which workspace the user should interact with before creating the document.
Current Limitation
The current API architecture does not provide a direct method to retrieve the workspaces associated with a specific user.
The only available approach is:
Retrieve all users in the organization
Parse the full list
Determine which workspaces the target user belongs to
For organizations with hundreds of users, this approach is:
Inefficient
Resource intensive
Difficult to scale