Skip to content

Get the GitHub App install URL

GET/v1/git-connections/github-app/install-url

Returns a GitHub URL that installs the RumptyCloud GitHub App and connects it to this workspace. Open the URL in a browser while signed in to GitHub, choose the account or organization and the repositories to grant, and confirm.

GitHub then sends the browser back to RumptyCloud, which records the connection for this workspace and redirects to the RumptyCloud console at the return_to path. The URL carries a signed state that is valid for 10 minutes, so request a new one if it expires.

Completing the install needs a browser. When it is done, the connection appears in List GitHub App installations.

Requires the secrets manage permission (owner, admin or developer role).

Authentication

Send your API key as Authorization: Bearer <token>. The request is scoped to the workspace in X-Workspace-Slug.

Query parameters

return_tostring

Console path to return to after installing, for example /deployments/new. Must be a relative path starting with /. github=connected is added to its query string. Absolute URLs and invalid values are replaced with the default, /deployments/new?github=connected.

Headers

X-Workspace-SlugstringRequired

Slug of the workspace the request acts on. You can also pass it as the workspace_slug query parameter.

Response

200

The install URL.

successbooleanRequired

true when the request succeeded.

messagestringRequired

Human-readable status message.

dataobject
Show attributes
urlstringRequired

GitHub URL to open in a browser to install the app and connect it to the workspace. Valid for 10 minutes.

Errors

StatusMeaning
401The API key is missing, invalid, expired or revoked.
403You cannot access the workspace, your role does not allow this action, or the account is suspended.
500The GitHub App is not configured on the platform, or the install link could not be created.

Errors use the standard error format.