Our Webhook API now supports wildcards for event types. This powerful feature allows developers to create a single webhook that listens to specific event types, simplifying webhook management and reducing code complexity.
Wildcards can be used at different levels of the event type hierarchy:
*
: Matches all events for a project
didcomm.*
: Matches all events of type didcomm.*
for a project
openid4vc.verification.*
: Matches all events of type openid4vc.verification.*
for a project
didcomm.messaging.custom.*
: Matches all events of type didcomm.messaging.custom.*
for a project
For example, if you want to create a single webhook that listens to all DIDComm related events for a project, you can simply use the event type didcomm.*
.
It's also possible to listen to a single webhook event by specifying the full event name, such as didcomm.issuance.completed
.
For a complete list of supported event types and their corresponding wildcards, please refer to our Webhook API Reference.