Workspace Sharing
Send an invitation to a user to join a workspace with specified permissions. Only workspace owners can send invitations.
The workspace ID
Permission level for the invited user
readPossible values: Invitation sent successfully
Bad Request - Invalid input, disposable email, or user already has access
Forbidden - Only workspace owner can invite users
Workspace not found
Internal server error
Accept or reject a pending workspace invitation. The invitation must be for the authenticated user.
The invitation ID
Whether to accept or reject the invitation
Email address of the user responding to the invitation
[email protected]Invitation response processed successfully
Bad Request - Invitation expired, already processed, or invalid status
Forbidden - Invitation is not for this user
Invitation not found
Internal server error
Update the expiration date of a pending workspace invitation. Only the inviter or workspace owner can update expiration.
The invitation ID
New expiration date for the invitation
2024-12-31T23:59:59.000ZInvitation expiration updated successfully
Bad Request - Invalid date format
Forbidden - Only inviter or workspace owner can update expiration
Invitation or workspace not found
Internal server error
Remove a shared user's access to a workspace. Only workspace owners can remove users.
The workspace ID
The user ID to remove from workspace
User removed from workspace successfully
Forbidden - Only workspace owner can remove users
Workspace not found or user already removed
Internal server error
Update the permission level of a shared user in a workspace. Only workspace owners can update permissions.
The workspace ID
The user ID whose permissions to update
New permission level for the user
writePossible values: Permissions updated successfully
Bad Request - Invalid permissions
Forbidden - Only workspace owner can update permissions
Workspace not found or user does not have access
Internal server error
Get a list of all users who have access to the workspace along with their permissions.
The workspace ID
Successfully retrieved shared users list
Forbidden - No access to this workspace
Workspace not found
Internal server error
Get a list of all pending invitations for a workspace. Workspace owners can see all invitations, other users can only see invitations they sent.
The workspace ID
Successfully retrieved pending invitations
Forbidden - No access to this workspace
Workspace not found
Internal server error
Resend an invitation email for a pending workspace invitation. Only the original inviter or workspace owner can resend invitations.
The invitation ID to resend
Invitation resent successfully
Bad Request - Invitation already processed
Forbidden - Only inviter or workspace owner can resend
Invitation not found
Internal server error
Last updated