Webhooks

Create an organization webhook

Beta: webhook event coverage and payload schemas may evolve. See /docs/integrations/webhooks for supported events and delivery limits. Creates an organization webhook and returns its signing secret once. Requires authenticated authority and enforces current resource policy.

post/api/orgs/{slug}/webhooks/

Request

  • Base URL
    https://git.cafe
  • Auth
    • API key in cookie gc-session
    • or HTTP bearer
    • or HTTP basic
    • or HTTP token

Path parameters

slugstring required

Request body

urlstring uri required
eventsstring[] required

Distinct subscriptions. Local issue and pull events listed in /docs/integrations/webhooks are delivered by this version; * includes supported events. Other syntactically valid names are retained for compatibility but produce no deliveries.

activeboolean
secretstring

Response

Beta: webhook event coverage and payload schemas may evolve. See /docs/integrations/webhooks for supported events and delivery limits.

secretstring required

Changes

No recorded changes to this operation across all 1 revision of this API.