Skip to main content
GET
Endpoint called by GitHub post-installation.

Query Parameters

installation_id
integer<int64> | null

The installation id, unique to an installation of the GitHub app. Present for install, absent for request.

Required range: x >= 0
code
string | null

The code to create a user access token. May be absent for request.

setup_action
string
required

The type of callback. Either "install" or "request".

state
string | null

The CSRF state that was set at the start of the installation. Absent when the org admin approves a requested installation (they never went through our installation link flow).

Response

GitHub app installed or installation pending approval