Create new Webhook subscription

View as Markdown
The subscription will send events to the specified URL.

Authentication

AuthorizationBasic
Use your API key as the username and leave the password empty.
OR
AuthorizationBearer

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

Request

This endpoint expects an object.
eventslist of objectsRequired

A list of events to subscribe to. Each event has an object_type and an action from values in the event log. You can also use Webhook Filters while creating your subscription so that an event only fires to a Webhook when certain conditions are met.

urlstringRequired
Destination URL for the webhook subscription
verify_sslbooleanOptionalDefaults to true

Verify SSL certificate of destination webhook URL. Set to false to disable SSL certificate validation. We recommend using https to protect your data during delivery.

Response

Successful response

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error