Get Document Signed
Endpoint to retrieve the signed document in PDF format. Only for flows with electronic signature.
Document ID.
Signed document obtained successfully.
PDF file generated by the system.
Error in access-token.
Not Found.
Internal Server Error.
GET /api/v1/service/file/{documentId} HTTP/1.1
Host: signhom.acesso.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
binaryExample of a generated document:

If the return of the signed document via by Unico is delayed in processing, we recommend waiting at least one minute after the process is completed before performing the query. Additionally, it is important to set up an automatic retry policy for cases where the signed document is not yet available, such as making up to 10 attempts with intervals of 1 to 5 minutes between them.
Errors
No detailed error code will be provided for this situation, only the HTTP status code.
false
Failed to query the document file.
Document does not exist.
The provided document id does not exist
Last updated
Was this helpful?