Configure Webhook
Create and configure a webhook for an organization to receive real-time notifications for asset status updates and threat detections. Requires a valid API key with access to the specified organization.
Overview
Create and configure a webhook for an organization to receive real-time notifications for asset status updates and threat detections. Requires an API key with access to the specified organization.Authorizations
Your API key. This is required by most endpoints to access our API programatically. Reach out to us at support@chainpatrol.io to get an API key for your use.
Body
Organization slug to configure webhooks for
HTTPS URL where webhook events will be delivered
Array of webhook events to subscribe to
1DEBUG_TEST, ASSET_STATUS_UPDATED, ORGANIZATION_THREAT_DETECTION_ADDED, ASSET_STATUS_ESCALATED Optional description for the webhook
Whether the webhook should be active
Response
Successful response
The ID of the created webhook
The webhook URL
Webhook description
Whether the webhook is active
Webhook signing secret for verifying payloads
Array of subscribed webhook events
DEBUG_TEST, ASSET_STATUS_UPDATED, ORGANIZATION_THREAT_DETECTION_ADDED, ASSET_STATUS_ESCALATED Organization slug this webhook belongs to