Add Workspace User
Workspace Users
Add User to Workspace
Add an existing user to the workspace or send an invitation if the user doesn’t exist.
POST
Add Workspace User
Authentication & Scope
Requires theworkspace-users-write ability.
Request
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
workspaceId | integer | Yes | The workspace ID |
Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
email | string | Yes | Email address of the user to add |
role | string | Yes | Role to assign: admin, user, or readonly |
Response
200 OK – User added or invitation sent.
422 Unprocessable Entity – User is already a member or validation error.Authorizations
Path Parameters
Body
application/json
Response
User added or invited
