/Docs
Search docs or ask a question⌘K
DocsAgent
Changelog
API Reference List Members

List Members

List the members of a workspace and their roles.

GET/v1/orgs/{orgId}/membersTry it
Session token

Returns every member of a workspace with their role and when they were last active.

Note

Any member of the workspace can list members. Requires a session JWT; API keys are rejected with 401. Any plan.

Path Parameters

NameDescription
orgId:stringpathRequired
The organization ID.

Response — 200 OK

NameDescription
id:stringbody
The membership id. Use it with Update Member Role, Remove Member and Transfer Ownership.
role:stringbody
owner, admin or member.
lastActiveAt:string | nullbody
When the member last signed in or made a request (tracked at most every 5 minutes per session). Always present; null when Syntext has no record of activity yet.

Error Responses

401 Unauthorized

unauthorized for a missing, invalid or expired token (or an API key); session_revoked when the session has been signed out.

403 Forbidden

forbidden ("Not a member of this organization") — you don't belong to the workspace, or it doesn't exist.

Was this page helpful? Yes No
Request
cURLJavaScriptPythonGoRubyPHPJavaC#cURL
curl https://api.syntext.dev/v1/orgs/3f9c2a1e-6b4d-4e8a-a1c7-5d2e9f0b7c13/members \
-H "Authorization: Bearer $SYNTEXT_JWT"
Responseapplication/json
200OK
{
"data": [
{
"id": "e1b3d5f7-2a4c-4e6a-9b8d-0c2e4f6a8b93",
"userId": "0b7e4c2d-9a1f-4d3e-8c56-2f1a7b9e0d48",
"email": "jane@example.com",
"name": "Jane Doe",
"avatarUrl": "https://api.syntext.dev/v1/auth/avatars/0b7e4c2d-9a1f-4d3e-8c56-2f1a7b9e0d48/5a9e3c71-2b4d-4f8a-9c06-e1d7b3a2f584.png",
"role": "owner",
"joinedAt": "2026-02-10T08:00:00.000Z",
"lastActiveAt": "2026-11-08T14:03:00.000Z"
},
{
"id": "a2c4e6f8-1b3d-4f5a-8c7e-9d0b2f4a6c81",
"userId": "7c9e1a3b-5d7f-4b2c-a4e6-8f0a2c4e6b17",
"email": "sam@example.com",
"name": "Sam Lee",
"avatarUrl": null,
"role": "member",
"joinedAt": "2026-06-01T12:30:00.000Z",
"lastActiveAt": null
}
]
}
Product
Resources
Company
© 2026 SyntextBuilt with Syntext