Skip to content

GetAllCredentials

GET
/credentials

Retrieve all credential exchange records

Authorizations

Parameters

Query Parameters

threadId
string
ea4e5e69-fc04-465a-90d2-9f8ff78aa71d
parentThreadId
string
ea4e5e69-fc04-465a-90d2-9f8ff78aa71d
connectionId
string
821f9b26-ad04-4f56-89b6-e2ef9c72b36e
state

Issue Credential states as defined in RFC 0036 and RFC 0453

string
Allowed values: proposal-sent proposal-received offer-sent offer-received declined request-sent request-received credential-issued credential-received done abandoned
role
string
Allowed values: issuer holder

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"
}
]