Webhook

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

post/v1/webhook

Request

  • Base URL
    https://api.roark.ai
  • URL
    https://api.roark.ai/v1/webhook
  • Auth
    HTTP bearer

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

    • warning

      added the new ISSUE_OPENED enum value to the ////// response property for the response status

    • warning

      added the new ISSUE_RESOLVED enum value to the ////// response property for the response status

    • warning

      added the new conflict enum value to the response property for the response status

    • warning

      added the new conflict enum value to the response property for the response status

    • warning

      added the new payment_required enum value to the response property for the response status

    • warning

      added the new payment_required enum value to the response property for the response status

    • info

      added the new ISSUE_OPENED enum value to the request property /

    • info

      added the new ISSUE_RESOLVED enum value to the request property /