workspace

Add Workspace Users

Changed on

Add users to a workspace (bulk operation). Only workspace owners can add users.

Client provides SealedBox-encrypted workspace key via Workspace-Key header. Server decrypts it using session key, then wraps it with each recipient's public key. Returns the full WorkspaceUserResponse for each successfully added user.

post/api/workspace/{workspace_ext_id}/users

Request

  • The document declares no server URL.
  • Auth
    HTTP bearer

Path parameters

workspace_ext_idstring required

Headers

workspace-keystring

Request body

emailsstring[] required
role'owner' | 'collaborator' | 'guest'

Role of a user within a workspace.

Response

Successful Response

role'owner' | 'collaborator' | 'guest' required

Role of a user within a workspace.

joined_atstring date-time required
conversation_countinteger
document_countinteger

Changes