# List Organization Members Retrieve all members of an organization with pagination support. ## Path Parameters **`organization_id`** string required Organization ID with `org_` prefix. ## Request Body **`skip`** integer optional Number of records to skip (default: 0). **`take`** integer optional Number of records to return. **`search_term`** string optional Search filter for member names or emails. **`role_id`** string optional Filter by role ID. **`status_id`** string optional Filter by status ID. **`sort_field`** string optional Field to sort results by. **`sort_direction`** string optional Sort direction. One of: `asc`, `desc`. **`include_deleted`** boolean optional Include deleted members (default: false). ## Returns Paginated list of organization members with role and status information. ## Authentication Requires authentication. User must be a member of the organization. Request ```bash curl -X POST \ "https://api.aitronos.com/v1/organizations/org_xyz789/users" \ -H "X-API-Key: $FREDDY_API_KEY" \ -H "Content-Type: application/json" \ -d '{"skip": 0, "take": 100}' ``` ```python Python SDK from aitronos import Aitronos client = Aitronos(api_key="your-api-key") result = client.crew_management_members.list_members(organization_id="org_abc123") print(result) ``` ```python import requests response = requests.post( "https://api.aitronos.com/v1/organizations/org_xyz789/users", headers={"X-API-Key": f"{FREDDY_API_KEY}"}, json={"skip": 0, "take": 100} ) ``` ```javascript const response = await fetch('https://api.aitronos.com/v1/organizations/org_xyz789/users', { method: 'POST', headers: { 'X-API-Key': `${FREDDY_API_KEY}`, 'Content-Type': 'application/json' }, body: JSON.stringify({ skip: 0, take: 100 }) }); ``` **Response:** 200 OK ```json { "members": [ { "id": "orguser_abc123", "user_id": "usr_abc123", "organization_id": "org_xyz789", "role_id": "role_admin", "status_id": "status_active", "joined_at": "2025-01-15T08:00:00Z", "email": "admin@example.com", "full_name": "John Doe", "role_name": "Admin", "status_name": "Active" }, { "id": "orguser_def456", "user_id": "usr_def456", "organization_id": "org_xyz789", "role_id": "role_member", "status_id": "status_active", "joined_at": "2025-02-20T09:00:00Z", "email": "member@example.com", "full_name": "Jane Smith", "role_name": "Member", "status_name": "Active" } ], "total": 2, "skip": 0, "limit": 100 } ``` 403 Forbidden ```json { "success": false, "error": { "code": "INSUFFICIENT_PERMISSIONS", "message": "You don't have permission to perform this action.", "system_message": "Insufficient permissions for this operation", "type": "client_error", "status": 403, "details": {}, "trace_id": "abc-123-def", "timestamp": "2025-01-01T00:00:00Z" } } ``` ## Related Resources - [Organization Overview](/docs/documentation/organizations)