Create Webhook

Create Webhook

post

Creates a new webhook for the desired event. The remote endpoint must be HTTPS.

Header parameters
X-Violet-TokenstringRequired
X-Violet-App-SecretstringRequired
X-Violet-App-Idinteger · int32Required
Body

External Hook Event

idinteger · int32Read-onlyOptional
app_idinteger · int32Read-onlyOptional
eventstring · enumRequired

The event being triggered

Possible values:
remote_endpointstringRequired

Remote endpoint the webhook posts against.

statusstring · enumOptional

Status of the webhook

Possible values:
date_createdstring · date-timeRead-onlyOptional

Date of creation

date_last_modifiedstring · date-timeRead-onlyOptional

Date of last update

events_countinteger · int64Read-onlyOptional

7 day event count

failure_ratenumber · doubleRead-onlyOptional

7 day failure rate

temp_disable_msinteger · int64Read-onlyOptional

Temporary disable milliseconds

Responses
default

default response

application/json
post
/events/webhooks
default

default response

Last updated

Was this helpful?