Skip to main content

List 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.

External Documentation

To learn more, visit the GitHub documentation.


AffiliationFilter collaborators returned by their affiliation. outside means all outside collaborators of an organization-owned repository. direct means all collaborators with permissions to an organization-owned repository, regardless of organization membership status. all means all collaborators the authenticated user can see.
OwnerThe account owner of the repository. The name is not case sensitive.
PagePage number of the results to fetch.
Per PageThe number of results per page (max 100).
RepoThe name of the repository. The name is not case sensitive.
Return All PagesAutomatically fetch all resources, page by page.

Example Output

"value": [
"avatar_url": "",
"events_url": "{/privacy}",
"followers_url": "",
"following_url": "{/other_user}",
"gists_url": "{/gist_id}",
"gravatar_id": "",
"html_url": "",
"id": 1,
"login": "octocat",
"node_id": "MDQ6VXNlcjE=",
"organizations_url": "",
"permissions": {
"admin": false,
"maintain": false,
"pull": true,
"push": true,
"triage": true
"received_events_url": "",
"repos_url": "",
"role_name": "write",
"site_admin": false,
"starred_url": "{/owner}{/repo}",
"subscriptions_url": "",
"type": "User",
"url": ""

Automation Library Example

List Collaborators with Github and Send Results Via Email

Automation LibraryPreview this Automation on desktop