Get Selfie

URL Base:

  • UAT: https://api.cadastro.uat.unico.app.

  • Production: https://api.cadastro.unico.app.

GetSelfie

get

Endpoint to retrieve the selfie from the Unico process.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

Process ID.

Responses
200

Selfie obtained successfully.

application/json
get
/client/v1/process/{id}/selfie
GET /client/v1/process/{id}/selfie HTTP/1.1
Host: api.cadastro.uat.unico.app
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "fileContents": "/9j/4AAQSkZJRgABAQA[...]QkeQUjE",
  "contentType": "image/jpeg"
}

Errors

code
message
Description

3

process id is invalid

When the process id is invalid.

Last updated

Was this helpful?