v34

latestOpenAPI 3.1.0raw.githubusercontent.com2026-01-2166128239.1 KB
workspace

Add Workspace Users

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

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