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. When exactly one team's confirmed request named the installation's organization, the installation is linked to that team and the answer is 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

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
*/*