CreateWebhook
Create a webhook.
POST
/
api
/v1
/webhooks
Request Body
application/json
RequiredThe request for a call to WebhookService_CreateWebhook
to create a webhook.
name
Requiredstring
targetUrl
Requiredstring
eventType
Requiredstring
Default:
"WEBHOOK_EVENT_TYPE_UNSPECIFIED"
Value in: "WEBHOOK_EVENT_TYPE_UNSPECIFIED" | "WEBHOOK_EVENT_TYPE_RULE_VIOLATION"
payload
string
httpHeaders
Requiredarray<object>
A successful response.