PermuteDocs
Go to Permute

Memberships · organizationMembersList

List organization members

Lists organization memberships and member contact details. Requires current organization administration. CLI logins require organization-wide approval with admin access to all resources.

GET/v1/organizations/{organizationId}/members
betaplatformUserorganization

When to use

Find members and their roles in the selected organization.

For agents

Use an organization-wide CLI login with admin access to all resources and a current organization admin role.

Example

typescript
import { OAuthLogin } from '@permute/sdk/auth';

const client = await new OAuthLogin().client();
const result = await client.organizationMembers.list('org_acme123');

Response

json
{
  "data": {
    "items": [
      {
        "userId": "user_example",
        "name": "Ada",
        "email": "ada@example.com",
        "organizationRole": "admin",
        "workspaceRole": null
      }
    ]
  }
}