GetSelfie

In this section, you will find instructions on how to obtain the selfie from a process in by Unico via the REST API


Introduction


In this section, you will find detailed documentation on how the Get User Selfie endpoint works in by Unico. This endpoint will provide the user's selfie, with a watermark, from completed processes, allowing you to use it as support in cases of disputes by the user.

Getting started


Your API requests are authenticated using an access token. Any request that does not include a valid access token will return an error.

You can learn more about generating an access token here.


Obtaining User Selfie


GetSelfie

get

Endpoint to retrieve the selfie from the Unico process.

Path parameters
idstringRequired

Process ID.

Query parameters
rawbooleanOptional

Optional flag to return the raw selfie file.

Example: true
Responses
200
Selfie obtained successfully.
application/json
get
GET /client/v1/process/{processId}/selfie HTTP/1.1
Host: api.cadastro.uat.unico.app
Accept: */*
{
  "fileContents": "/9j/4AAQSkZJRgABAQA[...]QkeQUjE",
  "contentType": "image/jpeg"
}

Still need help?

Didn't find something or still need help? If you're already a client or partner, you can reach out through our Help Center.

Last updated

Was this helpful?