Document lifecycle
Beyond creating and tracking, you can perform operations throughout the document's life: cancel, refuse, submit a new version or delete.
Cancel document
To cancel a document, send the document ID in a POST request with the reason field:
POST /api/documents/b12cb1b2-5d6e-40b2-a050-097d068c4c11/cancellation
{
"reason": "This is a document cancellation"
}
Examples on GitHub: C# · Java · PHP · Node.js
Refuse a document
To refuse a document, send the document ID in a POST request with the reason field:
POST /api/documents/b12cb1b2-5d6e-40b2-a050-097d068c4c11/refusal
{
"reason": "This is a document refusal"
}
Examples on GitHub: C# · Java · PHP · Node.js
Submit a new document version
It is possible to upload a new version of an already created document. To do so, send the document ID in a POST request along with the new version's file.
caution
When submitting a new version, the signing flow is reset.
Examples on GitHub: C# · Java · PHP · Node.js
Delete document
To delete a document, you need its ID and make a DELETE request:
DELETE /api/documents/b12cb1b2-5d6e-40b2-a050-097d068c4c11