List workspace members
GET
/workspaces/{workspaceId}/members
import { FloraClient } from '@flora-ai/flora';
const client = new FloraClient({ apiKey: process.env['FLORA_API_KEY'] });
// Paginated lists are async iterables; further pages are fetched as needed.for await (const workspace of await client.workspaces.listMembers({ workspaceId: '<workspaceId>',})) { console.log(workspace);}curl -X GET 'https://app.flora.ai/api/v1/workspaces/<workspaceId>/members' \ -H 'Authorization: Bearer $FLORA_API_KEY'Returns one page of members for a workspace the authenticated credential can access — email, display name, and role for each. Use meta.next_cursor to fetch subsequent pages. Lets an integration acting for the workspace (for example the FLORA Slack agent) tell which of the people it serves hold a FLORA account here. Workspaces the credential cannot read return 403.
Error responses use the standard error body.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” workspaceId
required
Workspace identifier
string
Workspace identifier
Query Parameters
Section titled “Query Parameters ” limit
Maximum number of results to return
integer
Maximum number of results to return
cursor
Opaque cursor for fetching the next page
string
Opaque cursor for fetching the next page
Responses
Section titled “ Responses ”Workspace members returned.
Media type application/json
object
workspace_id
required
Workspace identifier
string
members
required
Example
{ "workspace_id": "ws_abc123", "members": [ { } ], "meta": { "next_cursor": "eyJvZmZzZXQiOjIwfQ" }}