---
title: "Upload a selfie"
method: POST
path: "/enroll"
tags: ["Enrolment"]
---

# Upload a selfie

`POST /enroll`

Submit one or more selfies in Base64 encoding for enrolment. It accepts images in PNG, WEBP, and JPG formats.

## 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.net/trulioo/apis/trulioo-platform-api.md) · [All operations](https://skmtc.net/trulioo/apis/trulioo-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/trulioo/trulioo-platform-api/revisions/a825565ee177/schema)
