HomeAge Verification HeadlessAI Services for TerminalsAge Estimation VerifySupportTrust APIIdentity Verification LivenessDigital IDIdentity verificationDigital ID MigrationDBS RTWDigital IDDBS/RTW portaleSignaturesAge verificationAge estimationIn-Branch VerificationAge Estimation v2idv-portal-errorsIdentity ProfilesVerifiable Credentialssandbox-betaIdentity Verification APIAI Services APITrust APIProof of Age (PoA) API
eSignatures
v9.0
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?
Get documents
AI Tools
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Connect to Cursor
Connect to VS Code
Once signed, a full copy of the completed document can be obtained in a zip file by calling the 'completed document' endpoint. This will include the files uploaded, a coversheet and a XML signature for a fully signed envelope.
HTTP
Sandbox:GET https://demo.api.yotisign.com/v2/envelopes/<envelopeId>/completed-documentsHTTP
Production:GET https://api.yotisign.com/v2/envelopes/<envelopeId>/completed-documentsWhere envelopeID is the ID generated when creating the envelope request. this will be in the response body of the create envelope request.
Header explained
The following elements are needed:
| Headers | Content |
|---|---|
| Content-Type | application/json |
| Authorization | API Key to call the Yoti Sign API. This should be sent as a bearer token. |
Example code
Javascript
Java
PHP
Go
x
const rp = require("request-promise");const fs = require("fs");const getDocuments = () => { const documents = { method: "GET", uri: "<BASE_URL>/v2/envelopes/<envelopeId>/completed-documents", headers: { authorization: "Bearer <API_KEY>", }, encoding: null, }; return rp(documents) .then((body) => fs.writeFileSync("example.zip", body)) .catch((err) => err);};//send requestlet results = await getDocuments();If your GET request is successful, you will receive a zip file with the documents inside.
Good to know
You will need to wait for all recipients to sign the documents before you can make this request
Error codes
| Error Code | Description |
|---|---|
| 400 | Bad Request or invalid payload |
| 401 | Unauthorised request, example: invalid API key |
| 403 | Forbidden, requesting user did not create the envelope |
| 404 | The envelope ID couldn’t be found |
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:
Archive 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