Get documents

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
Copy
HTTP
Copy

Where 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:

HeadersContent
Content-Typeapplication/json
AuthorizationAPI Key to call the Yoti Sign API. This should be sent as a bearer token.

Example code

Javascript
Java
PHP
Go
Copy

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 CodeDescription
400Bad Request or invalid payload
401Unauthorised request, example: invalid API key
403Forbidden, requesting user did not create the envelope
404The envelope ID couldn’t be found
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard