Hanzo
OpenapiEsign

Returns your org's documents, newest first.

Returns your org's documents, newest first. Each carries its status, recipients and field layout.

GET /v1/esign/documents

Addresshttps://api.hanzo.ai/v1/esign/documents
MethodGET
Operationget_esign_documents
AuthAuthorization: Bearer $HANZO_API_KEY

Returns your org's documents, newest first.

Each carries its status, recipients and field layout. The listing is capped at 200 and there is no paging, so treat it as the recent window rather than a complete export. It reads the caller's own tenant store, so no other org's documents can appear in it.

Request

GET /v1/esign/documents takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200esignDocumentsok

200 body — 35 fields.

FieldInTypeAlwaysDescription
documentsbodyesignDocument[]Documents is the caller org's documents, newest first, capped at 200.
documents[].completedAtbodyintegerCompletedAt is when the document sealed, in unix milliseconds; null until it does.
documents[].createdAtbodyintegerCreatedAt is when the document was uploaded, in unix milliseconds.
documents[].externalIdbodystringExternalID is the caller's own identifier for this document, echoed back as it was given; null when none was.
documents[].fieldsbodyesignField[]Fields is every field on the document, ordered by page and then by when it was placed.
documents[].fields[].customTextbodystringCustomText is the value a non-signature field was filled with, empty until it is.
documents[].fields[].fieldMetabodyanyFieldMeta is the caller's own metadata for this field, stored verbatim at placement and never interpreted.
documents[].fields[].heightbodynumberHeight is the field's height, -1 when the renderer is to choose one.
documents[].fields[].idbodystringID is the field id.
documents[].fields[].insertedbodybooleanInserted is whether this field has been filled in.
documents[].fields[].pagebodynumberPage is the 1-based page the field sits on.
documents[].fields[].positionXbodynumberPositionX is the field's horizontal position on that page.
documents[].fields[].positionYbodynumberPositionY is the field's vertical position on that page.
documents[].fields[].recipientIdbodystringRecipientID is who must fill this field.
documents[].fields[].typebodystringType is what the field collects — SIGNATURE, DATE, NAME, EMAIL, TEXT and the rest.
documents[].fields[].widthbodynumberWidth is the field's width, -1 when the renderer is to choose one.
documents[].idbodystringID is the document id.
documents[].messagebodystringMessage is the covering message stored with the document; null when none was given.
documents[].recipientsbodyesignRecipient[]Recipients is everyone on the document, ordered by signing order and then by when they were added — which is also the order a SEQUENTIAL document enforces.
documents[].recipients[].emailbodystringEmail is where this recipient's signing link is meant to go, lower-cased.
documents[].recipients[].idbodystringID is the recipient id, which is what a field is placed against.
documents[].recipients[].namebodystringName is the recipient's display name, empty when none was given.
documents[].recipients[].readStatusbodystringReadStatus is NOT_OPENED until they first open their link, then OPENED.
documents[].recipients[].rejectionReasonbodystringRejectionReason is why they declined, null unless they did.
documents[].recipients[].rolebodystringRole is SIGNER, CC, VIEWER, APPROVER or ASSISTANT.
documents[].recipients[].sendStatusbodystringSendStatus is NOT_SENT until the document goes out, then SENT.
documents[].recipients[].signedAtbodyintegerSignedAt is when they finished or declined, in unix milliseconds; null while neither has happened.
documents[].recipients[].signingOrderbodynumberSigningOrder is their position in a SEQUENTIAL document, null when they were added without one.
documents[].recipients[].signingStatusbodystringSigningStatus is NOT_SIGNED, SIGNED or REJECTED.
documents[].signingOrderbodystringSigningOrder is PARALLEL or SEQUENTIAL, fixed when the document was created.
documents[].sourcebodystringSource is how the document came to exist.
documents[].statusbodystringStatus is DRAFT while recipients and fields may still be added, PENDING once it has gone out, then COMPLETED when every signer has finished or REJECTED if any…
documents[].subjectbodystringSubject is the covering subject line stored with the document; null when none was given.
documents[].titlebodystringTitle is the document's name, and the stem of the download filename.
documents[].updatedAtbodyintegerUpdatedAt is when the document last changed, in unix milliseconds.

Failure carries the platform error shape — see Errors.

Examples

hanzo esign documents list

Esign API · All Hanzo APIs · Interactive reference

How is this guide?

On this page