Hanzo
OpenapiEsign

Sends the document out and answers each signer's link.

Sends the document out and answers each signer's link.

POST /v1/esign/documents/{id}/send

Addresshttps://api.hanzo.ai/v1/esign/documents/{id}/send
MethodPOST
Operationpost_esign_documents_by_id_send
AuthAuthorization: Bearer $HANZO_API_KEY

Sends the document out and answers each signer's link.

It moves the document from DRAFT to PENDING and answers the signing tokens — one per signing recipient, with the path to hand them — which is how the links reach the people who must sign. Nothing is emailed by this call; delivering the links is the caller's.

It refuses to send an unsignable document: no recipients at all is a 400, and so is any signing recipient with no fields to fill, named in the error. Re-sending an already-pending document is allowed and re-issues the same links rather than restarting anything; a completed document is a 409, and an unknown one a 404. The send is recorded on the audit trail.

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyesID is the document to send.

Response

StatusBodyMeaning
200esignLinksok

200 body — 8 fields.

FieldInTypeAlwaysDescription
idbodystringID is the document that went out.
recipientsbodyesignLink[]Recipients is one link per signing recipient.
recipients[].emailbodystringEmail is the address this link is meant for.
recipients[].recipientIdbodystringRecipientID is the recipient the link identifies.
recipients[].rolebodystringRole is their role — only a SIGNER or an APPROVER gets a link, because only they are asked to act.
recipients[].signingPathbodystringSigningPath is the tail of the address to send them, relative to wherever the signing page is served.
recipients[].tokenbodystringToken is the crypto-random signing capability.
statusbodystringStatus is PENDING — the state a sent document is in until every signer has finished.

Failure carries the platform error shape — see Errors.

Examples

hanzo esign documents send <id>

Esign API · All Hanzo APIs · Interactive reference

How is this guide?

On this page