light-mode-image
Learn
API ReferenceAnalytics

Create credential report

Roles

adminauditorissuermanaged-issuer
POST/v1/events/credential-reports

Creates a report of credential lifecycle operations (issuance and status changes).

Only CWT and mDoc credentials are included in the report.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

The credential report parameters

Response Body

application/json

application/json

text/plain

curl -X POST "https://example.vii.au01.mattr.global/v1/events/credential-reports" \  -H "Content-Type: application/json" \  -d '{    "timezoneOffset": "+02:00",    "startDate": "2026-02-01",    "endDate": "2026-02-28",    "profiles": [      "cwt",      "mdoc"    ]  }'
{
  "data": [
    {
      "date": "2026-02-25",
      "operation": "issued",
      "profile": "mdoc",
      "credentialType": "org.iso.18013.5.1.mDL",
      "count": 5
    }
  ],
  "nextCursor": "Y3JlYXRlZEF0PTIwMjYtMDItMjVUMDY6NDY6MDkuNTEwWiZpZD1hNjZmZmVhNS04NDhlLTQzOWQtODBhNC1kZGE1NWY1M2UzNmM"
}
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "value": "string",
      "msg": "Invalid value",
      "param": "id",
      "location": "body"
    }
  ]
}
"Unauthorized"
Empty
Empty

How would you rate this page?