eSignatures API
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Archive envelope
AI Tools
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Connect to Cursor
Connect to VS Code
The Yoti Sign API has an ‘archive’ function. This allows senders to cancel an envelope that has been sent for signing, but has not yet been signed by all recipients. The envelope will then no longer be available for signing.
HTTP
Sandbox:PATCH https://demo.api.yotisign.com/v2/envelopes/<envelopeId>HTTP
Production:PATCH https://api.yotisign.com/v2/envelopes/<envelopeId>The Archive Envelope endpoint returns a status code of 204 if successful.
Example code
Javascript
Java
PHP
C#
Go
x
const rp = require("request-promise");const archiveEnvelope = () => { const request = { method: "PATCH", uri: "<BASE_URL>/v2/envelopes/<envelopeId>", headers: { authorization: "Bearer <API_KEY>", }, }; return rp(request) .then((body) => body) .catch((err) => err);};//send requestlet result = await archiveEnvelope();Error codes
If the request is unsuccessful a response code and a message will be sent
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
Delete EnvelopeGot a question? Contact us here.
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message