Skip to content

List reusable GitHub App installations

GET/v1/git-connections/github-app/installations/reusable

Returns GitHub accounts you connected in your other workspaces that are not connected to this workspace yet. Pass a result's uid to Link a GitHub App installation to connect it here without going through GitHub again.

Only connections you made yourself are listed, because connecting proved you control that GitHub account. Each GitHub installation appears once, even if it is connected to several of your workspaces.

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.

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

Connections you can link to this workspace. Empty when there are none.

successbooleanRequired

true when the request succeeded.

messagestringRequired

Human-readable status message.

dataarray of objects
Show item attributes
uidstringRequired

UID of your connection in the other workspace. Pass it to Link a GitHub App installation.

account_loginstring

GitHub login of the account or organization.

account_typestring

GitHub account type, for example User or Organization.

workspace_namestring

Name of the other workspace the connection was made in.

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.

Errors use the standard error format.