Skip to main content
Webhooks are the preferred way to receive results. The result is sent to your endpoint as a POST with a JSON body in the same structure as GET /api/v1/application/{id}.

Set up

  • Global: Backoffice → Settings → Webhooks. Notifications go to all configured endpoints.
  • Per flow: Flows → [flow name] → Webhooks, then enable Use own webhooks. Events from that flow then trigger only the flow’s webhooks, and the global webhooks are disabled for it.
  • Signature key: Backoffice → Settings → Webhooks → Signature key. It differs between sandbox and production.

Events

Webhooks are sent for two kinds of events.

Application events

Events that just occurred at application level: the application was created, verified or changed. application.changed is also sent when the status is changed by hand in the Backoffice or through the API, if that event is enabled. See Review requests.

SDK events

Callbacks on events that just occurred on the verification steps in the SDK, on the client side.

Delivery

Verify the signature

The signature uses EdDSA (Ed25519). The signed message is the HTTP body followed by the X-Timestamp value. X-Signature is Base64-encoded. Verify against the raw request body. Re-serialising parsed JSON may not reproduce the exact bytes that were signed.

Build a reliable receiver

  • Acknowledge fast. Verify the signature, store the payload, return 200, and do slow work afterwards. Delivery is marked as failed after 5 minutes without a 200.
  • Expect repeats. Failed deliveries are retried, so the same result can arrive more than once. Make processing safe to repeat.
  • Check processingState. Act on the result only when it is done.
  • Have a fallback. If no result arrives for an application in the time you expect, fetch it from the API.