Skip to content

Add support for GitHub Enterprise Installation lookup API #4263

Description

@zakisk

Context

GitHub recently released a new REST API endpoint in public preview (May 13, 2026) that allows a GitHub App to directly check if it is installed on a specific GitHub Enterprise account and retrieve its matching installation_id.

Previously, checking for enterprise-level installations required apps to perform tedious pagination across the global /app/installations list to find the correct target. This new capability matches existing patterns available for organizations (GET /orgs/{org}/installation), repositories, and users.

Proposed Changes

API Integration: Integrate the new Enterprise installation endpoint (GET /enterprises/{enterprise}/installation or equivalent REST path mapped under the current GitHub API specification version).

Release note: https://github.blog/changelog/2026-05-13-new-enterprise-installation-api-now-in-public-preview/
API Doc: https://docs.github.com/en/enterprise-cloud@latest/rest/apps/apps?apiVersion=2026-03-10#get-an-enterprise-installation-for-the-authenticated-app

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions