Get Evidence Set
Endpoint to retrieve the evidence set from the identity verification process by Unico.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Process ID.
Responses
200
Evidence set obtained successfully.
application/json
400
When the process ID is invalid.
application/json
401
Access-token error.
application/json
404
When the process could not be found.
application/json
get
/client/v1/process/{processId}/evidencesetGET /client/v1/process/{processId}/evidenceset HTTP/1.1
Host: api.cadastro.uat.unico.app
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"fileContents": "JVBERi0xLjUNCiWDk[...]NCg==",
"contentType": "x-pdf"
}The evidentiary set is only available for completed processes.
Errors
code
message
Description
3
process id is invalid
When the process id is invalid.
code
message
Description
7
no permission
When the service account does not have permission to obtain the selfie
code
message
Description
5
error getting process: rpc error: code = NotFound desc = process not found
When the process id was not found
No detailed error code will be provided for this situation, only the HTTP status code.
code
message
Description
99999
Internal failure! Try again later
When there is some internal error.
Last updated
Was this helpful?