Create a GitHub App from a manifest
Use this endpoint to complete the handshake necessary when implementing the GitHub App Manifest flow. When you create a GitHub App with the manifest flow, you receive a temporary code
used to retrieve the GitHub App’s id
, pem
(private key), and webhook_secret
.
Path Parameters
Body
application/json
Body
Response
application/json
Response
Response
GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.
Unique identifier of the GitHub app
Example:37
The slug name of the GitHub app
Example:probot-owners
Example:MDExOkludGVncmF0aW9uMQ==
Simple User
Show Child Parameters
The name of the GitHub app
Example:Probot Owners
Example:The description of the app.
Example:https://example.com
Example:https://github.com/apps/super-ci
Example:2017-07-08T16:18:44-04:00
Example:2017-07-08T16:18:44-04:00
The set of permissions for the GitHub app
Example:{"issues":"read","deployments":"write"}
Show Child Parameters
The list of events for the GitHub app
Example:["label","deployment"]
The number of installations associated with the GitHub app
Example:5
Example:"Iv1.25b5d1e65ffc4022"
Example:"1d4b2097ac622ba702d19de498f005747a8b21d3"
Example:"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b"
Example:"-----BEGIN RSA PRIVATE KEY-----\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMR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rbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\n-----END RSA PRIVATE KEY-----\n"
Path Parameters
Body
Get a webhook configuration for an app
Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see “Creating a GitHub App.”
You must use a JWT to access this endpoint.
Response
200 application/json
Response
Response
Webhook Configuration
Configuration object of the webhook
The URL to which the payloads will be delivered.
Example:https://example.com/webhook
The media type used to serialize the payloads. Supported values include json
and form
. The default is form
.
Example:"json"
If provided, the secret
will be used as the key
to generate the HMAC hex digest value for delivery signature headers.
Example:"********"
One Of
Determines whether the SSL certificate of the host for url
will be verified when delivering payloads. Supported values include 0
(verification is performed) and 1
(verification is not performed). The default is 0
. We strongly recommend not setting this to 1
as you are subject to man-in-the-middle and other attacks.
Example:"0"
Update a webhook configuration for an app
Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see “Creating a GitHub App.”
You must use a JWT to access this endpoint.
Body
application/json
Body
The URL to which the payloads will be delivered.
Example:https://example.com/webhook
The media type used to serialize the payloads. Supported values include json
and form
. The default is form
.
Example:"json"
If provided, the secret
will be used as the key
to generate the HMAC hex digest value for delivery signature headers.
Example:"********"
One Of
Determines whether the SSL certificate of the host for url
will be verified when delivering payloads. Supported values include 0
(verification is performed) and 1
(verification is not performed). The default is 0
. We strongly recommend not setting this to 1
as you are subject to man-in-the-middle and other attacks.
Example:"0"
Response
200 application/json
Response
Response
Webhook Configuration
Configuration object of the webhook
The URL to which the payloads will be delivered.
Example:https://example.com/webhook
The media type used to serialize the payloads. Supported values include json
and form
. The default is form
.
Example:"json"
If provided, the secret
will be used as the key
to generate the HMAC hex digest value for delivery signature headers.
Example:"********"
One Of
Determines whether the SSL certificate of the host for url
will be verified when delivering payloads. Supported values include 0
(verification is performed) and 1
(verification is not performed). The default is 0
. We strongly recommend not setting this to 1
as you are subject to man-in-the-middle and other attacks.
Example:"0"
Body
List installations for the authenticated app
You must use a JWT to access this endpoint.
The permissions the installation has are included under the permissions
key.
Query Parameters
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Only show notifications updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
Response
200 application/json
Response
The permissions the installation has are included under the permissions
key.
Installation
The ID of the installation.
Example:1
Any Of
Simple User
Show Child Parameters
Describe whether all repositories have been selected or there’s a selection involved
Allowed values:allselected
Example:https://api.github.com/installations/1/access_tokens
Example:https://api.github.com/installation/repositories
Example:https://github.com/organizations/github/settings/installations/1
Example:1
The ID of the user or organization this token is being scoped to.
Example:Organization
The permissions granted to the user-to-server access token.
Example:{"contents":"read","issues":"read","deployments":"write","single_file":"read"}
Show Child Parameters
Example:config.yaml
Example:true
Example:["config.yml",".github/issue_TEMPLATE.md"]
Example:github-actions
Simple User
Show Child Parameters
Example:"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com"
Query Parameters
Get an installation for the authenticated app
Enables an authenticated GitHub App to find an installation’s information using the installation id.
You must use a JWT to access this endpoint.
Path Parameters
installation_id parameter
Response
application/json
Response
Response
Installation
Installation
The ID of the installation.
Example:1
Any Of
Simple User
Show Child Parameters
Describe whether all repositories have been selected or there’s a selection involved
Allowed values:allselected
Example:https://api.github.com/installations/1/access_tokens
Example:https://api.github.com/installation/repositories
Example:https://github.com/organizations/github/settings/installations/1
Example:1
The ID of the user or organization this token is being scoped to.
Example:Organization
The permissions granted to the user-to-server access token.
Example:{"contents":"read","issues":"read","deployments":"write","single_file":"read"}
Show Child Parameters
Example:config.yaml
Example:true
Example:["config.yml",".github/issue_TEMPLATE.md"]
Example:github-actions
Simple User
Show Child Parameters
Example:"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com"