Webhooks1 min read

Webhooks: Real-Time Revocation & Tamper Events

Subscribe to instant webhook alerts when candidates revoke access or when ledger tampering is detected.

Real-Time Webhook Notifications

SabiProfile webhooks deliver instant HTTPS POST payloads to your endpoint whenever key lifecycle or security events occur.

Supported Events

Event NameDescription
key.revokedTriggered when a candidate revokes an active private access key.
key.expiredTriggered when a key reaches its designated expiration timestamp.
integrity.compromisedCritical security alert: record failed hash verification against the ledger.
evaluation.completedTriggered when an asynchronous batch screening evaluation completes.

Subscribing to Webhooks

To register a webhook endpoint:

bash
curl -X POST https://www.sabiprofile.com/api/v1/m2m/webhooks \
  -H "Content-Type: application/json" \
  -H "X-Sabi-Org-Key: sok_live_9f83a84b12c8..." \
  -d '{
    "endpoint_url": "https://api.yourcompany.com/webhooks/sabiprofile",
    "events": ["key.revoked", "integrity.compromised"]
  }'

Verifying Signatures

Every webhook request includes an X-Sabi-Signature header containing an HMAC-SHA256 signature calculated with your webhook secret. Verify this signature before processing payloads to guarantee authenticity.

Verification compatibility anchor

Verification details active