LIST - List all consent records

GET {{baseUrl}}/service/verification/consent-records?offset=<integer>&limit=10

This endpoint is used to list all consent records available for an organisation defined in the consent building block. The results are paginated.

Request Params

KeyDatatypeRequiredDescription
offsetstringRequested index for start of resources to be provided in response requested by client
limitnumberNumber of items returned per page. Requested number of resources to be provided in response requested by client

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;consentRecords&quot;:[{&quot;dataAgreementId&quot;:&quot;\u003cstring\u003e&quot;,&quot;dataAgreementRevisionId&quot;:&quot;\u003cstring\u003e&quot;,&quot;individualId&quot;:&quot;\u003cstring\u003e&quot;,&quot;signatureId&quot;:&quot;\u003cstring\u003e&quot;},{&quot;dataAgreementId&quot;:&quot;\u003cstring\u003e&quot;,&quot;dataAgreementRevisionId&quot;:&quot;\u003cstring\u003e&quot;,&quot;individualId&quot;:&quot;\u003cstring\u003e&quot;,&quot;signatureId&quot;:&quot;\u003cstring\u003e&quot;}],&quot;pagination&quot;:{&quot;currentPage&quot;:&quot;\u003cinteger\u003e&quot;,&quot;totalItems&quot;:&quot;\u003cinteger\u003e&quot;,&quot;totalPages&quot;:&quot;\u003cinteger\u003e&quot;,&quot;limit&quot;:&quot;\u003cinteger\u003e&quot;,&quot;hasPrevious&quot;:&quot;\u003cboolean\u003e&quot;,&quot;hasNext&quot;:&quot;\u003cboolean\u003e&quot;}}