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. GitHub Sponsors button
  2. If a list of your sponsored and eligible accounts is shown, to the right of the account you want to manage, click Dashboard. Developer sponsors dashboard button
  3. In the left sidebar, click Webhooks. Webhooks tab
  4. Click Add webhook. Add webhook button in the Webhooks sidebar
  5. Type a payload URL, then optionally customize the configuration. For more information, see "Creating webhooks." Fields for payload URL and other customization options
  6. Under "Content type", select which data format you’d like to receive. For more information, see "Creating webhooks" Menu for webhook formatting
  7. Type a secret token. For more information, see "Securing your webhooks." Fields for secret token and other customization options
  8. To receive updates for the SponsorshipEvent, select Active. Selecting active events
  9. Click Create webhook. Create webhook button in the Webhooks sidebar
  10. To edit an existing webhook, click Edit. To remove an existing webhook, click Delete. Buttons for managing webhook