---
title: "List repository collaborators"
method: GET
path: "/repos/{owner}/{repo}/collaborators"
tags: ["repos"]
---

# List repository collaborators

`GET /repos/{owner}/{repo}/collaborators`

For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.
Organization members with write, maintain, or admin privileges on the organization-owned repository can use this endpoint.

Team members will include the members of child teams.

You must authenticate using an access token with the `read:org` and `repo` scopes with push access to use this
endpoint. GitHub Apps must have the `members` organization permission and `metadata` repository permission to use this
endpoint.

## Path parameters

- `owner` string, required
- `repo` string, required

## Query parameters

- `affiliation` 'outside' | 'direct' | 'all'
- `per_page` integer
- `page` integer

## Response `200`

Response

- Collaborator[]
  - `login` string, required
  - `id` integer, required
  - `email` string, nullable
  - `name` string, nullable
  - `node_id` string, required
  - `avatar_url` string, uri, required
  - `gravatar_id` string, nullable, required
  - `url` string, uri, required
  - `html_url` string, uri, required
  - `followers_url` string, uri, required
  - `following_url` string, required
  - `gists_url` string, required
  - `starred_url` string, required
  - `subscriptions_url` string, uri, required
  - `organizations_url` string, uri, required
  - `repos_url` string, uri, required
  - `events_url` string, required
  - `received_events_url` string, uri, required
  - `type` string, required
  - `site_admin` boolean, required
  - `permissions` object
    - `pull` boolean, required
    - `triage` boolean
    - `push` boolean, required
    - `maintain` boolean
    - `admin` boolean, required
  - `role_name` string

## Other responses

- `404` — Resource not found

---

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