Skip to main content

webhook_config

Overview

Namewebhook_config
TypeResource
Idgithub.orgs.webhook_config

Fields

NameDatatypeDescription
content_typestringThe media type used to serialize the payloads. Supported values include json and form. The default is form.
insecure_ssl``
secretstringIf provided, the secret will be used as the key to generate the HMAC hex digest value for delivery signature headers.
urlstringThe URL to which the payloads will be delivered.

Methods

NameAccessible byRequired ParamsDescription
get_webhook_config_for_orgSELECThook_id, orgReturns the webhook configuration for an organization. To get more information about the webhook, including the active state and events, use "Get an organization webhook ."

Access tokens must have the admin:org_hook scope, and GitHub Apps must have the organization_hooks:read permission.
update_webhook_config_for_orgEXEChook_id, orgUpdates the webhook configuration for an organization. To update more information about the webhook, including the active state and events, use "Update an organization webhook ."

Access tokens must have the admin:org_hook scope, and GitHub Apps must have the organization_hooks:write permission.