Skip to main content

Invite User To Workspace

POST 

/api/v1/workspaces/:workspace_name/invitation

Invites a user directly to a specific workspace with the specified role.

This endpoint allows workspace administrators to invite users directly to their workspace, bypassing the organization-level invitation process. The user will be:

  1. Created in the deepset Platform if they don't already exist
  2. Added to the organization if they're not already a member
  3. Assigned the specified role within the target workspace

Required Permissions: WORKSPACE_MEMBERS write permission on the target workspace.

Valid preset roles are: ADMIN, EDITOR

Request

Responses

User invited to workspace.