Skip to content

GetCredentialById

GET
/credentials/{credentialRecordId}

Retrieve credential exchange record by credential record id

Authorizations

Parameters

Path Parameters

credentialRecordId
required
string
821f9b26-ad04-4f56-89b6-e2ef9c72b36e

Responses

200

CredentialExchangeRecord

Array<object>

Construct a type with a set of properties K of type T

object
Examples
{
"_tags": {
"state": "offer-sent",
"threadId": "82701488-b43c-4d7b-9244-4bb204a7ae26",
"connectionId": "ac6d0fdd-0db8-4f52-8a3d-de7ff8ddc14b"
},
"metadata": {
"_internal/indyCredential": {
"credentialDefinitionId": "q7ATwTYbQDgiigVijUAej:3:CL:318187:latest",
"schemaId": "q7ATwTYbQDgiigVijUAej:2:Employee Badge:1.0"
}
},
"credentials": [],
"id": "821f9b26-ad04-4f56-89b6-e2ef9c72b36e",
"createdAt": "2022-01-01T00:00:00.000Z",
"connectionId": "ac6d0fdd-0db8-4f52-8a3d-de7ff8ddc14b",
"threadId": "82701488-b43c-4d7b-9244-4bb204a7ae26",
"credentialAttributes": [],
"protocolVersion": "v1"
}