light-mode-image
Learn
API Reference

Verifier applications

Create a verifier application

POST/v2/presentations/applications

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

Verifier application payload

name?string

Unique name to identify the verifier application.

type*string

Defines the type of the verifier application.

Value in"web"
domain*string

Fully qualified domain name of verifier application that can create an online presentation session. This ensures the verifier tenant only accepts requests from known and trusted applications. Note that localhost is not supported. Use local tunneling services for testing.

additionalDomains?array<string>

List of fully qualified domain names of additional verifier applications who can create an online presentation session.

Items1 <= items
openid4vpConfiguration?

Configuration settings that enable verification using OpenID4VP.

At least one of openid4vpConfiguration or dcApiConfiguration must be provided.

dcApiConfiguration?

Configuration settings that enable verification using the Digital Credentials API.

At least one of openid4vpConfiguration or dcApiConfiguration must be provided.

DC API support is currently offered as a tech preview. As such, functionality may be limited, may not work in all scenarios, and could change or break without prior notice.

resultAvailableInFrontChannel?boolean

Indicates whether or not the verification result should be returned directly to the verifier application (true) or only via a configured back-end (false). Refer to the detailed workflow for more information.

Defaulttrue

Response Body

application/json

application/json

curl -X POST "https://example.vii.au01.mattr.global/v2/presentations/applications" \  -H "Content-Type: application/json" \  -d '{    "name": "Example Verifier Web Application",    "type": "web",    "domain": "example-verifier-web-application.com"  }'
{
  "id": "1ef1f867-20b4-48ea-aec1-bea7aff4964c",
  "name": "Example Verifier Web Application",
  "resultAvailableInFrontChannel": true,
  "type": "web",
  "domain": "example-verifier-web-application.com",
  "additionalDomains": [
    "example-verifier-web-application.com"
  ],
  "openid4vpConfiguration": {
    "supportedModes": "all",
    "redirectUris": [
      "https://example-verifier-web-application.com/presentation/callback"
    ],
    "display": {
      "logoImage": {
        "url": "https://example-logo-image-url.com",
        "altText": "Logo image"
      },
      "headerText": "Share your information.",
      "bodyText": "Please scan the QR code to the right to provide information required for this interaction.",
      "privacyPolicyUrl": "https://example-privacy-policy.com",
      "primaryColorHex": "#FFFFFF"
    }
  },
  "dcApiConfiguration": {
    "supportedBrowserPlatforms": {
      "desktop": true,
      "mobile": true
    }
  }
}
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "value": "string",
      "msg": "Invalid value",
      "param": "id",
      "location": "body"
    }
  ]
}

Retrieve all verifier applications

GET/v2/presentations/applications

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Response Body

application/json

curl -X GET "https://example.vii.au01.mattr.global/v2/presentations/applications"
{
  "nextCursor": "Y3JlYXRlZEF0PTIwMjAtMDgtMjVUMDY6NDY6MDkuNTEwWiZpZD1hNjZmZmVhNS04NDhlLTQzOWQtODBhNC1kZGE1NWY1M2UzNmM",
  "data": [
    {
      "id": "1ef1f867-20b4-48ea-aec1-bea7aff4964c",
      "name": "Example Verifier Web Application",
      "resultAvailableInFrontChannel": true,
      "type": "web",
      "domain": "example-verifier-web-application.com",
      "additionalDomains": [
        "example-verifier-web-application.com"
      ],
      "openid4vpConfiguration": {
        "supportedModes": "all",
        "redirectUris": [
          "https://example-verifier-web-application.com/presentation/callback"
        ],
        "display": {
          "logoImage": {
            "url": "https://example-logo-image-url.com",
            "altText": "Logo image"
          },
          "headerText": "Share your information.",
          "bodyText": "Please scan the QR code to the right to provide information required for this interaction.",
          "privacyPolicyUrl": "https://example-privacy-policy.com",
          "primaryColorHex": "#FFFFFF"
        }
      },
      "dcApiConfiguration": {
        "supportedBrowserPlatforms": {
          "desktop": true,
          "mobile": true
        }
      }
    }
  ]
}

Retrieve a verifier application

GET/v2/presentations/applications/{applicationId}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

applicationId*string

Unique identifier for the verifier application.

Formatuuid

Response Body

application/json

application/json

curl -X GET "https://example.vii.au01.mattr.global/v2/presentations/applications/281d20b3-42a3-40dd-b29a-115ff32b02b7"
{
  "id": "1ef1f867-20b4-48ea-aec1-bea7aff4964c",
  "name": "Example Verifier Web Application",
  "resultAvailableInFrontChannel": true,
  "type": "web",
  "domain": "example-verifier-web-application.com",
  "additionalDomains": [
    "example-verifier-web-application.com"
  ],
  "openid4vpConfiguration": {
    "supportedModes": "all",
    "redirectUris": [
      "https://example-verifier-web-application.com/presentation/callback"
    ],
    "display": {
      "logoImage": {
        "url": "https://example-logo-image-url.com",
        "altText": "Logo image"
      },
      "headerText": "Share your information.",
      "bodyText": "Please scan the QR code to the right to provide information required for this interaction.",
      "privacyPolicyUrl": "https://example-privacy-policy.com",
      "primaryColorHex": "#FFFFFF"
    }
  },
  "dcApiConfiguration": {
    "supportedBrowserPlatforms": {
      "desktop": true,
      "mobile": true
    }
  }
}
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "value": "string",
      "msg": "Invalid value",
      "param": "id",
      "location": "body"
    }
  ]
}

Update a verifier application

PUT/v2/presentations/applications/{applicationId}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

applicationId*string

Unique identifier for the verifier application.

Formatuuid

Request Body

application/json

Verifier application payload

name?string

Unique name to identify the verifier application.

type*string

Defines the type of the verifier application.

Value in"web"
domain*string

Fully qualified domain name of verifier application that can create an online presentation session. This ensures the verifier tenant only accepts requests from known and trusted applications. Note that localhost is not supported. Use local tunneling services for testing.

additionalDomains?array<string>

List of fully qualified domain names of additional verifier applications who can create an online presentation session.

Items1 <= items
openid4vpConfiguration?

Configuration settings that enable verification using OpenID4VP.

At least one of openid4vpConfiguration or dcApiConfiguration must be provided.

dcApiConfiguration?

Configuration settings that enable verification using the Digital Credentials API.

At least one of openid4vpConfiguration or dcApiConfiguration must be provided.

DC API support is currently offered as a tech preview. As such, functionality may be limited, may not work in all scenarios, and could change or break without prior notice.

resultAvailableInFrontChannel?boolean

Indicates whether or not the verification result should be returned directly to the verifier application (true) or only via a configured back-end (false). Refer to the detailed workflow for more information.

Defaulttrue

Response Body

application/json

application/json

application/json

curl -X PUT "https://example.vii.au01.mattr.global/v2/presentations/applications/281d20b3-42a3-40dd-b29a-115ff32b02b7" \  -H "Content-Type: application/json" \  -d '{    "name": "Example Verifier Web Application",    "type": "web",    "domain": "example-verifier-web-application.com"  }'
{
  "id": "1ef1f867-20b4-48ea-aec1-bea7aff4964c",
  "name": "Example Verifier Web Application",
  "resultAvailableInFrontChannel": true,
  "type": "web",
  "domain": "example-verifier-web-application.com",
  "additionalDomains": [
    "example-verifier-web-application.com"
  ],
  "openid4vpConfiguration": {
    "supportedModes": "all",
    "redirectUris": [
      "https://example-verifier-web-application.com/presentation/callback"
    ],
    "display": {
      "logoImage": {
        "url": "https://example-logo-image-url.com",
        "altText": "Logo image"
      },
      "headerText": "Share your information.",
      "bodyText": "Please scan the QR code to the right to provide information required for this interaction.",
      "privacyPolicyUrl": "https://example-privacy-policy.com",
      "primaryColorHex": "#FFFFFF"
    }
  },
  "dcApiConfiguration": {
    "supportedBrowserPlatforms": {
      "desktop": true,
      "mobile": true
    }
  }
}
{
  "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 verifier application

DELETE/v2/presentations/applications/{applicationId}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

applicationId*string

Unique identifier for the verifier application.

Formatuuid

Response Body

application/json

curl -X DELETE "https://example.vii.au01.mattr.global/v2/presentations/applications/281d20b3-42a3-40dd-b29a-115ff32b02b7"
Empty
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "value": "string",
      "msg": "Invalid value",
      "param": "id",
      "location": "body"
    }
  ]
}

How would you rate this page?

On this page