Webhooks
Create a webhook endpoint
Register a webhook endpoint. Didit ID signs every delivery with the returned secret using HMAC-SHA256 and sends the X-Didit-Signature and X-Didit-Timestamp headers (see the signature-verification note below). Save the returned secret — it is only shown once. Provide subscribed_events to filter, or omit it to receive every event type.
post/v1/webhooks
Request body
Example request
{
"label": "Production events",
"url": "https://api.acme.example/webhooks/didit",
"subscribed_events": [
"credential.issued",
"presentation.verified"
],
"enabled": true
}Response
The webhook endpoint was created. The full signing secret is returned once.
Example response
{
"id": "b8f0f4a2-2b1e-4b3a-9d0e-4a1c2d3e4f50",
"label": "Production events",
"url": "https://api.acme.example/webhooks/didit",
"secret": "kQ8v...s9Zx",
"subscribed_events": [
"credential.issued",
"presentation.verified"
],
"enabled": true,
"created_at": "2026-07-02T23:51:58.746686+00:00",
"updated_at": "2026-07-02T23:51:58.746686+00:00"
}