Workspace members list
GET
https://app.sulus.ai/api/workspaces/{workspace}/members
List members and pending invitations
Authentication
Send a bearer token created on your dashboard's Developer page:
Authorization: Bearer <YOUR_API_KEY>
Path parameters
workspace
string
Required
Workspace id.
Validation:
UUID of a workspace the caller can accessStored in
workspaces.idErrors
| Status | Meaning | Body |
|---|---|---|
401 |
Missing or invalid bearer token | |
403 |
Feature workspaces not enabled | {"message":"This feature is not enabled for your account. Please contact your administrator.","feature":"workspaces"} |
403 |
Policy denied | {"message":"This action is unauthorized."} |
Notes
- Member id is the user id (not workspace_members.id).
- Pending invitations are unaccepted rows with expires_at in the future.
curl --request GET \
--url https://app.sulus.ai/api/workspaces/{workspace}/members \
--header 'Authorization: Bearer <YOUR_API_KEY>'
import requests
url = "https://app.sulus.ai/api/workspaces/{workspace}/members"
headers = {"Authorization": "Bearer <YOUR_API_KEY>"}
response = requests.get(url, headers=headers)
print(response.json())
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
url := "https://app.sulus.ai/api/workspaces/{workspace}/members"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <YOUR_API_KEY>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
Response
200
{
"data": {
"members": [
{
"id": 12,
"name": "Jane Cooper",
"email": "[email protected]",
"role": "owner",
"joined_at": "2026-06-01T10:00:00.000000Z",
"invited_by": null
},
{
"id": 44,
"name": "Sam Rivera",
"email": "[email protected]",
"role": "member",
"joined_at": "2026-07-15T12:00:00.000000Z",
"invited_by": {
"id": 12,
"name": "Jane Cooper",
"email": "[email protected]"
}
}
],
"pending_invitations": [
{
"id": "b2c3d4e5-f6a7-8901-bcde-f23456789012",
"email": "[email protected]",
"role": "viewer",
"expires_at": "2026-08-06T12:00:00.000000Z",
"created_at": "2026-07-30T12:00:00.000000Z"
}
]
}
}
Response — GET
/workspaces/{workspace}/members
200
{
"data": {
"members": [
{
"id": 12,
"name": "Jane Cooper",
"email": "[email protected]",
"role": "owner",
"joined_at": "2026-06-01T10:00:00.000000Z",
"invited_by": null
},
{
"id": 44,
"name": "Sam Rivera",
"email": "[email protected]",
"role": "member",
"joined_at": "2026-07-15T12:00:00.000000Z",
"invited_by": {
"id": 12,
"name": "Jane Cooper",
"email": "[email protected]"
}
}
],
"pending_invitations": [
{
"id": "b2c3d4e5-f6a7-8901-bcde-f23456789012",
"email": "[email protected]",
"role": "viewer",
"expires_at": "2026-08-06T12:00:00.000000Z",
"created_at": "2026-07-30T12:00:00.000000Z"
}
]
}
}