API Reference
Create a Webhook
Create Webhook
Creates a new webhook for this tenant.
Analytic events
- WEBHOOK_CREATE_START
- WEBHOOK_CREATE_SUCCESS
- WEBHOOK_CREATE_FAIL
/v1/webhooksIn: header
The webhook payload
This array includes the event types that will trigger this Webhook. The following events are currently supported:
- OpenIdCredentialIssued: Triggered upon completion of an OpenID4VCI issuance flow and includes credential data.
- OpenIdCredentialIssuedSummary: Triggered upon completion of an OpenID4VCI issuance flow but does not include credential data.
- OidcIssuerCredentialIssued: Triggered upon completion of an OICD Bridge issuance flow.
This is the URL that will receive the Webhook events data payload when they are triggered by MATTR VII for the specified events:
- Must be a valid URL.
- Must use the HTTPS protocol.
- Must not be an IP address.
- Must not include query parameters or have fragments.
- Non-ASCII characters are normalized.
- Must return a 2xx response, otherwise it will go through a retry cycle and eventually fail.
uriIndicates whether or not the Webhook is disabled. When set to true the webhook is disabled, and notifications for events associated with it will not be sent. If no value is provided, defaults to false.
curl -X POST "https://example.vii.au01.mattr.global/v1/webhooks" \ -H "Content-Type: application/json" \ -d '{ "events": [ "OpenIdCredentialIssued" ], "url": "https://example.com" }'{
"id": "0c099611-19c4-4f29-8724-6b9e5ba1ef7c",
"events": [
"OpenIdCredentialIssued"
],
"url": "https://example.com",
"disabled": false
}{
"code": "string",
"message": "string",
"details": [
{
"value": "string",
"msg": "Invalid value",
"param": "id",
"location": "body"
}
]
}Retrieve all Webhooks
Retrieve all Webhooks
Retrieves a list of webhooks configured on the tenant.
Analytic events
- WEBHOOK_RETRIEVE_LIST_START
- WEBHOOK_RETRIEVE_LIST_SUCCESS
- WEBHOOK_RETRIEVE_LIST_FAIL
/v1/webhooksIn: header
Query Parameters
Range size of returned list.
1001 <= value <= 1000Starting point for the list of entries.
curl -X GET "https://example.vii.au01.mattr.global/v1/webhooks?limit=2&cursor=Y3JlYXRlZEF0PTIwMjAtMDgtMjVUMDY6NDY6MDkuNTEwWiZpZD1h"{
"data": [
{
"id": "0c099611-19c4-4f29-8724-6b9e5ba1ef7c",
"events": [
"OpenIdCredentialIssued"
],
"url": "https://example.com",
"disabled": false
},
{
"id": "0c099611-19c4-4f29-8724-6b9e5ba1ef7c",
"events": [
"OpenIdCredentialIssued"
],
"url": "https://example.com",
"disabled": false
}
],
"nextCursor": "Y3JlYXRlZEF0PTIwMjItMDgtMjJUMDElM0E1OSUzQTE5LjYyMFomaWQ9MGMwOTk2MTEtMTljNC00ZjI5LTg3MjQtNmI5ZTViYTFlZjdj"
}{
"code": "string",
"message": "string",
"details": [
{
"value": "string",
"msg": "Invalid value",
"param": "id",
"location": "body"
}
]
}Retrieve a Webhook
Retrieve Webhook
Retrieve a specific Webhook by providing its ID.
Analytic events
- WEBHOOK_RETRIEVE_START
- WEBHOOK_RETRIEVE_SUCCESS
- WEBHOOK_RETRIEVE_FAIL
/v1/webhooks/{id}In: header
Path Parameters
The requested Webhook ID.
uuidcurl -X GET "https://example.vii.au01.mattr.global/v1/webhooks/41458e5a-9092-40b7-9a26-d4eb43c5792f"{
"id": "0c099611-19c4-4f29-8724-6b9e5ba1ef7c",
"events": [
"OpenIdCredentialIssued"
],
"url": "https://example.com",
"disabled": false
}{
"code": "string",
"message": "string",
"details": [
{
"value": "string",
"msg": "Invalid value",
"param": "id",
"location": "body"
}
]
}Update a Webhook
Update Webhook
Updates an existing Webhook by providing its ID.
Analytic events
- WEBHOOK_UPDATE_START
- WEBHOOK_UPDATE_SUCCESS
- WEBHOOK_UPDATE_FAIL
/v1/webhooks/{id}In: header
Path Parameters
Webhook ID
uuidUpdate Webhook
This array includes the event types that will trigger this Webhook. The following events are currently supported:
- OpenIdCredentialIssued: Triggered upon completion of an OpenID4VCI issuance flow and includes credential data.
- OpenIdCredentialIssuedSummary: Triggered upon completion of an OpenID4VCI issuance flow but does not include credential data.
- OidcIssuerCredentialIssued: Triggered upon completion of an OICD Bridge issuance flow.
This is the URL that will receive the Webhook events data payload when they are triggered by MATTR VII for the specified events:
- Must be a valid URL.
- Must use the HTTPS protocol.
- Must not be an IP address.
- Must not include query parameters or have fragments.
- Non-ASCII characters are normalized.
- Must return a 2xx response, otherwise it will go through a retry cycle and eventually fail.
uriIndicates whether or not the Webhook is disabled. When set to true the webhook is disabled, and notifications for events associated with it will not be sent. If no value is provided, defaults to false.
curl -X PUT "https://example.vii.au01.mattr.global/v1/webhooks/41458e5a-9092-40b7-9a26-d4eb43c5792f" \ -H "Content-Type: application/json" \ -d '{ "events": [ "OpenIdCredentialIssued" ], "url": "https://example.com" }'{
"id": "0c099611-19c4-4f29-8724-6b9e5ba1ef7c",
"events": [
"OpenIdCredentialIssued"
],
"url": "https://example.com",
"disabled": false
}{
"code": "string",
"message": "string",
"details": [
{
"value": "string",
"msg": "Invalid value",
"param": "id",
"location": "body"
}
]
}{
"code": "string",
"message": "string",
"details": [
{
"value": "string",
"msg": "Invalid value",
"param": "id",
"location": "body"
}
]
}Delete a Webhook
Delete Webhook
Deletes a Webhook by providing its ID.
Analytic events
- WEBHOOK_DELETE_START
- WEBHOOK_DELETE_SUCCESS
- WEBHOOK_DELETE_FAIL
/v1/webhooks/{id}In: header
Path Parameters
Webhook ID
uuidcurl -X DELETE "https://example.vii.au01.mattr.global/v1/webhooks/41458e5a-9092-40b7-9a26-d4eb43c5792f"{
"code": "string",
"message": "string",
"details": [
{
"value": "string",
"msg": "Invalid value",
"param": "id",
"location": "body"
}
]
}{
"code": "string",
"message": "string",
"details": [
{
"value": "string",
"msg": "Invalid value",
"param": "id",
"location": "body"
}
]
}Retrieve Webhook JWKs
Retrieve Webhook JWKs
Retrieves a list of Webhook JWKs (JSON Web Keys) from the tenant. These keys can be used to verify the HTTP signature and validate the integrity and authorship of generated Webhooks. This endpoint does not require authentication and is publicly available by design.
/v1/webhooks/jwkscurl -X GET "https://example.vii.au01.mattr.global/v1/webhooks/jwks"{
"keys": [
{
"kty": "OKP",
"crv": "Ed25519",
"x": "11qYAYKxCrfVS_7TyWQHOg7hcvPapiMlrwIaaPcHURo",
"use": "sig",
"kid": "FdFYFzERwC2uCBB46pZQi4GG85LujR8obt-KWRBICVQ"
}
]
}How would you rate this page?