---
title: "Start registration of a customer-owned GitHub App"
method: POST
path: "/orgs/{orgID}/projects/{projectID}/integrations/{integrationID}/github-setup"
tags: ["Integrations"]
---

# Start registration of a customer-owned GitHub App

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

## Request

- Base URL: `https://api.omnara.com/v1`
- URL: `https://api.omnara.com/v1/orgs/{orgID}/projects/{projectID}/integrations/{integrationID}/github-setup`
- Auth: API key in cookie `__Host-omnara_session` and API key in header `X-Omnara-Csrf`

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.

## Path parameters

- `orgID` string, required
- `projectID` string, required: Project ID (proj_...).
- `integrationID` string, required

## Request body

- CreateGitHubSetupRequest
  - `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 `201`

GitHub setup information verified.

- GitHubSetup
  - `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

## Other responses

- `400`: The request was invalid.
- `401`: Authentication is required or invalid.
- `403`: The authenticated principal is not authorized.
- `404`: The requested resource was not found or is not visible.
- `409`: The request conflicts with current resource state or idempotency history.
- `503`: The service dependency required to satisfy the request is unavailable.
- `4XX`: Any other client error. The body carries the shared Error envelope restricted to client error codes; statuses with a dedicated response above are documented precisely.
- `5XX`: Any other server error. The body carries the shared Error envelope restricted to server error codes.

## Changes

- **2026-10-07** `680248a0ba72`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/omnara/apis/omnara-api-2/changes/orgs/:orgID/projects/:projectID/integrations/:integrationID/github-setup/post.md)

---

[API](https://skmtc.dev/omnara/apis/omnara-api-2.md) - [All operations](https://skmtc.dev/omnara/apis/omnara-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/omnara/apis/omnara-api-2/revisions/343aebb1dff1?raw)
