Create Webhook
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 · enumRequiredPossible values:
The event being triggered
remote_endpointstringRequired
Remote endpoint the webhook posts against.
statusstring · enumOptionalPossible values:
Status of the webhook
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/webhooksdefault
default response
Last updated
Was this helpful?