Authentication & Scope
Requires theworkspace-users-read ability.
Request
Path Parameters
Response
200 OK – An array of workspace members.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
List all members of a workspace with their roles.
workspace-users-read ability.
GET /workspaces/1/users HTTP/1.1
Host: api.raydocs.com
Authorization: Bearer <token>
| Parameter | Type | Required | Description |
|---|---|---|---|
workspaceId | integer | Yes | The workspace ID |
200 OK – An array of workspace members.
[
{
"id": 1,
"name": "John Doe",
"email": "john@example.com",
"role": "admin",
"photo_url": "https://gravatar.com/..."
},
{
"id": 2,
"name": "Jane Smith",
"email": "jane@example.com",
"role": "user",
"photo_url": "https://gravatar.com/..."
}
]
| Role | Description |
|---|---|
admin | Full access, can manage workspace settings and users |
user | Can create and edit templates, sessions, and documents |
readonly | View-only access to workspace contents |
