Concepts
API reference
Webhooks
/webhooks — subscriptions, deliveries, retries, secrets and the catalog of events.
https://api.didconnect.xyz/webhooks| Route | |
|---|---|
GET /webhooks/events | The catalog of events |
POST /webhooks | { url, events, description? }. Answers the subscription and its signing_secret, once |
GET /webhooks | { subscriptions, count } |
GET /webhooks/:id · PATCH /webhooks/:id · DELETE /webhooks/:id | Read, change (url, events, description, is_active) or delete |
POST /webhooks/:id/test | Sends a test event |
POST /webhooks/:id/rotate-secret | A new signing secret; the previous one stops signing |
GET /webhooks/:id/deliveries | Deliveries, newest first |
GET /webhooks/:id/deliveries/:deliveryId | A delivery: request, status, attempts |
POST /webhooks/:id/deliveries/:deliveryId/retry | Delivers again |
Signature
DidConnect-Signature: sha256=<hex>, the HMAC-SHA256 of <DidConnect-Timestamp>.<body> with the
subscription's secret. See Webhooks.
Events
| Event | data |
|---|---|
verify.session.created · .processing · .review · .approved · .rejected · .resubmission_requested · .expired · .cancelled | session_id, flow_id, kind, level, mode, status, subject_reference, decision_reasons, attestation_id |
verify.attestation.issued · verify.attestation.revoked | attestation_id, session_id, kind, level, reason |
verify.proof_request.approved · verify.proof_request.declined | proof_request_id, satisfied |
verify.monitoring.alert | alert_id, session_id, subject_reference, list, score |
lens.alert | alert_id, type, severity, subject_reference, event_id |
lens.decision.updated | decision_id, external_id, verdict, effective_verdict, reason |

