POST /v1/notifications/webhooks

Subscribes your webhook listener to events.

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
id String No

The ID of the webhook.

url String Yes

The URL that is configured to listen on localhost for incoming POST notification messages that contain event information.

event_types[] Array Yes

An array of events to which to subscribe your webhook. To subscribe to all events, including events as they are added, specify the asterisk wild card. To replace the event_types array, specify the asterisk wild card. To list all supported events, list available events.

event_types[].name String Yes

The unique event name.

Note: To subscribe to all events, including events as they are added, specify an * as the value to represent a wildcard.
event_types[].description String No

A human-readable description of the event.

event_types[].resource_versions[] Array No

Identifier for the event type example: 1.0/2.0 etc.

event_types[].status String No

The status of a webhook event.

links[] Array No

An array of request-related HATEOAS links.

links[].href String Yes

The complete target URL. To make the related call, combine the method with this URI Template-formatted link. For pre-processing, include the $, (, and ) characters. The href is the key HATEOAS component that links a completed call with a subsequent call.

links[].method String No

The HTTP method required to make the related call.

Possible values:

  • "OPTIONS"
  • "POST"
  • "PUT"
  • "DELETE"
  • "HEAD"
  • "CONNECT"
  • "GET"
  • "PATCH"
links[].rel String Yes

The link relation type, which serves as an ID for a link that unambiguously describes the semantics of the link. See Link Relations.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.