API Reference
Log In
API Reference

Finish a GitHub organization owner's approval of the GitHub App

Called with the installation_id and code from GitHub's setup redirect after an owner approved a requested installation or installed the app, with no Revenium session. The code is exchanged with GitHub, which proves who arrived and that the installation is theirs, so a forged installation_id is refused. Nothing is linked here. When exactly one team's confirmed request named the installation's organization, the answer is confirm_team with that team, the requester's GitHub login and a single-use confirmationToken the owner's decision carries back; an installation already connected answers connected; otherwise awaiting_link, and an admin of the team who is a member of the organization links it from Integrations.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
int64

installation_id from GitHub's setup redirect; checked against the code's GitHub user, never trusted alone

string
required
length between 0 and 128
^[A-Za-z0-9_-]+$

code from GitHub's setup redirect, proving who approved or installed and that the installation is theirs

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
*/*