Skip to navigation

Add members

Preview

Adds people to a workspace or project by email address. Specify either workspaceId or projectId.

Workspace

Adds people to a workspace by email address. Users with an existing CAD ROOMS account become members immediately. Invitations are created for email addresses not associated with an existing account. Email addresses with pending invitations are skipped.

CAD ROOMS validates all specified roles before adding any members. The entire request fails if any specified role is not a valid workspace role or if you do not have permission to grant it.

A workspace owner can grant any workspace role. A workspace admin can grant the Member, Viewer, and Guest roles.

CAD ROOMS sends invitation emails only after the invitations have been created.

Members added as Owners or Admins are also assigned the Admin role in every project within the workspace.

The request returns 403 if the workspace does not have enough available seats for the invitations. Guests do not occupy seats.

Project

Adds people to a project by email address. Users with an existing CAD ROOMS account become members immediately, and CAD ROOMS records a member.added entry in the project’s activity. Invitations are created for email addresses not associated with an existing account. Email addresses with pending invitations are skipped.

CAD ROOMS validates all specified roles before adding any members. The entire request fails if any specified role is not a valid project role.

CAD ROOMS sends invitation emails only after the invitations have been created.

People who could not be added are listed in errors. The remaining people are added successfully.

Required permission: Workspace owner or admin for a workspace. Admin in the project for a project.

Authentication

AuthorizationBearer
An API key associated with your user account and workspace. API requests inherit your existing workspace permissions.
OR
AuthorizationBearer
The session token of a user signed in to the CAD ROOMS app. Every endpoint accepts it in place of an API key.

Request

This endpoint expects an object.
memberslist of objectsRequired
The people to add.
workspaceIdstringOptional

The workspace to add people to. Send either this or projectId.

projectIdstringOptional

The project to add people to. Send either this or workspaceId.

Response headers

Request-IdstringOptional

Request-Id. Unique identifier for the request. Every response, success or error, returns it. Error bodies carry the same value in requestId. Include it when contacting CAD ROOMS support.

Response

Returns the people added and the invites created in data. An email that failed is listed in errors.

datalist of objects
The people added, and the invites created for emails with no CAD ROOMS account.
errorslist of objectsOptional
Emails that could not be added, and emails whose invite could not be sent.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error