Skip to main content

Signed webhook integrations

Send job, migration verification and evidence archive events to your organization's HTTPS receiver. Use that receiver to create tickets, notify a security system or enqueue downstream work. For native ticket setup and delivery, see ServiceNow and Jira. For direct HEC delivery without an intermediary receiver, see Splunk. A custom webhook receiver must implement its destination's authentication and field mapping, including any SIEM-specific ingestion requirements.

Get your first delivery​

  1. In Integrations > Signed webhooks, select Add endpoint. Enter a public HTTPS URL on port 443 and choose the events. Expand a source group to select individual outcomes; the counts show exactly how many are selected. Use Clear selection to start with only the outcomes your receiver needs. URLs cannot contain credentials, query parameters or fragments.
  2. Save the one-time signing secret directly in the receiver's secret store. The new endpoint starts disabled. Do not put the secret in a URL, ticket or application log.
  3. Configure the receiver to verify the exact request body and signature headers before parsing JSON. The SDK helpers below reject invalid signatures and timestamps outside five minutes.
  4. Select Send test, then Deliveries > Refresh latest. Wait for delivered and inspect the HTTP status. A queued test has not verified the receiver.
  5. Select Enable after a successful test. Perform an appropriate workspace action, then confirm the receiver stored the event and completed its downstream work.

Only workspace administrators manage endpoints or read delivery history. A workspace supports up to ten unrevoked endpoints. Delivery history is retained for thirty days.

Verify and persist before acknowledging​

The receiver gets webhook-id, webhook-timestamp and webhook-signature headers. Verify the body before middleware changes its whitespace or encoding. Keep the receiver clock synchronized. JavaScript verification accepts a Headers instance and raw UTF-8 text or bytes; Python accepts a header mapping and raw bytes.

import {verifyWebhookSignature} from './sdk/javascript/index.mjs';

const valid = await verifyWebhookSignature({
secret: receiverSecret,
headers: request.headers,
payload: new Uint8Array(await request.arrayBuffer())
});
from quantum_ready import verify_webhook_signature

valid = verify_webhook_signature(receiver_secret, headers, raw_body_bytes)

If verification fails, return 401 and do not process the payload. After verification, validate schemaVersion, organizationId, type and the event ID. Atomically store the event in a durable inbox using the organization ID and event ID as a unique key. Return 2xx only after committing that record. An already-stored event can return 2xx without repeating its effects. Process the inbox asynchronously and track downstream failures separately. These SDK helpers verify signatures; they do not provide durable storage or deduplication.

Events contain resource IDs rather than raw evidence. Fetch authorized resource details using a separate workspace API credential. Setup sends webhook.test; production subscriptions support these groups:

SubscriptionResource to inspect
job.completed, job.partial, job.failed, job.cancelledAgent scan job
repository-scan.completed, repository-scan.failed, repository-scan.cancelledHosted repository scan operation
cloud-operation.completed, cloud-operation.failed, cloud-operation.cancelledHosted cloud access test or scan operation
capture.completed, capture.failed, capture.cancelledHosted capture analysis
network-scan.completed, network-scan.partial, network-scan.failed, network-scan.cancelledHosted TLS, SSH or QUIC scan operation
scm-scan.completed, scm-scan.failed, scm-scan.cancelledSectigo Certificate Manager inventory import
plan.verifiedMigration plan
evidence.archivedEvidence archive

Use sdk.repositoryScan(event.data.resourceId) or Python sdk.repository_scan(...) to read a repository result. A terminal repository notification is emitted after runtime cleanup is confirmed; a completed operation can still report partial coverage. Review result.analysisComplete and coverage before treating the repository as fully assessed.

For cloud events, use cloudOperation or cloud_operation to read the operation. Check purpose: a successful test verifies access, while a scan collects evidence. Inspect passed/failed resource counts and paginated results. A failed scan can retain successful resource observations. The notification contains neither credentials nor resource metadata, and it does not assert complete provider coverage.

Network and certificate inventory notifications​

Subscribe to network-scan.completed, network-scan.partial, network-scan.failed and network-scan.cancelled for hosted TLS, SSH and QUIC scans. Read /api/v1/network-scans/{id} using event.data.resourceId. Notifications wait for a terminal outcome: a running scan's cancellation request or pending runtime cleanup does not send a terminal event. A queued scan can fail or be cancelled before any runtime starts. Inspect the operation's findings and diagnostics; completion does not prove every protocol or algorithm was assessed.

For Sectigo Certificate Manager inventory imports, subscribe to scm-scan.completed, scm-scan.failed and scm-scan.cancelled. Read the result with JavaScript scmScan(id) or Python scm_scan(id). Review accepted, duplicates, pages, error and coverage. Earlier imported pages can remain after failure or cancellation. Completion describes the inventory visible to the configured account, not a point-in-time snapshot or complete enterprise certificate coverage.

Both event groups carry only the operation ID in data. Provider credentials, OAuth authority, target addresses and certificate contents are excluded. Repeated terminal actions produce one logical event; receiver retries still require event-ID deduplication. Enable these subscriptions before starting a scan: historical operations are not backfilled.

Capture analysis notifications​

Subscribe to capture.completed, capture.failed and capture.cancelled, then use JavaScript captureStatus(id) or Python capture_status(id) to inspect the outcome. Pass event.data.resourceId as id. Events contain only the operation ID: no packet bytes, file names, capture hashes, endpoints, lease identifiers or findings are sent to the receiver.

A completion notification is recorded in the same transaction as accepted findings, after the processor confirms destruction and rawDataState is released. Zero findings is a valid completed analysis, not proof that all traffic was quantum-ready. Passive observations do not establish peer identity or a completed handshake.

A failure or cancellation notification requires rawDataState to be released or not-uploaded. An expired upload window or cancellation before upload therefore produces an event without starting a decoder. Cancellation after processing starts waits for cleanup confirmation. cleanup-pending is not terminal and sends no completion/failure/cancellation event; continue checking status while cleanup recovery runs.

Repeated status checks, cancellation requests and recovery do not create a second logical terminal event. HTTP delivery is still at least once: deduplicate by event ID. Late subscriptions do not backfill earlier capture analyses. Receiver acknowledgement confirms notification delivery, not downstream remediation or capture coverage.

Change subscribed events​

Select Edit events on an existing endpoint, choose the event types and save. Select at least one; use Disable to stop deliveries altogether. Changes affect future events. Already queued deliveries and events waiting for fanout retain their original recipients. Adding a subscription does not backfill historical events. The endpoint URL, signing secret, enabled state and successful receiver test are preserved.

For automation, list endpoints first and retain the selected endpoint's subscriptionRevision:

const hook = (await sdk.webhooks()).items.find(item => item.id === endpointId);
await sdk.updateWebhookSubscriptions(hook.id, hook.subscriptionRevision,
['repository-scan.completed', 'repository-scan.failed']);
hook = next(item for item in sdk.webhooks()['items'] if item['id'] == endpoint_id)
sdk.update_webhook_subscriptions(hook['id'], hook['subscriptionRevision'],
['repository-scan.completed', 'repository-scan.failed'])

A concurrent edit returns 409. Reload and review the current selections before saving again; do not overwrite another administrator's change automatically. In the product, Reload current events replaces the unsaved selection. A revoked endpoint cannot be edited. If a save response is lost, reload to determine whether it succeeded before submitting another edit.

Polling remains useful for progress and reconciliation after receiver downtime; webhook events are not an historical backfill.

Inspect and recover deliveries​

const detail = await sdk.webhookDelivery(endpointId, deliveryId);
console.log(detail.state, detail.history); // No signing secret or event body.
for await (const delivery of sdk.allWebhookDeliveries(endpointId)) {
// Inspect newest-first delivery metadata; persist only what you need.
}
detail = sdk.webhook_delivery(endpoint_id, delivery_id)
for delivery in sdk.all_webhook_deliveries(endpoint_id):
process_delivery_metadata(delivery)

The single-page methods are webhookDeliveries(id, before) and webhook_deliveries(id, before=...). Pass nextBefore to resume; each page contains up to 100 deliveries. Iterators follow that cursor and reject repeated cursors. History is live, not a frozen snapshot; retain IDs when reconciling across requests.

Network failures, HTTP 408, 429 and 5xx receive up to eight attempts per cycle with backoff. Other non-2xx statuses fail the cycle. Redirects are not followed. Repair the receiver first, then retry a failed or cancelled delivery using retryWebhookDelivery or retry_webhook_delivery. Retries retain the event ID, so deduplication remains necessary. Manual retries are limited to fewer than 64 prior attempts; normal events require an enabled endpoint.

Rotate a signing secret​

Rotation takes effect immediately and is not a two-key overlap protocol. An in-flight request may still carry the old signature. Use this sequence for a planned change:

  1. Disable the endpoint. This cancels pending deliveries; requests already in flight may still arrive. Events generated while disabled are not automatically backfilled.
  2. Call rotateWebhookSecret(id) or rotate_webhook_secret(id). Store the returned secret immediately; it is shown once. Do not log the response. If a rotation response is lost, explicitly rotate again and store the replacement.
  3. Update the receiver's secret store. Send a new test and inspect its delivery. Enabling is rejected until a test succeeds with the current secret version.
  4. Re-enable the endpoint. Review cancelled deliveries for explicit retry and reconcile actions that occurred during the disabled interval using the workspace APIs.

Revoke an endpoint to retire it permanently. Revocation stops queued deliveries and prevents future testing or enabling. It does not retract requests already sent. For a replacement receiver, create and test a new endpoint.

See the OpenAPI reference for exact request and response shapes. SDKs and this guide are included in the signed source bundle.

With scanner 0.26.55 (pending release), network-scan.partial reports retained TLS certificate metadata after verification rejection. It is terminal and emitted only after runtime cleanup and evidence acceptance. Inspect analysisComplete, reason and findings; partial findings do not establish a verified connection. Existing subscriptions are not automatically expanded, so select this event if your workflow needs partial findings.

Review deliveries in the workspace​

Open an endpoint's delivery history from Integrations. Workspace administrators get a full page with up to 100 deliveries per request, event and delivery IDs, response codes, attempt counts and reported errors. On narrow screens, each delivery becomes a labeled card. Paging and Refresh latest controls are available above and below the results.

Older deliveries follows the server cursor. Refresh latest returns to the newest page. Delivery history is retained for 30 days; an HTTP success confirms receipt, not successful processing by the receiver.

Eligible failed or cancelled deliveries offer Retry delivery. The button shows progress and suppresses repeated clicks while the request is pending. After an error or uncertain response, refresh the history to inspect the current state before retrying. A late response cannot redirect another workspace view. Exhausted attempts and blocked receipt states do not offer retry controls; the API also enforces endpoint and delivery eligibility.

Endpoint actions suppress overlapping clicks while a request is in progress. If a test-delivery response is uncertain, the button changes to Review deliveries so you can check whether the test was queued. An uncertain enable/disable request offers Refresh endpoint. Subscription-save conflicts or uncertain responses offer Reload current events before retrying. Rotation and revocation confirmations remain locked after an error until you close the review and inspect the endpoint again. These controls do not automatically repeat mutations.

If endpoint creation is uncertain​

A lost creation response does not prove that the endpoint was not created. The form keeps its submitted fields locked and offers Review creation status. Closing and reopening Add webhook endpoint in the same tab and signed-in workspace preserves that review. Check endpoints lets you inspect the existing receivers; no creation request is automatically repeated.

While the original request is still running, starting another creation is disabled. Once it finishes, Start a separate endpoint is an explicit choice; check the existing endpoint list first. If confirmation arrives after leaving the form, the review reports that creation succeeded. The one-time signing secret is not retained in recovery state. If it was missed, rotate the endpoint's secret before enabling deliveries.

This recovery state is held in tab memory only. Reloading clears it, so check existing endpoints before recreating a receiver after a reload. Validation rejections allow correcting the original form.

Remove retired connections​

Revoke a destination first. Revocation stops queued delivery and removes QScan's stored credential. Requests already sent may still reach the receiver; their late receipts remain visible, without scheduling another send or indexing check. Revoking in QScan does not revoke a token in Splunk or erase receiver-side events.

Open Retired connections & history from Signed webhooks or Splunk connections. The full-page view lists revoked destinations, 25 per page. Choose Delete permanently, review the retained-history explanation, then confirm; Keep connection cancels without changing anything. If the response is lost, Retry deletion uses the same revocation details. A confirmed deletion cannot be undone.

Deleted history lists generic connection identifiers, 100 per page. Endpoint settings, original names and credentials are removed; delivery receipts remain available for their normal thirty-day retention. Receipt history has no retry controls for retired destinations. Collector acceptance alone does not establish indexing or downstream processing.

For automation, revoke with DELETE /api/v1/webhooks/{id}, then send POST /api/v1/webhooks/{id}/delete with confirm: true and the exact expectedRevokedAt returned by revocation. Repeat that same body after a lost response. Read deleted identifiers with /api/v1/webhooks?deleted=true and follow nextAfter as after; delivery-history paths remain unchanged. JavaScript offers deleteWebhook, deletedWebhooks, and allDeletedWebhooks; Python offers delete_webhook, deleted_webhooks, and all_deleted_webhooks.

OAuth MCP clients can use event_destination_revoke, event_destination_delete, and event_destinations_deleted. Mutations require explicit confirmation and workspace administrator authority. Existing event_deliveries and event_delivery tools read retained receipts.