Start connecting GitHub
Starts installing Kapten’s GitHub App for the organization. Returns the GitHub URL to send the user to; GitHub sends them back to Kapten once the app is installed.
POST
/integration/github/connection-sessionsAuthorization
AuthorizationBearer token (JWT) · headerrequiredJWT token passed in the Authorization header using the Bearer <token> format.
Request body
requiredapplication/jsonreturn_targetstringrequiredAllowed:
organization_settingskapplication_sourcekapplication_idstring<uuid> | nullResponses
200
GitHub connection session created
setup_urlstring<uri>requiredexpires_atstring<date-time>requireddefault
Error
codeinteger<int32>requiredmessagestringrequiredreasonstringOptional stable machine-readable reason for programmatic error handling