light-mode-image
Learn
MATTR VII PlatformCredential types

Retrieve credential type

Retrieves a credential type from the requested ecosystem by its ID.

Analytics Events

ECOSYSTEM_CREDENTIAL_RETRIEVE_STARTECOSYSTEM_CREDENTIAL_RETRIEVE_SUCCESSECOSYSTEM_CREDENTIAL_RETRIEVE_FAIL

Roles

admindts-provider
GET/v1/ecosystems/{ecosystemId}/credentials/{credentialId}
AuthorizationBearer <token>

In: header

Path Parameters

ecosystemIdstring

The UUID of the ecosystem

Formatuuid
credentialIdstring

The UUID of the credential

Formatuuid

Response Body

curl -X GET "https://example.vii.au01.mattr.global/v1/ecosystems/87880d7e-a4d0-462e-8383-3f1e5e16865d/credentials/599bf148-d711-405a-a20b-9c8a87ac8850"
{
  "id": "599bf148-d711-405a-a20b-9c8a87ac8850",
  "ecosystemId": "87880d7e-a4d0-462e-8383-3f1e5e16865d",
  "profile": "compact",
  "type": "DriverLicense",
  "name": "Driver's License"
}
{
  "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"
    }
  ]
}

How would you rate this page?