The receiver type is inferred from the URI. All unknown receivers are treated as 'custom'.
Authentication
AuthorizationBearerSend your token in the Authorization: Bearer <token> header. See Authentication for API keys and OAuth.
Request body Required
application/json
namestringRequired1 The name of this webhook event.
uristringRequired1 The URI to call.
languagestring or nullOptionalThe language of the web hook message that will be sent to the receiver. Not required for custom web hooks.
eventsstringRequired1 The event(s) that trigger the web hook. A comma-separated list of events that trigger the webhook. The allowed events depend on the webhook type. For type 'custom': retrieve the list of allowed events from '/webhooks/eventTypes' For type 'slack': retrieve the list of allowed events from '/webhooks/eventTypes/slack'
isActivebooleanRequiredWhether the web hook is currently active.
onlyTriggerForMainEntityChangesbooleanOptionalWhether to only send events for main entity changes and not for nested entities if the webhook is for a model.
authenticationTypestringRequired1 The authentication type to use when calling the URI. Can be 'none', 'header'.
authenticationstring or nullOptionalThe authentication value to use when calling the URI. Should be 'key=value'. In case of header authentication, this should be 'headername=headervalue'. Only required when the AuthenticationType is anything other than 'none'.
Responses
200 OK
application/json
namestringRequired1 The name of this webhook event.
uristringRequired1 The URI to call.
languagestring or nullOptionalThe language of the web hook message that will be sent to the receiver. Not required for custom web hooks.
eventsstringRequired1 The event(s) that trigger the web hook. A comma-separated list of events that trigger the webhook. The allowed events depend on the webhook type. For type 'custom': retrieve the list of allowed events from '/webhooks/eventTypes' For type 'slack': retrieve the list of allowed events from '/webhooks/eventTypes/slack'
isActivebooleanRequiredWhether the web hook is currently active.
onlyTriggerForMainEntityChangesbooleanOptionalWhether to only send events for main entity changes and not for nested entities if the webhook is for a model.
authenticationTypestringRequired1 The authentication type to use when calling the URI. Can be 'none', 'header'.
authenticationstring or nullOptionalThe authentication value to use when calling the URI. Should be 'key=value'. In case of header authentication, this should be 'headername=headervalue'. Only required when the AuthenticationType is anything other than 'none'.
idstringOptionalThe id of the webhook config.
receiverTypestring or nullOptionalThe type of the web hook. Can be 'custom', 'slack'.
lastFailureReasonstring or nullOptionalThe most recent failure reason.
createdOnstringOptionalThe date this webhook config was created.
createdBystringOptionalThe id of the user who created this webhook config.
updatedOnstringOptionalThe date this webhook config was last modified.
updatedBystringOptionalThe id of the user who last modified this webhook config.
400 Bad Request
application/json
codestringRequired1 The error code.
descriptionstringRequired1 The description of the error.
linkstringRequired1 The link to the API documentation page.
detailsarray of string or nullOptionalA list of details describing the error.
validationErrorsarray of object or nullOptionalIf a validation error occurred, this contains the validation errors for each property.
Show 2 properties
propertystring or nullOptionalThe name of the property that failed validation.
messagestring or nullOptionalThe reason why this property failed validation.
traceIdstring or nullOptionalThe request trace id for tracking the request.