Hanzo
OpenapiLegal

Returns the org's generated documents, newest first, WITHOUT their rendered…

Returns the org's generated documents, newest first, WITHOUT their rendered content — fetch one document to read its body.

GET /v1/legal/documents

Addresshttps://api.hanzo.ai/v1/legal/documents
MethodGET
Operationget_legal_documents
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the org's generated documents, newest first, WITHOUT their rendered content — fetch one document to read its body.

The response is marked no-store: these records name the counterparties an org is contracting with, and must not sit in a shared cache.

Request

1 field.

FieldInTypeRequiredDescription
limitqueryintegerLimit bounds the page.

Response

StatusBodyMeaning
200documentPageok

200 body — 12 fields.

FieldInTypeAlwaysDescription
databodydocumentSummary[]Data are the documents, WITHOUT their rendered content — fetch one to read it.
data[].categorybodystringCategory is the template's category: formation, equity, ops or sales.
data[].createdAtbodyintegerCreatedAt is when the document was generated, in unix seconds.
data[].esignProviderbodystringEsignProvider names the e-signature provider handling it, absent until a signature has been requested.
data[].idbodystringID is the document's server-minted handle, "doc_"-prefixed.
data[].signedAtbodyintegerSignedAt is when the provider reported completion, in unix seconds.
data[].statusbodystringStatus is the lifecycle state: draft, out_for_signature, signed or voided.
data[].templateIdbodystringTemplateID is the template it was rendered from.
data[].templateVersionbodyintegerTemplateVersion is WHICH version of that template rendered it, so the document is reproducible and auditable.
data[].titlebodystringTitle is the document's title, inherited from the template.
data[].updatedAtbodyintegerUpdatedAt is when it last changed, in unix seconds.
disclaimerbodystringDisclaimer is the boundary made visible on the wire.

Failure carries the platform error shape — see Errors.

Examples

hanzo legal documents list

Legal API · All Hanzo APIs · Interactive reference

How is this guide?

On this page