Members & permissions
Invite people to workspaces and drives, change their roles, and grant access to individual files and folders. Groups let you manage access for many people at once.
Roles are integers, so higher numbers grant more access. See WorkspaceRole and DriveRole in the schemas below for what each value means.
To check what the current user can do on a file or folder, call GET /workspaces/drives/{drive_id}/file-permissions or GET /workspaces/drives/{drive_id}/folder-permissions.
Create a new group.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
Successful Response
Name of the group
Not found
Validation Error
POST /groups/{group_id}/users HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 29
{
"emails": [
"[email protected]"
]
}{
"name": "text",
"id": "123e4567-e89b-12d3-a456-426614174000"
}Remove users from a group.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
Successful Response
Name of the group
Not found
Validation Error
DELETE /groups/{group_id}/users HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 53
{
"user_ids": [
"123e4567-e89b-12d3-a456-426614174000"
]
}{
"name": "text",
"id": "123e4567-e89b-12d3-a456-426614174000"
}f Retrieve a list of groups.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the workspace. List yours with GET /workspaces.
3f6c2a1e-8d4b-4c2f-9a7e-1b5d6e7f8a90Successful Response
Name of the group
Not found
Validation Error
GET /groups?workspace_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
[
{
"name": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"group_type": "text",
"user_count": 1
}
]Create a new group.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the workspace. List yours with GET /workspaces.
3f6c2a1e-8d4b-4c2f-9a7e-1b5d6e7f8a90Successful Response
Name of the group
Not found
Validation Error
POST /groups?workspace_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 43
{
"name": "text",
"emails": [
"[email protected]"
]
}{
"name": "text",
"id": "123e4567-e89b-12d3-a456-426614174000"
}Get a specific group by ID.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the workspace. List yours with GET /workspaces.
3f6c2a1e-8d4b-4c2f-9a7e-1b5d6e7f8a90Successful Response
Name of the group
Not found
Validation Error
GET /groups/{group_id}?workspace_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
{
"name": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"group_type": "text",
"user_count": 1,
"users": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"email": "text",
"avatar_url": "text",
"user_type": "regular",
"external_id": "text",
"joined": "2026-01-01T00:00:00.000Z"
}
]
}Update a group's name.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the workspace. List yours with GET /workspaces.
3f6c2a1e-8d4b-4c2f-9a7e-1b5d6e7f8a90Successful Response
Name of the group
Not found
Validation Error
PUT /groups/{group_id}?workspace_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"name": "text"
}{
"name": "text",
"id": "123e4567-e89b-12d3-a456-426614174000"
}Delete a group by ID.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
Successful Response
No content
Not found
Validation Error
DELETE /groups/{group_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
No content
Share a file on a workspace.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the drive. List a workspace's drives with GET /workspaces/{workspace_id}/drives.
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7ePath of the file or folder, starting with the drive ID, for example /7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e/Project/Interviews/A001.mov.
The url of the file
The message to send to the invited users
""Successful Response
Not found
Validation Error
POST /workspaces/drives/{drive_id}/share-file HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 90
{
"path": "text",
"invites": [
{
"email": "[email protected]",
"role": 50
}
],
"url": "text",
"message": ""
}No content
Get all files shared with a user on a drive
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the drive. List a workspace's drives with GET /workspaces/{workspace_id}/drives.
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eSuccessful Response
Not found
Validation Error
GET /workspaces/drives/{drive_id}/shared HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
[
{
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"drive_identifier": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"asset": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"path": "text",
"name": "text",
"extension": "text",
"updated": "2026-01-01T00:00:00.000Z",
"created": "2026-01-01T00:00:00.000Z",
"type": "IMAGE",
"size_bytes": 1,
"stack_id": "123e4567-e89b-12d3-a456-426614174000",
"stack_number": 1,
"is_fs_draft_blob": true,
"is_fs_null_blob": true,
"rating": 1,
"ai_indexed": true,
"system_metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"custom_metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"category": "text",
"palette": [
[
1
]
],
"ocr": "text",
"transcription_id": "123e4567-e89b-12d3-a456-426614174000",
"faces_present": true,
"content_length": 1,
"comment_count": 1,
"preview_job_state": "NOT_STARTED",
"metadata_job_state": "NOT_STARTED",
"custom_metadata_job_state": "NOT_STARTED",
"core_vision_job_state": "NOT_STARTED",
"color_palette_job_state": "NOT_STARTED",
"core_audio_job_state": "NOT_STARTED",
"audio_job_state": "NOT_STARTED",
"facial_recognition_job_state": "NOT_STARTED",
"proxy_job_state": "NOT_STARTED",
"audio_proxy_job_state": "NOT_STARTED",
"transcription_job_state": "NOT_STARTED",
"scrub_sheet_job_state": "NOT_STARTED",
"objects": [],
"texture_data": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"integration_data": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"preview_images": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
}
],
"custom_thumbnail": "text",
"proxy": {
"id": "123e4567-e89b-12d3-a456-426614174000"
},
"audio_proxy": {
"id": "123e4567-e89b-12d3-a456-426614174000"
},
"scrub_sheet": {
"preview_width": 1,
"preview_height": 1,
"columns": 1,
"rows": 1,
"interval": 1,
"total_frames": 1,
"scrub_sheets": [
"text"
]
},
"grid_scrub_sheet": {
"preview_width": 1,
"preview_height": 1,
"columns": 1,
"rows": 1,
"interval": 1,
"total_frames": 1,
"scrub_sheets": [
"text"
]
}
},
"path": "text",
"role": 1,
"actions": [
"manage"
]
}
]Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the drive. List a workspace's drives with GET /workspaces/{workspace_id}/drives.
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eID of the user.
Path of the file or folder, starting with the drive ID, for example /7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e/Project/Interviews/A001.mov.
Successful Response
Not found
Validation Error
DELETE /workspaces/drives/{drive_id}/shared/{user_id}/path HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"path": "text"
}trueYour Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the drive. List a workspace's drives with GET /workspaces/{workspace_id}/drives.
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eID of the user.
A user's role on a drive, folder, or file. Higher values grant more access.
Path of the file or folder, starting with the drive ID, for example /7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e/Project/Interviews/A001.mov.
falseSuccessful Response
Not found
Validation Error
PUT /workspaces/drives/{drive_id}/users/{user_id}/path HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 40
{
"role": 50,
"path": "text",
"upsert": false
}No content
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the drive. List a workspace's drives with GET /workspaces/{workspace_id}/drives.
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7ePath of the file or folder, starting with the drive ID, for example /7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e/Project/Interviews/A001.mov.
Successful Response
Not found
Validation Error
GET /workspaces/drives/{drive_id}/file-users?path=text HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
{
"invited": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"email": "text",
"avatar_url": "text",
"user_type": "regular",
"role": 50,
"is_contractor": false,
"is_workspace_member": false,
"via": "workspace",
"is_inheriting_as_workspace_member": false,
"is_pending": false
}
],
"not_invited": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"email": "text",
"avatar_url": "text",
"user_type": "regular",
"role": 50,
"is_contractor": false,
"is_workspace_member": false
}
]
}Get your role + actions you can do on a file (asset). No need to auth these bc you are checking your role and would get none if you don't have auth.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the drive. List a workspace's drives with GET /workspaces/{workspace_id}/drives.
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7ePath of the file or folder, starting with the drive ID, for example /7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e/Project/Interviews/A001.mov.
Successful Response
A user's role on a drive, folder, or file. Higher values grant more access.
Not found
Validation Error
GET /workspaces/drives/{drive_id}/folder-permissions?path=text HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
{
"role": 50,
"actions": [
"manage"
],
"via": "workspace"
}Get your role + actions you can do on a file (asset). No need to auth these bc you are checking your role and would get none if you don't have auth.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the drive. List a workspace's drives with GET /workspaces/{workspace_id}/drives.
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eThe id of the file (asset id)
c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2fSuccessful Response
A user's role on a drive, folder, or file. Higher values grant more access.
Not found
Validation Error
GET /workspaces/drives/{drive_id}/file-permissions?asset_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
{
"role": 50,
"actions": [
"manage"
],
"via": "workspace"
}Check whether a user is authed on a path in a drive.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the drive. List a workspace's drives with GET /workspaces/{workspace_id}/drives.
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7ePath of the file or folder, starting with the drive ID, for example /7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e/Project/Interviews/A001.mov.
Successful Response
Not found
Validation Error
GET /workspaces/drives/{drive_id}/authorize?path=text HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
trueLists all the paths for a specific user on a drive
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the drive. List a workspace's drives with GET /workspaces/{workspace_id}/drives.
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eID of the user.
Successful Response
Not found
Validation Error
GET /workspaces/drives/{drive_id}/user-paths/{user_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
{
"drive": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"icon": "text",
"settings": {
"max_storage_bytes": 1,
"mount_path_macos": "text",
"mount_path_linux": "text",
"mount_path_windows": "text"
},
"type": "catalog",
"identifier": "text",
"icon_type": "color",
"member_inherited_role": 50,
"invite_id": "123e4567-e89b-12d3-a456-426614174000",
"workspace_id": "123e4567-e89b-12d3-a456-426614174000",
"byos": {
"bucket": "text",
"endpoint": "text"
},
"default_storage_backend": {
"provider": "text",
"bucket": "text"
}
},
"paths": [
{
"user_id": "123e4567-e89b-12d3-a456-426614174000",
"user_name": "text",
"path": "text",
"role": 50
}
]
}Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the drive. List a workspace's drives with GET /workspaces/{workspace_id}/drives.
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eSuccessful Response
A user's role on a drive, folder, or file. Higher values grant more access.
falsefalsefalsefalseNot found
Validation Error
GET /workspaces/drives/{drive_id}/users HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"email": "text",
"avatar_url": "text",
"user_type": "regular",
"external_id": "text",
"joined": "2026-01-01T00:00:00.000Z",
"role": 50,
"is_workspace_member": false,
"is_workspace_owner": false,
"is_inherited_manager": false,
"is_contractor": false
}
]Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the drive. List a workspace's drives with GET /workspaces/{workspace_id}/drives.
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eSuccessful Response
Not found
Validation Error
POST /workspaces/drives/{drive_id}/send-invites HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 67
{
"invites": [
{
"email": "[email protected]",
"role": 50
}
],
"message": "text"
}[
"123e4567-e89b-12d3-a456-426614174000"
]Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the drive. List a workspace's drives with GET /workspaces/{workspace_id}/drives.
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eID of the user.
A user's role on a drive, folder, or file. Higher values grant more access.
Successful Response
Not found
Validation Error
PUT /workspaces/drives/{drive_id}/users/{user_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 11
{
"role": 50
}No content
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the drive. List a workspace's drives with GET /workspaces/{workspace_id}/drives.
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eID of the user.
falseSuccessful Response
Not found
Validation Error
DELETE /workspaces/drives/{drive_id}/users/{user_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
trueYour Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
Successful Response
Not found
Validation Error
GET /workspaces/discoverable HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"domain": "text",
"thumbnail": "text",
"created_by_name": "text",
"team_domain": "text"
}
]Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the workspace. List yours with GET /workspaces.
3f6c2a1e-8d4b-4c2f-9a7e-1b5d6e7f8a90Successful Response
A user's role in a workspace. Higher values grant more access.
A user's role in a workspace. Higher values grant more access.
Not found
Validation Error
POST /workspaces/{workspace_id}/join-by-domain HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"domain": "text",
"team_domain": "text",
"thumbnail": "text",
"member_inherited_role": 60,
"invite_id": "123e4567-e89b-12d3-a456-426614174000",
"type": "PERSONAL",
"onboarding": {
"ANY_ADDITIONAL_PROPERTY": true
},
"onboarding_tasks": {
"ANY_ADDITIONAL_PROPERTY": true
},
"settings": {
"transcription_model": "BEST",
"default_drive_inheritance": 50,
"status": "ACTIVE",
"link_sharing_enabled": true,
"custom_links_enabled": true,
"link_sharing_templates": [
{
"id": "text",
"name": "text",
"allowed_actions": [
"manage"
],
"icon": "text",
"icon_type": "color",
"settings": {
"view": "text",
"thumbnail_view": "text",
"card_size": 1,
"metadata_attribute_ids": [
"text"
],
"password_required": false,
"expiration_duration_days": 1,
"max_view_count": 1,
"watermarking_config": {
"mode": "session",
"text": "text",
"position": "top_left",
"font_size": "text"
}
},
"locked": false
}
],
"default_comments_internal": false,
"domain_discovery_enabled": false
},
"trial_started": true,
"store_analytics": true,
"organization": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"url_subdomain": "text",
"email_domain": "text",
"client_metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"partnership_type": "BRANDING",
"discount_amount": 1
},
"client_metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"partner_id": "text",
"created": "2026-01-01T00:00:00.000Z",
"last_accessed": "2026-01-01T00:00:00.000Z",
"sales_settings": {
"account_manager": {
"name": "text",
"email": "[email protected]"
},
"customer_success_manager": {
"name": "text",
"email": "[email protected]"
}
},
"actions": [
"manage"
],
"personal": true,
"role": 60
}Lists all the paths for a specific user on a workspace
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the workspace. List yours with GET /workspaces.
3f6c2a1e-8d4b-4c2f-9a7e-1b5d6e7f8a90ID of the user.
Successful Response
Not found
Validation Error
GET /workspaces/{workspace_id}/user-paths/{user_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
[
{
"drive": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"icon": "text",
"settings": {
"max_storage_bytes": 1,
"mount_path_macos": "text",
"mount_path_linux": "text",
"mount_path_windows": "text"
},
"type": "catalog",
"identifier": "text",
"icon_type": "color",
"member_inherited_role": 50,
"invite_id": "123e4567-e89b-12d3-a456-426614174000",
"workspace_id": "123e4567-e89b-12d3-a456-426614174000",
"byos": {
"bucket": "text",
"endpoint": "text"
},
"default_storage_backend": {
"provider": "text",
"bucket": "text"
}
},
"paths": [
{
"user_id": "123e4567-e89b-12d3-a456-426614174000",
"user_name": "text",
"path": "text",
"role": 50
}
]
}
]For drive and workspace users, list their access and paths.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the workspace. List yours with GET /workspaces.
3f6c2a1e-8d4b-4c2f-9a7e-1b5d6e7f8a90Successful Response
Not found
Validation Error
GET /workspaces/{workspace_id}/user-paths HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
[
{
"drive": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"icon": "text",
"settings": {
"max_storage_bytes": 1,
"mount_path_macos": "text",
"mount_path_linux": "text",
"mount_path_windows": "text"
},
"type": "catalog",
"identifier": "text",
"icon_type": "color",
"member_inherited_role": 50,
"invite_id": "123e4567-e89b-12d3-a456-426614174000",
"workspace_id": "123e4567-e89b-12d3-a456-426614174000",
"byos": {
"bucket": "text",
"endpoint": "text"
},
"default_storage_backend": {
"provider": "text",
"bucket": "text"
}
},
"paths": [
{
"user_id": "123e4567-e89b-12d3-a456-426614174000",
"user_name": "text",
"path": "text",
"role": 50
}
]
}
]Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the workspace. List yours with GET /workspaces.
3f6c2a1e-8d4b-4c2f-9a7e-1b5d6e7f8a90Successful Response
A user's role in a workspace. Higher values grant more access.
falsefalsefalseNot found
Validation Error
GET /workspaces/{workspace_id}/users HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"email": "text",
"avatar_url": "text",
"user_type": "regular",
"external_id": "text",
"joined": "2026-01-01T00:00:00.000Z",
"role": 60,
"is_workspace_member": false,
"is_workspace_owner": false,
"is_contractor": false
}
]Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the workspace. List yours with GET /workspaces.
3f6c2a1e-8d4b-4c2f-9a7e-1b5d6e7f8a90Successful Response
Not found
Validation Error
GET /workspaces/{workspace_id}/users/count HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
{
"total_count": 1,
"member_count": 1,
"guest_count": 1,
"admin_count": 1
}Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the workspace. List yours with GET /workspaces.
3f6c2a1e-8d4b-4c2f-9a7e-1b5d6e7f8a90The message to send to the invited user
Successful Response
Not found
Validation Error
POST /workspaces/{workspace_id}/send-invites HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 67
{
"invites": [
{
"email": "[email protected]",
"role": 60
}
],
"message": "text"
}trueThis is a PUBLIC route where anyone can see invites. To see (you've been invited to ... workspace)
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
Successful Response
Not found
Validation Error
GET /workspaces/invites/{invite_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"sent_by": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"email": "text",
"avatar_url": "text",
"user_type": "regular"
},
"sent_by_id": "123e4567-e89b-12d3-a456-426614174000",
"sent_to_email": "text",
"workspace_id": "123e4567-e89b-12d3-a456-426614174000",
"workspace": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"domain": "text"
},
"workspace_role": 60,
"invite_type": "drive",
"invite_target": "user"
}Allow authenticated users to accept direct or anyone-with-link invites.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the invitation to join
Successful Response
Not found
Validation Error
POST /workspaces/invites/{invite_id}/join HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"sent_by": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"email": "text",
"avatar_url": "text",
"user_type": "regular"
},
"sent_by_id": "123e4567-e89b-12d3-a456-426614174000",
"sent_to_email": "text",
"workspace_id": "123e4567-e89b-12d3-a456-426614174000",
"workspace": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"domain": "text"
},
"workspace_role": 60,
"invite_type": "drive",
"invite_target": "user"
}Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the workspace. List yours with GET /workspaces.
3f6c2a1e-8d4b-4c2f-9a7e-1b5d6e7f8a90ID of the user.
A user's role in a workspace. Higher values grant more access.
Successful Response
Not found
Validation Error
PUT /workspaces/{workspace_id}/users/{user_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 11
{
"role": 60
}No content
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the workspace we want to deactivate the user in
3f6c2a1e-8d4b-4c2f-9a7e-1b5d6e7f8a90The id for the user we want to deactivate
Successful Response
Not found
Validation Error
DELETE /workspaces/{workspace_id}/users/{user_id_to_remove} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
trueYour Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the workspace. List yours with GET /workspaces.
3f6c2a1e-8d4b-4c2f-9a7e-1b5d6e7f8a90Successful Response
Not found
Validation Error
POST /workspaces/{workspace_id}/transfer-ownership/{new_owner_user_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
trueYour Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the workspace. List yours with GET /workspaces.
3f6c2a1e-8d4b-4c2f-9a7e-1b5d6e7f8a90Successful Response
Not found
Validation Error
POST /workspaces/{workspace_id}/leave HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
trueGenerate and return a WorkOS Admin Portal link for enterprise configuration. User must be an admin or owner of the workspace and workspace must be on Enterprise plan.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the workspace. List yours with GET /workspaces.
3f6c2a1e-8d4b-4c2f-9a7e-1b5d6e7f8a90The Admin Portal intent (sso, dsync, audit_logs, domain_verification)
ssoPossible values: Successful Response
Not found
Validation Error
GET /workspaces/{workspace_id}/admin-portal-link HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
{
"link": "text"
}Generate and return a WorkOS Widgets token for use with frontend widgets. User must be a member of the workos org.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the workspace. List yours with GET /workspaces.
3f6c2a1e-8d4b-4c2f-9a7e-1b5d6e7f8a90Successful Response
Not found
Validation Error
GET /workspaces/{workspace_id}/workos-widget HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
{
"token": "text"
}Last updated
Was this helpful?

