1
0
mirror of synced 2026-01-03 15:05:54 -05:00
Files
docs/content/rest/orgs/webhooks.md
2024-02-28 02:07:49 +00:00

1.2 KiB

title, allowTitleToDifferFromFilename, shortTitle, intro, versions, topics, autogenerated
title allowTitleToDifferFromFilename shortTitle intro versions topics autogenerated
REST API endpoints for organization webhooks true Webhooks Use the REST API to interact with webhooks in an organization.
fpt ghec ghes
* * *
API
rest

About organization webhooks

Organization webhooks allow your server to receive HTTP POST payloads whenever certain events happen in an organization. For more information, see "AUTOTITLE."

Scopes and restrictions

You must be an organization owner{% ifversion custom-org-roles %} or have the "Manage organization webhooks" permission{% endif %} to use these endpoints. OAuth tokens require the admin:org_hook scope to use these endpoints.

In order to protect sensitive data which may be present in webhook configurations, we also enforce the following access control rules:

  • {% data variables.product.prodname_oauth_apps %} cannot list, view, or edit webhooks which they did not create.
  • Users cannot list, view, or edit webhooks which were created by {% data variables.product.prodname_oauth_apps %}.