---
title: "Validate and process a document image via session (mobile)"
method: POST
path: "/api/v1/verify/session/{id}/validate-document"
tags: ["Verification"]
---

# Validate and process a document image via session (mobile)

`POST /api/v1/verify/session/{id}/validate-document`

## Request

- Base URL: `https://api.tuteliq.ai`
- URL: `https://api.tuteliq.ai/api/v1/verify/session/{id}/validate-document`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`

Per-step document validation for the cross-device flow. Checks image quality, then runs the document work (text extraction, face template) so that the submit step does not need the document image again: the session carries the result, never the image, until the session is submitted, cancelled, or expires. Send `side` (`front`, `back` or `passport`) and `document_type` as form fields ahead of the file. `retained: false` means the document was not held (encryption unavailable, or the document could not be processed) and must be included in the submit. Free, no credits consumed.

## Path parameters

- `id` string, required

## Response `200`

Default Response

- object
  - `valid` boolean
  - `quality` 'good' | 'poor' | 'invalid'
  - `issues` string[]
  - `retained` boolean

---

[API](https://skmtc.dev/tuteliq/apis/tuteliq-api.md) · [All operations](https://skmtc.dev/tuteliq/apis/tuteliq-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tuteliq/apis/tuteliq-api/revisions/8490332e0031?raw)
