Role Permissions
Each workspace member has one of four roles. The table below summarizes what each role can do.List Workspaces
Returns all workspaces the authenticated user belongs to.200 OK
Create Workspace
Creates a new workspace. The authenticated user becomes the owner.
Response
201 Created
Get Workspace
Retrieves a workspace by ID.200 OK with the full workspace object including memberCount, assistantCount, and timestamps.
Update Workspace
Updates workspace settings. Requiresowner or admin role.
200 OK with the updated workspace object.
Delete Workspace
Permanently deletes a workspace and all associated data. Requiresowner role.
204 No Content
List Members
Returns all members of a workspace. Uses offset-based pagination.200 OK
Add Member
Adds an existing IllumiChat user to the workspace. Requiresowner or admin role.
Response
201 Created
Update Member Role
Changes a member’s role. Requiresowner or admin role. Owners cannot be demoted by admins.
200 OK with the updated member object.
Remove Member
Removes a member from the workspace. Requiresowner or admin role. The workspace owner cannot be removed.
204 No Content
List Invitations
Returns all pending invitations for the workspace.200 OK
Create Invitation
Sends an email invitation to join the workspace. Requiresowner or admin role.
Invitations expire after 7 days. The recipient receives an email with a link to accept the invitation.
201 Created
Revoke Invitation
Cancels a pending invitation. Requiresowner or admin role.
204 No Content