> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

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

<Note>
  External Documentation

  To learn more, visit the [GitHub documentation](https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter        | Description                                                                                                                                                                                                                                                                                                                           |
  | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Affiliation      | Filter 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. |
  | Owner            | The account owner of the repository. The name is not case sensitive.                                                                                                                                                                                                                                                                  |
  | Page             | Page number of the results to fetch.                                                                                                                                                                                                                                                                                                  |
  | Per Page         | The number of results per page (max 100).                                                                                                                                                                                                                                                                                             |
  | Repo             | The name of the repository. The name is not case sensitive.                                                                                                                                                                                                                                                                           |
  | Return All Pages | Automatically fetch all resources, page by page.                                                                                                                                                                                                                                                                                      |
</div>

## Example Output

```json theme={"dark"}
[
	{
		"login": "<string>",
		"id": 211740924,
		"node_id": "<string>",
		"avatar_url": "<string>",
		"gravatar_id": "<string>",
		"url": "<string>",
		"html_url": "<string>",
		"followers_url": "<string>",
		"following_url": "<string>",
		"gists_url": "<string>",
		"starred_url": "<string>",
		"subscriptions_url": "<string>",
		"organizations_url": "<string>",
		"repos_url": "<string>",
		"events_url": "<string>",
		"received_events_url": "<string>",
		"type": "<string>",
		"user_view_type": "<string>",
		"site_admin": false,
		"permissions": {
			"admin": true,
			"maintain": true,
			"push": true,
			"triage": true,
			"pull": true
		},
		"role_name": "<string>"
	}
]
```

## Workflow Library Example

[List Collaborators with Github and Send Results Via Email](https://library.blinkops.com/workflows/list-collaborators-with-github-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/list-collaborators-with-github-and-send-results-via-email/canvas" />
</div>
