Create a webhook

Create a webhook

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
urlstringRequiredformat: "uri"
The url to send the webhook to
triggerslist of enumsRequired
The events that will trigger the webhook
headerslist of objectsOptional
Optional headers to send with the webhook
activebooleanOptionalDefaults to false
Whether the webhook is active
secretstringOptional>=10 characters
The secret to use to sign the webhook payload. If you do not provide a secret, one will be generated for you.
modelenumOptional

The model for the webhook trigger to monitor. Only applies to DATA_UPDATE and DATA_NEW triggers

Response

Successful response
resultobject

Errors