Delete a document
Removes the document, its files, the people on it and its activity record. Refused while it is out for signing or while its finished PDF is being made; cancel it first.
A finished document still verifies after it is deleted:
Check a finished document
answers found: true with deleted: true.
Permission: signing:manage @ 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.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/signing/requests/sZG0nWcpWKBF7zT8CqcN?workspaceId=ws_a1b2c3"{ "success": true}Get a document GET
The document, everyone on it, and the values you filled in before sending. Signer links are never part of this response. **Permission:** `signing:read` @ `workspace/{workspaceId}/signingRequest/{signingRequestId}`
Change a draft PUT
Changes a document that has not been sent. A draft saves what you send even when it is incomplete; every check runs when it is sent. `roles` and `fields` change this document only, never its template, and must be sent together, with `baseVersion` (the document's `layoutVersion` when you read it). If someone saved them since, the answer is 409 and nothing is saved. When they fail the check, the 400 lists every problem in `issues`. `prefills` are values you fill in for the signer, by `fieldId`; the signer sees them filled and read only, unless the field is in `prefillEditable`. **Permission:** `signing:send` @ `workspace/{workspaceId}/signingRequest/{signingRequestId}`, plus `contact:read` @ `workspace/{workspaceId}` when any signer is a CRM contact.