---
title: "List organizations for a user"
method: GET
path: "/users/{username}/orgs"
tags: ["orgs"]
---

# List organizations for a user

`GET /users/{username}/orgs`

List [public organization memberships](https://docs.github.com/enterprise-server@3.7/articles/publicizing-or-concealing-organization-membership) for the specified user.

This method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/enterprise-server@3.7/rest/orgs/orgs#list-organizations-for-the-authenticated-user) API instead.

## Path parameters

- `username` string, required

## Query parameters

- `per_page` integer
- `page` integer

## Response `200`

Response

- OrganizationSimple[]
  - `login` string, required
  - `id` integer, required
  - `node_id` string, required
  - `url` string, uri, required
  - `repos_url` string, uri, required
  - `events_url` string, uri, required
  - `hooks_url` string, required
  - `issues_url` string, required
  - `members_url` string, required
  - `public_members_url` string, required
  - `avatar_url` string, required
  - `description` string, nullable, required

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-6.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-6/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-6/versions/15db3fa0759b/schema)
