1
0
mirror of synced 2025-12-21 02:46:50 -05:00
Files
docs/content/developers/webhooks-and-events/webhooks/about-webhooks.md
Laura Coursen 8f964ea2cb GHEC version (#20947)
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
Co-authored-by: Grace Park <gracepark@github.com>
Co-authored-by: Steve Guntrip <12534592+stevecat@users.noreply.github.com>
Co-authored-by: Robert Sese <sese@github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
2021-10-15 15:41:33 -05:00

2.2 KiB

title, intro, redirect_from, versions, topics
title intro redirect_from versions topics
About webhooks Learn the basics of how webhooks work to help you build and set up integrations.
/webhooks
/developers/webhooks-and-events/about-webhooks
fpt ghes ghae ghec
* * * *
Webhooks

Webhooks allow you to build or set up integrations, such as {% data variables.product.prodname_github_apps %} or {% data variables.product.prodname_oauth_apps %}, which subscribe to certain events on GitHub.com. When one of those events is triggered, we'll send a HTTP POST payload to the webhook's configured URL. Webhooks can be used to update an external issue tracker, trigger CI builds, update a backup mirror, or even deploy to your production server. You're only limited by your imagination.

Webhooks can be installed on{% ifversion ghes or ghae %} {% data variables.product.prodname_enterprise %},{% endif %} an organization, a specific repository, or a {% data variables.product.prodname_github_app %}. Once installed, the webhook will be sent each time one or more subscribed events occurs.

You can create up to {% ifversion ghes or ghae %}250{% else %}20{% endif %} webhooks for each event on each installation target {% ifversion ghes or ghae %}({% data variables.product.prodname_ghe_server %} instance, specific organization, or specific repository).{% else %}(specific organization or specific repository).{% endif %}

Events

{% data reusables.webhooks.webhooks_intro %}

Each event corresponds to a certain set of actions that can happen to your organization and/or repository. For example, if you subscribe to the issues event you'll receive detailed payloads every time an issue is opened, closed, labeled, etc.

For a complete list of available webhook events and their payloads, see "Webhook events and payloads."

Ping event

{% data reusables.webhooks.ping_short_desc %}

For more information about the ping event webhook payload, see the ping event.