---
title: "Trustfull Document"
method: POST
path: "/document"
tags: ["Products"]
---

# Trustfull Document

`POST /document`

## Request

- Base URL: `https://api.fido.id/1.0`
- URL: `https://api.fido.id/1.0/document`
- Auth: none declared. Required headers: `x-api-key`

Trustfull Document — submit a single document file for image-quality analysis. Multipart upload. Single-shot per request_id.

## Headers

- `accept` string
- `x-api-key` string, required

## Request body `multipart/form-data`

- HubRequestDocument: Multipart/form-data payload for /document — file upload + form fields. Content-Type must be multipart/form-data.
  - `request_id` string, required: A unique identifier for this document submission. Document is single-shot per request_id — a second submission with the same request_id is rejected.
  - `file` string, binary, required: The document to analyse (max 4 MiB). The content type is sniffed server-side; accepted types are application/pdf, image/jpeg, image/png, image/webp.
  - `model_id` ModelId (unresolved $ref)

## Response `200`

OK

- AsyncDocument: Document
  - `status` string
  - `url` string
  - `message` string

## Changes

- **2026-11-03** `be8ae1d26648`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/trustfull/apis/products/changes/document/post.md)

---

[API](https://skmtc.dev/trustfull/apis/products.md) - [All operations](https://skmtc.dev/trustfull/apis/products/llms.txt) - [OpenAPI document](https://skmtc.dev/trustfull/apis/products/revisions/be8ae1d26648?raw)
