Skip to content
OpenRelay is in early access, and the /v1 API is stable. New capabilities ship in the changelog.
API ReferenceComputeRunners

Get the GitHub connect URL

Returns the URL that starts a GitHub connection: the OAuth authorize URL when OAuth is configured, otherwise the GitHub App install URL. installUrl carries the App install URL (empty when no App is configured), for installing the App on another GitHub organization.

Required permission

Requires the runner.read permission. See Permissions for the roles and API key permissions that include it.

Command line

The orl CLI wraps this endpoint:

orl runners connect-url get
GET
/v1/orgs/{orgId}/runner-pools/connect-url

Authorization

apiKey
headerAuthorizationBearer <token>

OpenRelay API key. Send it as Authorization: Bearer or_… (legacy vl_… keys still work).

Path Parameters

orgId*string

Response Body

OK

application/json
  1. response
url*string

Where "Connect" sends the user: the GitHub OAuth authorize URL when oauth is true, else the GitHub App install URL.

installUrl*string

The GitHub App install URL, for installing the App on another GitHub organization.

oauth*boolean

true when url is the OAuth authorize flow.

Example Request
curl -X GET 'https://api.openrelay.inc/v1/orgs/string/runner-pools/connect-url'
Example Response
{  "url": "string",  "installUrl": "string",  "oauth": true}