Integrations

Start registration of a customer-owned GitHub App

Changed on

Starts guided registration on github.com for a never-connected GitHub integration. Requires a browser session and project management access. Submit manifest as a JSON-encoded form field to registration_url. The callback saves a project credential secret and redirects to the canonical integration page with github_setup=credentials_saved and credential_secret_id (a public secret ID). It does not connect an installation or change launcher settings.

post/orgs/{orgID}/projects/{projectID}/integrations/{integrationID}/github-setup

Request

  • Base URL
    https://api.omnara.com/v1
  • Auth
    API key in cookie __Host-omnara_session and API key in header X-Omnara-Csrf

Path parameters

orgID, string required

Organization ID (org_...).

projectID, string required

Project ID (proj_...).

integrationID, string required

Integration ID (itg_...).

Request body

CreateGitHubSetupRequest required
expected_setup_revision, integer required
app_name, string

Optional initial GitHub App name suggestion. When omitted, the user chooses a name on GitHub during registration.

organization, string

GitHub organization login. Omit to register under a personal account.

Response

GitHub setup information verified.

GitHubSetup required
integration_id, string required
setup_revision, integer required
registration_url, string uri required
manifest, object required

Server-authored GitHub App manifest. Serialize this object to the manifest form field when posting to registration_url.

expires_at, string date-time required

Changes