light-mode-image
Learn
API ReferenceAnalytics

Create credential report

Roles

adminissuerauditormanaged-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

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

text/plain

curl -X POST "https://example.com/v1/events/credential-reports" \  -H "Content-Type: application/json" \  -d '{    "timezoneOffset": "string",    "startDate": "2019-08-24",    "endDate": "2019-08-24",    "profiles": [      "cwt"    ]  }'
{  "data": [    {      "date": "2019-08-24",      "operation": "issued",      "profile": "cwt",      "credentialType": "string",      "count": 0    }  ],  "nextCursor": "string"}

How would you rate this page?