v56

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,4581,08113.3 MB
apps

Get repositories belonging to an enterprise-owned organization

List the repositories belonging to an enterprise-owned organization that can be made accessible to a GitHub App installed on that organization. This API provides a shallow list of repositories in the organization, allowing the caller to then add or remove those repositories to an installation in that organization.

This API can only be called by a GitHub App installed on the enterprise that owns the organization.

get/enterprises/{enterprise}/apps/installable_organizations/{org}/accessible_repositories

Path parameters

enterprisestring required

The slug version of the enterprise name.

orgstring required

The organization name. The name is not case sensitive.

Query parameters

per_pageinteger

The number of results per page (max 100). For more information, see "Using pagination in the REST API."

pageinteger

The page number of the results to fetch. For more information, see "Using pagination in the REST API."

Response

A list of repositories owned by the enterprise organization on which the authenticated GitHub App is installed.

idinteger required

Unique identifier of the repository

namestring required

The name of the repository.

full_namestring required

Example response

[
  {
    "id": 1,
    "name": "Team Environment",
    "full_name": "octocat/Hello-World"
  }
]