Event Payload
All webhook events share a common base structure:string
required
The event type:
credential, identity, otp.failed, or test.string
required
API version the payload is formatted for, given as
YYYY-MM-DD. A payload formatted for a version before 2026-10-16 also carries it as api_version.string
required
Identifier of the request this event belongs to.
string
required
DID of your organization, the issuer.
string
Your internal identifier for the request, if you set one.
object
required
The subject the event concerns.
eventType, each event adds its own fields. Pick the event you are handling:
Versioning
By default, each delivery is formatted for the API version its request was created under: theAPI-Version header sent on POST /request, or else the version pinned to the API key. You can optionally pin an endpoint to a fixed version in the Humanos Dashboard; a pinned endpoint receives every event in that version’s format.
Every webhook payload includes an apiVersion field so you always know which format it uses. What changed in each version is in the changelog.
For more details on how versioning works across the API and webhooks, see API Versioning.
Configuration
To configure webhooks, organization administrators can open Webhooks in the Humanos Dashboard. Each endpoint has the following settings:- Endpoint URL is an HTTPS endpoint where webhook events are delivered, for example
https://your.domain.com/webhook. Each endpoint gets its own secrets and salt, shown once when you create or rotate them, plus optional Basic Auth and an optional API version pin. - Webhook Signature Secret is used for validating that the webhooks were sent by Humanos.
- Webhook Encryption Secret is used for decrypting the payloads, ensuring security in transit.
- Webhook Encryption Salt is used together with the Webhook Encryption Secret to derive the final encryption key. The salt adds uniqueness and protects against dictionary or pre-computed attacks, ensuring stronger security for each payload.
- Receive the request → Your endpoint will be called with an encrypted payload.
- Verify authenticity → Check the x-signature header using your Webhook Signature Secret.
- Decrypt the payload → Use the Webhook Encryption Secret and Webhook Encryption Salt to decrypt the message and read the event data.
- Process the event → Store it in your system, update statuses, or trigger business logic.
- Respond quickly → Return a
2xxstatus, such as 200 OK, within 10 seconds. Any other answer is a failed delivery; see Failed deliveries.
Which endpoints are notified
By default, each of your endpoints receives the events of every request. When your organization runs more than one integration, you can have an endpoint receive only the requests that select it.Receives
Each endpoint’s Receives setting on the Webhooks page decides which requests notify it:- All requests of this organization, the default: every request notifies the endpoint, unless the request lists its own endpoints.
- Only requests that select this endpoint: only the requests that select it notify it.
How a request selects endpoints
A request settles which endpoints it notifies when it is created:
An API key selects endpoints under Default webhook endpoints on the API Keys page, and a workflow under its Notify System step in Workflows. Requests created in the dashboard can pick their endpoints under Advanced → Notify endpoints.
webhookEndpoints takes up to 20 IDs, each one of your organization’s endpoints; otherwise the request is refused with 400. Copy an endpoint’s ID from its card on the Webhooks page. For example, alongside the rest of the request body:
Failed deliveries
Any2xx response counts as delivered. For anything else, your endpoint’s answer decides what Humanos does next:
A delivery stops 24 hours after its event, however many attempts it has left. Every attempt is listed under Logs on the Webhooks page, where you can also redeliver an event for up to 7 days.
Paused endpoints
An endpoint that keeps refusing deliveries is paused automatically: for example after a410, when its credentials stop working, or when it has failed for days. Your organization’s technical members get an email, and the endpoint shows Parked on the Webhooks page. While it is paused:
- New events for it are held, not sent. They show as Not sent in the logs.
- Humanos tests it with one of the held events 1, 4 and 12 hours after the pause, then once a day.
- As soon as it accepts that event, deliveries resume on their own and the other held events are re-sent, oldest first. Your technical members get a second email.
credential.id with credential.status for a credential event, or requestId with eventType otherwise.