Retrieve all credential references
Retrieve all credential references associated with the specified user.
A credential reference is a logical identifier for a credential, independent of any particular wallet or device. When a credential is issued to a user, it may be stored in multiple wallets or on multiple devices. Each stored instance is a separate copy, but all copies represent the same underlying credential.
The credential reference stays the same across all of these instances, allowing issuers to consistently identify and interact with the credential regardless of where the user holds it.
Roles
Analytics Events
bearerAuthAuthorizationBearer <JWT>userId*stringThe user ID represents a unique identifier for a user in the system. The user ID is generated by the system when a user is created, and is returned in the response when retrieving users.
uuidlimit?numberRange size of returned list.
1 <= value <= 1000100cursor?stringStarting point for the list of entries.
Credential references retrieved
application/json- response
data?array<>nextCursor?stringcurl -X GET 'https://example.vii.au01.mattr.global/v1/users/41458e5a-9092-40b7-9a26-d4eb43c5792f/credential-references'{ "data": [ { "userId": "41458e5a-9092-40b7-9a26-d4eb43c5792f", "credentialReferenceId": "a248d6c9-3f5e-4b2a-9c1e-2f3b4c5d6e7f", "credentialProfile": "mobile", "credentialType": "org.iso.18013.5.1.mDL", "claimSetId": "claim-set-1" } ], "nextCursor": "string"}How would you rate this page?
Retrieve all user credentials data GET
Returns metadata for the credentials issued to the provided `userId`. Use this endpoint to: - See which credentials a user has been issued, and when they are valid. - Find the `credentialBundleId` of a specific credential, which you need to [update](/docs/issuance/update/overview) or [unlink](/docs/api-reference/platform/user-credentials/unlinkUserCredentialBundle) it. Narrow the results with these optional query parameters: - `offerId`: Returns only the credentials issued from a specific credential offer. - `msoHash`: Returns only the mDoc with a specific Mobile Security Object (MSO) hash. Use this when you have a single mDoc, for example one a holder presented, and need to find its metadata. When you provide both, only credentials that match both are returned.
Retrieve a credential reference GET
Retrieve the specified credential reference. A credential reference is a logical identifier for a credential, independent of any particular wallet or device. When a credential is issued to a user, it may be stored in multiple wallets or on multiple devices. Each stored instance is a separate copy, but all copies represent the same underlying credential. The credential reference stays the same across all of these instances, allowing issuers to consistently identify and interact with the credential regardless of where the user holds it.