Workspace API
Manage workspace and organization information related to the account. List all available workspaces and organizations associated with the account in WorkDrive.
GET List Workspaces
GET https://show.zoho.com/api/v1/workspace
Required Scopes:
ZohoShow.showdocslist.READ
WorkDrive.organization.READ
WorkDrive.team.READ
Fetches data about all of the user's workspaces, organizations, and team editions.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
| fields | string | Optional | Comma-separated response fields to include. Allowed values: team_id, team_uid, name, type, product, product_type, product_domain, wd_edition, bundle_id, integration, library_client_type, client_zsoid, is_current_user_wd_admin, is_current_user_super_admin, is_family_premium_edition, super_admin_contact, display_status, has_library. Note: some names differ from the unfiltered response body — use wd_edition (not edition), library_client_type (not client_type), is_current_user_wd_admin (not is_current_user_admin), and super_admin_contact (not superadmin_contact). |
| is_default | boolean | Optional | When true, returns only your default workspace. Omit or set to false to return all workspaces you can access. |
Samples
Responses
200
Get All Workspaces (Fields)
200
Get Current Workspace
200
Get All Workspaces
200
Get Current Workspace (Fields)
{
"data": {
"workspaces": [
{
"name": "Zoho Show",
"team_id": "93601174"
},
{
"name": "Notify-Team",
"team_id": "94019985"
}
]
},
"message": "Getting workspace list",
"request_uri": "/api/v1/workspace",
"status": "success"
}
Code Examples
cURL
curl -X GET "https://show.zoho.com/api/v1/workspace?fields=name,team_id&is_default=true" \
-H "Authorization: Zoho-oauthtoken YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json"