Method
GET /v1/workspaces/:id/members
Path Parameters
Workspace identifier (must match API key workspace).
Headers
Bearer token with
workspaces:read scope.curl "https://api.voyantcloud.com/v1/workspaces/ws_abc/members" \
-H "Authorization: Bearer $VOYANT_API_KEY"
{
"data": [
{
"id": "usr_123",
"email": "[email protected]",
"name": "Ana Ionescu",
"role": "admin"
},
{
"id": "usr_456",
"email": "[email protected]",
"name": "Mihai Popescu",
"role": "member"
}
]
}
Return member list (id, email, name, role) for the workspace.
GET /v1/workspaces/:id/members
workspaces:read scope.curl "https://api.voyantcloud.com/v1/workspaces/ws_abc/members" \
-H "Authorization: Bearer $VOYANT_API_KEY"
{
"data": [
{
"id": "usr_123",
"email": "[email protected]",
"name": "Ana Ionescu",
"role": "admin"
},
{
"id": "usr_456",
"email": "[email protected]",
"name": "Mihai Popescu",
"role": "member"
}
]
}