# List organizations with their members (internal) **GET /admin/organization/directory** Lists organizations one page at a time (newest first by default), each with a capped list of its members (id, name, email, role in that organization, active state) that leaves out claimable placeholder accounts and deleted users; `membershipCount` counts every membership and `hasMoreUsers` means the list was cut, so page the rest with `GET /admin/user?organizationId=` using `skip`/`limit`. `searchText` matches the organization name, slug or email, not users, and `total` counts organizations. Super admin only. ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Access token ## Parameters ### Query parameters - **page** (number) - **perPage** (number) - **skip** (number) Takes precedence over page/perPage when provided. Mutually exclusive with page in practice: nextPage/previousPage track `page`, so they are meaningless when paging by skip. - **limit** (number) Takes precedence over perPage when provided. - **sortOrder** (string) - **searchText** (string) Case-insensitive partial match on organization name, slug, or email. Does not match users. - **sortBy** (string) - **isActive** (boolean) Filter by the ORGANIZATION's active state. Does not filter the nested users. ## Responses ### 200 #### Body: application/json (object) - **data** (object) - **statusCode** (number) - **timestamp** (string(date-time)) [Powered by Bump.sh](https://bump.sh)