Create webhook
Creates a webhook: a payload URL that receives the events that it subscribes to, so that your system learns about each change without polling. Get the event types from Read webhook event types, and subscribe to at least 1. Each event type has a product feature: a type whose service is not installed gets `400` with `errorKey` `service_not_installed`, and a type whose feature is off for the organisation gets `403` with `errorKey` `feature_disabled`.
List all webhooks
Lists the webhooks of the organisation (or of the sandbox organisation of the call), the newest first, each with the result of its last delivery. Deleted webhooks are not listed. Use `offset` and `limit` to page through the list; an `offset` below 0 or a `limit` of 0 or less gets the default.
Read webhook
Returns one webhook of the organisation (or of the sandbox organisation of the call), with its subscribed event types and its secret key in clear text. A deleted webhook is not found.
Update webhook
Replaces the settings of a webhook: the payload URL, the content type, the subscribed event types, the disabled flag, the secret key and the TLS check flag. Use it to change the event types or to rotate the secret key. To turn a webhook off or on, [Disable webhook](/docs/openid4vc-api/config-disable-webhook) and [Enable webhook](/docs/openid4vc-api/config-enable-webhook) are simpler: they need no full replacement.
Delete webhook
Deletes a webhook. The service disables it and marks it as deleted: it receives no more events, a delivery that waits for its next attempt fails, and the other webhook operations no longer find it. Its payload URL is free for a new webhook. You cannot undo the delete.
Ping webhook
Checks that the payload URL of a webhook answers. The service sends one HTTP `POST` with an empty body to the payload URL, waits for the answer and returns its status. Use it after you create a webhook or change its payload URL.
Resume webhook
Resumes a paused webhook (`status` `paused`). The service first sends a test event to the payload URL, the same request as [Ping webhook](/docs/openid4vc-api/config-ping-webhook). When the payload URL answers `2xx` within 10 seconds, the webhook is `active` again: `consecutiveFailedAttempts` is `0`, and `failingSince`, `pausedAt` and `pauseReason` are `null`. When it does not, the answer is `409` with `errorKey` `webhook_resume_ping_failed`, and the webhook stays paused. A resume does not change `lastSuccessAt`.
Disable webhook
Turns a webhook off: `disabled` becomes `true` and `status` becomes `disabled`. The webhook receives no event, and a delivery that waits for its next attempt fails. A ping still works. The other settings and the status members of the webhook do not change, so you do not have to send the full webhook as with [Update webhook](/docs/openid4vc-api/config-update-webhook).
Enable webhook
Turns a disabled webhook on again: `disabled` becomes `false`. The other settings of the webhook do not change, so you do not have to send the full webhook as with [Update webhook](/docs/openid4vc-api/config-update-webhook).
Read webhook event types
Lists the event types that a webhook of your organisation can subscribe to, sorted by type, with what it means, the version of its body and its product feature. Put each `type` in the matching group of `subscribedEvents` when you create or update a webhook: the `ows.*` types in `digitalWalletWebhook`, the `consent.*` and `data.*` types in `consentManagementWebhook`, and `datamarketplace.data_disclosure_agreement_record` in `dataMarketplaceWebhook`.
List all webhook content types
Lists the content types that a webhook can use for its payload. The only one is `application/json`: the service posts each event as a JSON body, and the signature covers its exact bytes. A create or update request without `contentType` gets `application/json`.