Skip to main content

Configuring webhooks for events in your sponsored account

You can configure webhooks to alert you when you receive new sponsorships or existing sponsors make changes to their sponsorships.

About webhooks for events in your sponsored account

To monitor changes to your sponsorships, such as cancellations at the end of a pay period, you can create webhooks for your sponsored user or organization account. When you set up a webhook for your sponsored account, you'll receive updates when sponsorships are created, edited, or deleted. For more information, see the sponsorship webhook event.

Managing webhooks for events in your sponsored account

  1. In the upper-right corner of any page, click your profile photo, then click Your sponsors.

    Screenshot of the profile options dropdown menu. One option, labeled "Your sponsors," is outlined in dark orange.

  2. If a list of your sponsored and eligible accounts is shown, to the right of the account you want to manage, click Dashboard.

  3. In the left sidebar, click Webhooks.

    Screenshot of the sidebar on the GitHub Sponsors dashboard. A tab in the "Manage" section, labeled "Webhooks", is outlined in dark orange.

  4. Click Add webhook.

  5. Type a payload URL, then optionally customize the configuration. For more information, see "Creating webhooks."

  6. Under "Content type", use the dropdown menu to select which data format you’d like to receive. For more information, see "Creating webhooks."

  7. Type a secret token. For more information, see "Securing your webhooks."

  8. To receive updates for the SponsorshipEvent, select Active.

  9. Click Create webhook.

  10. To edit an existing webhook, click Edit. To remove an existing webhook, click Delete.