Hanzo
OpenapiEsign

Returns the document's full audit trail, oldest first.

Returns the document's full audit trail, oldest first.

GET /v1/esign/documents/{id}/audit

Addresshttps://api.hanzo.ai/v1/esign/documents/{id}/audit
MethodGET
Operationget_esign_documents_by_id_audit
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the document's full audit trail, oldest first.

It answers every recorded event for the document in order — created, recipient added, field created, sent, opened, each field inserted, each recipient completed or rejected, and completion — with the actor and timestamp on each. This is the evidence record behind a signature, so it is append-only and nothing in the surface edits it.

The id is resolved in the caller's OWN tenant store, so another org's document id is a 404.

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyesID is the document to act on. It is the path segment: the URL is the addressing authority, and the org it is resolved in comes from the caller's principal, so…

Response

StatusBodyMeaning
200esignTrailok

200 body — 8 fields.

FieldInTypeAlwaysDescription
documentIdbodystringDocumentID is the document the trail belongs to.
entriesbodyesignEvent[]Entries is every recorded event in order, oldest first.
entries[].createdAtbodyintegerCreatedAt is when it happened, in unix milliseconds.
entries[].databodyanyData is the event's own detail, whose shape depends on the type — the field and recipient a signature was inserted for, the reason a document was rejected.
entries[].emailbodystringEmail is the email of whoever caused it, null for an event with no actor — the sender's own calls are recorded without one.
entries[].idbodystringID is the entry id.
entries[].namebodystringName is the name of whoever caused it, null when it was not recorded.
entries[].typebodystringType is what happened: DOCUMENT_CREATED, RECIPIENT_CREATED, FIELD_CREATED, DOCUMENT_SENT, DOCUMENT_OPENED, DOCUMENT_FIELD_INSERTED,…

Failure carries the platform error shape — see Errors.

Examples

hanzo esign documents audit <id>

Esign API · All Hanzo APIs · Interactive reference

How is this guide?

On this page