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 OfDetermines 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 OfDetermines 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 OfDetermines 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 OfSimple 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 OfSimple 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"
Path Parameters
Delete an installation for the authenticated app
Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app’s access to your account’s resources, then we recommend the “Suspend an app installation” endpoint.
You must use a JWT to access this endpoint.
Path Parameters
installation_id parameter
Response
Response
Response