Cancel a document
Stops a document that is out for signing, or a draft. Every link stops working. Refused once everyone has signed.
Permission: signing:send @ workspace/{workspaceId}/signingRequest/{signingRequestId}
Authorization
ServiceAccountKey A service account API key, sent whole as a bearer token:
hsk_<40 hex>.hss_<64 hex>.
In: header
Path Parameters
The document to act on. IDs come from List documents.
Query Parameters
The workspace the template or document belongs to. Send it in the query string on every call, including the PDF upload. IDs come from List workspaces.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/signing/requests/sZG0nWcpWKBF7zT8CqcN/void?workspaceId=ws_a1b2c3" \ -H "Content-Type: application/json" \ -d '{}'{ "success": true}Send a draft POST
Sends a draft. Every role needs a person and at least one field, the name must be set, and the sign-by date must be more than an hour away. All problems are returned in one sentence list. CRM contacts are read again now, so a changed address is used and a contact who opted out since the draft was saved is refused. The response carries each invited person's link in `invites`, and the link of each person in a later turn in `laterLinks` (made now, sent on their turn); **a link is a secret**. **Permission:** `signing:send` @ `workspace/{workspaceId}/signingRequest/{signingRequestId}`, plus `email:send` @ `workspace/{workspaceId}` (or `email:me:use` with the address assigned to you) to send from a workspace email address, and `phone:send` @ `workspace/{workspaceId}` to send text messages. The HumaDocs address (`[email protected]`) needs nothing more.
Download a document's PDF GET
The document's own copy of the PDF, before signing. For the signed result use [Download the finished PDF](/docs/api-reference/signing/finished-documents/downloadSigningResult). **Permission:** `signing:read` @ `workspace/{workspaceId}/signingRequest/{signingRequestId}`