Withdraw a sent document
Withdraw (cancel) a document that has been sent out for signing. The document is returned to DRAFT status and signers are notified.
Status Requirements:
- Document must be in
PENDINGorSENDINGstatus. UseDELETE /api/v1/documents/{id}for documents inDRAFT, and the approval cancel endpoint forPENDING_APPROVAL.
Permissions:
- Requires the
EDIT_DOCUMENTworkspace permission.
Request Body:
reason(optional) - Free-text reason. Included in withdrawal emails to signers and stored on the audit log.
What happens when you withdraw:
- Document status is set back to
DRAFT - Any existing signatures and signer verifications are removed
- Each signer’s signing/sending/read status is reset
- Pending signing reminders are cancelled
- A withdrawal email is sent to every signer that had been notified
- The
document.withdrawnwebhook is triggered
Documentation Index
Fetch the complete documentation index at: https://docs.sajn.se/llms.txt
Use this file to discover all available pages before exploring further.
Headers
Bearer token for API authentication
Path Parameters
Body
Body
Withdraw a sent document. Returns the document to DRAFT status, removes any signatures, and notifies signers via email.
Optional reason for withdrawing the document. Included in notification emails to signers and the audit log.
Response
200
Unique document identifier
Document name/title
Document status: DRAFT, SENDING, PENDING, COMPLETED, EXPIRED, CANCELLED, or IMPORTED
Date and time when the document was created
Date and time when the document was last updated
Your external reference ID for this document
Date and time when the document expires
Document metadata including subject, message, signing order, etc.
Date and time when all signers completed signing

