Create a webhook
POST {{baseUrl}}/org/:orgId/webhooks
Snyk sends a ping
event to the newly configured webhook so you can check you're able to receive the transports.
Request Body
{
"secret": "This is a password you create, that Snyk uses to sign our transports to you, so you be sure the notification is authentic. Your `secret` should: Be a random string with high entropy; Not be used for anything else; Only known to Snyk and your webhook transport consuming code;",
"url": "Webhooks can only be configured for URLs using the `https` protocol. `http` is not allowed."
}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |