Webhooks (v1)
This document uses the v1 API. For more details, see the v1 API.
Snyk sends a ping
event to the newly configured webhook so you can check you're able to receive the transports.### Required permissions
-
View Organization
-
View Outbound Webhooks
-
Create Outbound Webhooks
/org/{orgId}/webhooks
The organization ID to list projects for. The API_KEY
must have access to this organization.
4a18d42f-0706-4ad0-b127-24078731fbed
Webhooks can only be configured for URLs using the https
protocol. http
is not allowed.
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":"https://my.app.com/webhook-handler/snyk123","secret":"a8be22bb7bed43a3ac24de3580093560"}
Snyk sends a ping
event to the newly configured webhook so you can check you're able to receive the transports
Required permissions
-
View Organization
-
View Outbound Webhooks
/org/{orgId}/webhooks
The organization ID to list projects for. The API_KEY
must have access to this organization.
4a18d42f-0706-4ad0-b127-24078731fbed
application/json; charset=utf-8
application/json; charset=utf-8
Required permissions
-
View Organization
-
View Outbound Webhooks
/org/{orgId}/webhooks/{webhookId}
The organization ID the project belongs to. The API_KEY
must have access to this organization.
4a18d42f-0706-4ad0-b127-24078731fbed
The webhook ID.
463c1ee5-31bc-428c-b451-b79a3270db08
application/json
application/json
Required permissions
-
View Organization
-
View Outbound Webhooks
-
Remove Outbound Webhooks
/org/{orgId}/webhooks/{webhookId}
The organization ID the project belongs to. The API_KEY
must have access to this organization.
4a18d42f-0706-4ad0-b127-24078731fbed
The webhook ID.
463c1ee5-31bc-428c-b451-b79a3270db08
application/json
application/json
No body
Required permissions
-
View Organization
-
View Outbound Webhooks
/org/{orgId}/webhooks/{webhookId}/ping
The organization ID the project belongs to. The API_KEY
must have access to this organization.
4a18d42f-0706-4ad0-b127-24078731fbed
The webhook ID.
463c1ee5-31bc-428c-b451-b79a3270db08
application/json
application/json
No body
Last updated
Was this helpful?