GitHub

Finishes a GitHub App installation: apps/web forwards the installation_id + state GitHub redirected to its Setup URL with here

post/github/complete-install

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/github/complete-install
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Request body

installationIdstring required
statestring required
codestring

Response

Installation now linked to the organization the install started from

Changes

No recorded changes to this operation across all 1 revision of this API.