Get User Workspaces
Integration API
Get Workspaces
Retrieves all workspaces accessible to the authenticated user
GET
Get User Workspaces
Retrieves all workspaces accessible to the authenticated user. Workspaces are containers that organize your cards and team collaboration in CardClan.
Response Details
The response returns an array containing workspace choices formatted for integration platforms:- key: Always “workspace” to identify the data type
- choices: Array of available workspaces with their details
- id: Unique workspace identifier (use this for other API calls)
- name: Human-readable workspace name
- key: Same as ID (for integration platform compatibility)
- label: Description of the field type
- value: Display name for the workspace
Use Cases
- Dynamic Workspace Selection: Let users choose which workspace to send cards from
- Multi-Tenant Applications: Support customers with multiple workspaces
- Automation Setup: Discover available workspaces for workflow configuration
- Access Validation: Verify which workspaces the integration key can access
Response Example
Next Steps
After getting workspaces, you typically want to:- Get Cards: Use the workspace ID to retrieve available cards
- Set Up Integration Config: Create configurations linking cards to workflows
- Send Cards: Execute card delivery using the workspace’s cards