Skip to main content
GET
/
api
/
auth
/
organizations
/
members
List Members
curl --request GET \
  --url https://api.example.com/api/auth/organizations/members \
  --header 'X-Organization-Id: <x-organization-id>'
{
  "members": [
    {
      "membership_id": "mem_abc123",
      "user_id": "user_def456",
      "email": "user@example.com",
      "name": "John Doe",
      "role": "admin",
      "status": "active",
      "joined_at": "2024-01-01T12:00:00Z",
      "last_login": "2024-03-01T08:30:00Z"
    }
  ]
}
Retrieve a list of all members within your organization.

Request

X-Organization-Id
string
required
The unique identifier of the organization.

Response

members
array
List of member objects belonging to the organization.
{
  "members": [
    {
      "membership_id": "mem_abc123",
      "user_id": "user_def456",
      "email": "user@example.com",
      "name": "John Doe",
      "role": "admin",
      "status": "active",
      "joined_at": "2024-01-01T12:00:00Z",
      "last_login": "2024-03-01T08:30:00Z"
    }
  ]
}