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.

In this article

Note: GitHub Sponsors for organizations is currently in beta and subject to change.

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 user or organization account, you'll receive updates when sponsorships are created, edited, or deleted. For more information about webhook events for sponsors, see "SponsorshipEvent" in the GitHub Developer documentation.

Managing webhooks for your sponsored user account

  1. In the top right corner of GitHub, click your profile photo, then click Your profile.
    Profile photo
  2. Under your name, click Sponsors dashboard.
    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

Managing webhooks for your sponsored organization

Organization owners can configure webhooks for a sponsored organization.

  1. In the top right corner of GitHub, click your profile photo, then click Your profile.
    Profile photo
  2. On the left side of your profile page, under "Organizations", click the icon for your organization.
    organization icons
  3. Next to the organization name, click Sponsors dashboard.
    Organization sponsors dashboard button
  4. In the left sidebar, click Webhooks.
    Webhooks tab
  5. Click Add webhook.
    Add webhook button in the Webhooks sidebar
  6. Type a payload URL, then optionally customize the configuration. For more information, see "Creating webhooks."
    Fields for payload URL and other customization options
  7. Under "Content type", select which data format you’d like to receive. For more information, see "Creating webhooks"
    Menu for webhook formatting
  8. Type a secret token. For more information, see "Securing your webhooks."
    Fields for secret token and other customization options
  9. To receive updates for the SponsorshipEvent, select Active.
    Selecting active events
  10. Click Create webhook.
    Create webhook button in the Webhooks sidebar
  11. To edit an existing webhook, click Edit. To remove an existing webhook, click Delete.
    Buttons for managing webhook

Ask a human

Can't find what you're looking for?

Contact us