Workspace Sharing

Invite a user to a workspace

post
/api/v2/workspaces/{workspaceId}/invite

Send an invitation to a user to join a workspace with specified permissions. Only workspace owners can send invitations.

Authorizations
Path parameters
workspaceIdstring · uuidRequired

The workspace ID

Body
invitedEmailstring · emailRequired

Email address of the user to invite

Example: [email protected]
permissionsstring · enumOptional

Permission level for the invited user

Default: readPossible values:
Responses
chevron-right
200

Invitation sent successfully

application/json
post
/api/v2/workspaces/{workspaceId}/invite

Accept or reject a workspace invitation

post
/api/v2/workspaceInvitations/{invitationId}

Accept or reject a pending workspace invitation. The invitation must be for the authenticated user.

Authorizations
Path parameters
invitationIdstring · uuidRequired

The invitation ID

Body
statusstring · enumRequired

Whether to accept or reject the invitation

Possible values:
userEmailstring · emailRequired

Email address of the user responding to the invitation

Example: [email protected]
Responses
chevron-right
200

Invitation response processed successfully

application/json
post
/api/v2/workspaceInvitations/{invitationId}

Update invitation expiration date

post
/api/v2/workspaceInvitations/{invitationId}/expiration

Update the expiration date of a pending workspace invitation. Only the inviter or workspace owner can update expiration.

Authorizations
Path parameters
invitationIdstring · uuidRequired

The invitation ID

Body
expirationDatestring · date-timeRequired

New expiration date for the invitation

Example: 2024-12-31T23:59:59.000Z
Responses
chevron-right
200

Invitation expiration updated successfully

application/json
post
/api/v2/workspaceInvitations/{invitationId}/expiration

Remove a user from workspace

post
/api/v2/workspaces/{workspaceId}/sharedUsers/{userId}/remove

Remove a shared user's access to a workspace. Only workspace owners can remove users.

Authorizations
Path parameters
workspaceIdstring · uuidRequired

The workspace ID

userIdstringRequired

The user ID to remove from workspace

Responses
chevron-right
200

User removed from workspace successfully

application/json
post
/api/v2/workspaces/{workspaceId}/sharedUsers/{userId}/remove

Update user permissions in workspace

post
/api/v2/workspaces/{workspaceId}/sharedUsers/{userId}

Update the permission level of a shared user in a workspace. Only workspace owners can update permissions.

Authorizations
Path parameters
workspaceIdstring · uuidRequired

The workspace ID

userIdstringRequired

The user ID whose permissions to update

Body
permissionsstring · enumRequired

New permission level for the user

Example: writePossible values:
Responses
chevron-right
200

Permissions updated successfully

application/json
post
/api/v2/workspaces/{workspaceId}/sharedUsers/{userId}

List all shared users in workspace

get
/api/v2/workspaces/{workspaceId}/sharedUsers

Get a list of all users who have access to the workspace along with their permissions.

Authorizations
Path parameters
workspaceIdstring · uuidRequired

The workspace ID

Responses
chevron-right
200

Successfully retrieved shared users list

application/json
get
/api/v2/workspaces/{workspaceId}/sharedUsers

List pending invitations for workspace

post
/api/v2/workspaces/{workspaceId}/pendingInvitations

Get a list of all pending invitations for a workspace. Workspace owners can see all invitations, other users can only see invitations they sent.

Authorizations
Path parameters
workspaceIdstring · uuidRequired

The workspace ID

Responses
chevron-right
200

Successfully retrieved pending invitations

application/json
post
/api/v2/workspaces/{workspaceId}/pendingInvitations

Resend workspace invitation

post
/api/v2/workspaceInvitations/{invitationId}/resend

Resend an invitation email for a pending workspace invitation. Only the original inviter or workspace owner can resend invitations.

Authorizations
Path parameters
invitationIdstring · uuidRequired

The invitation ID to resend

Responses
chevron-right
200

Invitation resent successfully

application/json
post
/api/v2/workspaceInvitations/{invitationId}/resend

Last updated