---
title: "Upload a selfie with external unique person identifier"
method: POST
path: "/enroll/{externalUniquePersonIdentifier}"
tags: ["Enrolment"]
---

# Upload a selfie with external unique person identifier

`POST /enroll/{externalUniquePersonIdentifier}`

## Request

- Base URL: `https://verification.trulioo.com`
- URL: `https://verification.trulioo.com/enroll/{externalUniquePersonIdentifier}`
- Auth: HTTP bearer

Submit one or more selfies in Base64 encoding for enrolment, attaching a unique identifier with context in a system external to Trulioo. It accepts images in PNG and JPG format and PDF files.

## Path parameters

- `externalUniquePersonIdentifier` string, required

## Headers

- `Accept-Version` string, required

## Request body

- object
  - `selfies` string[]: List of strings, which are images in Base64 encoding. Only one is read for now, but multiple image input will be allowed in the future.

## Response `200`

Enrolled selfie

- EnrollResponse
  - `uniquePersonIdentifier` string, uuid: Unique person identifier.
  - `externalUniquePersonIdentifier` string: Unique person identifier for use in a system external to Trulioo.
  - `enrolmentResults` object: Array of results, one for each submitted selfie.
    - `result` 'SUCCESS' | 'FAILURE': Result of this selfie's enrolment operation.
    - `livenessScore` integer: Liveness score of this selfie.
    - `errorList` string[]: List of errors that occurred with this selfie's enrolment operation.

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `500`: Internal Server Error

---

[API](https://skmtc.dev/trulioo/apis/kyc-document-api.md) - [All operations](https://skmtc.dev/trulioo/apis/kyc-document-api/llms.txt) - [OpenAPI document](https://skmtc.dev/trulioo/apis/kyc-document-api/revisions/53a65736c9f8?raw)
