POST
/
v2
/
webhooks

Authorizations

Authorization
string
headerrequired

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

Body

application/json
endpoint
string
required

The endpoint that must be called when the webhook is triggered.

description
string | null

An optional description of the purpose of the webhook.

events
string[]
required

The events that will trigger this webhook.

connections
integer[]
required

The connections for which this webhook will be triggered.

origin
string | null

Response

200 - application/json
id
integer

The ID of the webhook.

endpoint
string

The endpoint that will be called when the webhook is triggered.

description
string | null

An optional description of the purpose of the webhook.

events
string[]

The events that will trigger this webhook.

connections
object[]

The connections for which this webhook will be triggered.