Skip to main content

Querying legal documents

legalDocuments lists the bank‑supplied PDFs that the customer signed as part of this bank report. See the Legal documents concept — the field is module‑gated by hasLegalDocumentsModule.

All examples require a JWT — get one from the homepage first.

query bankReportLegalDocuments($id: UUID!) {
bankReportById(id: $id) {
id
legalDocuments {
id
name
signedFile {
fileName
fileExtension
base64
}
}
}
}

If your bank doesn't have the legal‑documents module enabled, projecting legalDocuments returns an authorization error.