Hanzo
OpenapiLegal

Returns one of the org's documents WITH its rendered body.

Returns one of the org's documents WITH its rendered body. 404 when the org has no document with that id — a document is never readable across orgs.

GET /v1/legal/documents/{id}

Addresshttps://api.hanzo.ai/v1/legal/documents/{id}
MethodGET
Operationget_legal_documents_by_id
AuthAuthorization: Bearer $HANZO_API_KEY

Returns one of the org's documents WITH its rendered body. 404 when the org has no document with that id — a document is never readable across orgs.

The response is marked no-store: the body is contract text, sealed at rest and returned only to the owning org, and must not sit in a shared cache.

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyesID is the document's server-minted handle, "doc_"-prefixed.

Response

StatusBodyMeaning
200documentReplyok

200 body — 14 fields.

FieldInTypeAlwaysDescription
disclaimerbodystringDisclaimer is the boundary made visible on the wire.
documentbodydocumentView
document.bodybodystringBody is the rendered document. It is sealed at rest and returned only to the owning org.
document.categorybodystring
document.contentTypebodystringContentType is the rendered body's media type — text/markdown.
document.createdAtbodyinteger
document.esignProviderbodystring
document.idbodystring
document.signedAtbodyinteger
document.statusbodystring
document.templateIdbodystring
document.templateVersionbodyinteger
document.titlebodystring
document.updatedAtbodyinteger

Failure carries the platform error shape — see Errors.

Examples

hanzo legal documents get <id>

Legal API · All Hanzo APIs · Interactive reference

How is this guide?

On this page