Retrieve all mDocs configurations
Roles
Analytics Events
/v2/credentials/mobile/configurationsRetrieves all mDocs configurations from your tenant.
Analytic events
- MOBILE_CREDENTIAL_CONFIGURATION_RETRIEVE_LIST_START
- MOBILE_CREDENTIAL_CONFIGURATION_RETRIEVE_LIST_SUCCESS
- MOBILE_CREDENTIAL_CONFIGURATION_RETRIEVE_LIST_FAIL
Authorization
bearerAuth In: header
Query Parameters
Range size of returned list.
1001 <= value <= 1000Starting point for the list of entries.
Optional credential type to filter on
Response Body
application/json
application/json
curl -X GET "https://example.vii.au01.mattr.global/v2/credentials/mobile/configurations"{
"nextCursor": "Y3JlYXRlZEF0PTIwMjAtMDgtMjVUMDY6NDY6MDkuNTEwWiZpZD1hNjZmZmVhNS04NDhlLTQzOWQtODBhNC1kZGE1NWY1M2UzNmM",
"data": [
{
"id": "983c0a86-204f-4431-9371-f5a22e506599",
"branding": {
"name": "Credential name",
"description": "Credential Description",
"backgroundColor": "#FFFFFF",
"watermarkImage": "data:image/png;base64,{image-data}",
"issuerLogo": "data:image/png;base64,{image-data}",
"issuerIcon": "data:image/svg+xml;base64,{image-data}"
},
"includeStatus": true,
"type": "org.iso.18013.5.1.mDL",
"claimMappings": {
"org.iso.18013.5.1": {
"given_name": {
"mapFrom": "claims.given_name",
"required": true,
"type": "string"
},
"birth_date": {
"mapFrom": "claims.date_of_birth",
"required": true,
"type": "dateTime"
}
}
},
"claimSourceId": "78e1b90c-401d-45bb-89c0-938da4d44c60",
"expiresIn": {
"years": 0,
"months": 1,
"weeks": 0,
"days": 0,
"hours": 0,
"minutes": 0,
"seconds": 0
},
"validFrom": {
"mapFrom": "string"
},
"validUntil": {
"mapFrom": "string"
}
}
]
}{
"code": "string",
"message": "string",
"details": [
{
"value": "string",
"msg": "Invalid value",
"param": "id",
"location": "body"
}
]
}How would you rate this page?
Create an mDocs configuration POST
Creates a new mDocs configuration, a specific set of rules and parameters that are used to create and validate a particular type of verifiable credential. These rules and parameters define how the credential is structured and what data it contains when issued. ### **Analytic events** * MOBILE_CREDENTIAL_CONFIGURATION_CREATE_START * MOBILE_CREDENTIAL_CONFIGURATION_CREATE_SUCCESS * MOBILE_CREDENTIAL_CONFIGURATION_CREATE_FAIL
Retrieve an mDocs configuration GET
Retrieves an existing mDocs configuration by providing its ID. ### **Analytic events** * MOBILE_CREDENTIAL_CONFIGURATION_RETRIEVE_START * MOBILE_CREDENTIAL_CONFIGURATION_RETRIEVE_SUCCESS * MOBILE_CREDENTIAL_CONFIGURATION_RETRIEVE_FAIL