Endpoint called by GitHub post-installation.
Companies
Endpoint called by GitHub post-installation.
Handles two flows:
setup_action=install: The installation was completed. Registers the installation and redirects to the success page.setup_action=request: The installation was requested but awaits org owner approval. Stores the requester’s GitHub user ID (for webhook matching) and redirects to the pending page.
Access control rules
- Company member of the company.
- Admins can list all companies. Requires
manage_companiespermissions.
GET
Endpoint called by GitHub post-installation.
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
The installation id, unique to an installation of the GitHub app.
Present for install, absent for request.
Required range:
x >= 0The code to create a user access token.
May be absent for request.
The type of callback. Either "install" or "request".
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
Returns the GitHub App installation link.Endpoint to list the GitHub organizations the Cantina App has been installed in.