Create new Webhook subscription

View as Markdown
The subscription will send events to the specified URL. Parameters: - `url` - Destination URL for the webhook subscription - `events` - A list of events to subscribe to. Each event has an `object_type` and an `action` from values in the [event log](/resources/event-log/list-of-events/). You can also use [Webhook Filters](/resources/webhook-subscriptions/webhook-filters/) while creating your subscription so that an event only fires to a Webhook when certain conditions are met. - `verify_ssl` (optional) - `true` (default) - Verify SSL certificate of destination webhook URL. - `false` - Disable SSL certificate validation on destination webhook URL. We recommend using https to protect your data during delivery.

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:)>.

OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
eventslist of objectsRequired
urlstringRequired
event_filtermap from strings to any or nullOptional
verify_sslbooleanOptionalDefaults to true

Response

Successful response

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error