Skip to main content
GET
/
api
/
v0
/
companies
/
github
/
installation-callback
Endpoint called by GitHub post-installation.
curl --request GET \
  --url https://api.example.com/api/v0/companies/github/installation-callback
{
  "msg": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.cantina.xyz/llms.txt

Use this file to discover all available pages before exploring further.

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