Skip to main content
POST
CreateWebhook

Authorizations

Authorization
string
header
required

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

Body

application/json

The request for a call to WebhookService_CreateWebhook to create a webhook.

The request for a call to WebhookService_CreateWebhook to create a webhook.

name
string
required
targetUrl
string
required
eventType
enum<string>
default:WEBHOOK_EVENT_TYPE_UNSPECIFIED
required
Available options:
WEBHOOK_EVENT_TYPE_UNSPECIFIED,
WEBHOOK_EVENT_TYPE_RULE_VIOLATION
httpHeaders
object[]
required
payload
string

Response

A successful response.

The response of a call to WebhookService_CreateWebhook.

webhook
object
required