v68

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,21696712.3 MB
apps

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.

patch/app/hook/config

Request body

urlstring uri

The URL to which the payloads will be delivered.

content_typestring

The media type used to serialize the payloads. Supported values include json and form. The default is form.

secretstring

If provided, the secret will be used as the key to generate the HMAC hex digest value for delivery signature headers.

Example request

{
  "url": "https://example.com/webhook",
  "content_type": "\"json\"",
  "secret": "\"********\"",
  "insecure_ssl": "\"0\""
}

Response

Response

urlstring uri

The URL to which the payloads will be delivered.

content_typestring

The media type used to serialize the payloads. Supported values include json and form. The default is form.

secretstring

If provided, the secret will be used as the key to generate the HMAC hex digest value for delivery signature headers.

Example response

{
  "url": "https://example.com/webhook",
  "content_type": "\"json\"",
  "secret": "\"********\"",
  "insecure_ssl": "\"0\""
}