Skip to content

Start the creation of a private GitHub App from a manifest. The browser posts the manifest to action_url.

POST
/admin/github/app
curl --request POST \
--url https://example.com/api/v1/admin/github/app \
--header 'Content-Type: application/json' \
--data '{ "org": "example", "api_url": "example" }'
Media typeapplication/json
object
org

The org that owns the App. Empty makes it on the admin’s personal account.

string
api_url

The GitHub API. The default is https://api.github.com. GitHub Enterprise Server uses https:///api/v3.

string
Examplegenerated
{
"org": "example",
"api_url": "example"
}

Where to post the manifest.

Media typeapplication/json
object
action_url
required
string
manifest
required

The manifest as JSON text, for the form field named manifest.

string
Examplegenerated
{
"action_url": "example",
"manifest": "example"
}

An error.

Media typeapplication/problem+json

RFC 9457 problem details with a stable code.

object
type
required
string
title
required
string
status
required
integer
detail
string
instance
string
code
required

A stable machine-readable error code.

string
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"code": "example"
}