Skip to main content
POST
Add Workspace User

Authentication & Scope

Requires the workspace-users-write ability.

Request

Path Parameters

Body Parameters

Response

200 OK – User added or invitation sent.
Or if the user doesn’t exist:
422 Unprocessable Entity – User is already a member or validation error.

Authorizations

Authorization
string
header
required

Personal Access Token created from the Raydocs dashboard. Include in the Authorization header: Bearer <your_token> See API Keys for token creation and management.

Path Parameters

workspaceId
integer
required

Body

application/json
email
string<email>
required
role
enum<string>
required
Available options:
admin,
user,
readonly

Response

User added or invited