Hanzo
OpenapiEsign

Declines to sign, with an optional reason.

Declines to sign, with an optional reason.

POST /v1/esign/o/{org}/sign/{token}/reject

Addresshttps://api.hanzo.ai/v1/esign/o/{org}/sign/{token}/reject
MethodPOST
Operationpost_esign_o_by_org_sign_by_token_reject
AuthAuthorization: Bearer $HANZO_API_KEY

Declines to sign, with an optional reason.

It records this recipient's refusal and moves the WHOLE DOCUMENT to REJECTED — one declining signer ends it for everyone, and there is no route back: the document cannot then be signed or completed. An optional reason is stored and written onto the audit trail with the rejection, which is what the sender sees.

A document not out for signature is a 409, and so is a recipient who has already signed or already rejected — a refusal cannot be taken back or repeated. The token is the whole credential; one that does not resolve under the org segment is a 404.

Request

3 fields, body application/json (required).

FieldInTypeRequiredDescription
orgpathstringyes
tokenpathstringyes
reasonbodyanyReason is why the signer is declining.

Response

StatusBodyMeaning
200esignRejectionok

200 body — 2 fields.

FieldInTypeAlwaysDescription
recipientIdbodystringRecipientID is the recipient who declined.
statusbodystringStatus is REJECTED — one declining signer ends the document for everyone, and there is no route back.

Failure carries the platform error shape — see Errors.

Examples

hanzo esign o sign reject <org> <token>

Esign API · All Hanzo APIs · Interactive reference

How is this guide?

On this page