Webhook

Create webhook

Creates a new webhook with event subscriptions. The signing secret is only returned in this response.

post/v1/webhook

Request body

urlstring uri required

Webhook URL

descriptionstring nullable

Webhook description

headersobject

Request headers (e.g. authorization tokens)

eventsstring[] required

Event types to subscribe to (at least one required)

Response

The created webhook with signing secret

Changes

Changed in 1 of the 105 revisions of this API.62

  • 887b091b3d8162See the full diff
    • added the new ISSUE_OPENED enum value to the data/allOf[WebhookResponse]/events/items/ response property for the response status 201

      response-property-enum-value-added

    • added the new ISSUE_RESOLVED enum value to the data/allOf[WebhookResponse]/events/items/ response property for the response status 201

      response-property-enum-value-added

    • added the new conflict enum value to the type response property for the response status 401

      response-property-enum-value-added

    • added the new conflict enum value to the type response property for the response status 500

      response-property-enum-value-added

    • added the new payment_required enum value to the type response property for the response status 401

      response-property-enum-value-added

    • added the new payment_required enum value to the type response property for the response status 500

      response-property-enum-value-added

    • added the new ISSUE_OPENED enum value to the request property events/items/

      request-property-enum-value-added

    • added the new ISSUE_RESOLVED enum value to the request property events/items/

      request-property-enum-value-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog