Products

Trustfull Document

Changed on

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

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

Headers

acceptstring
x-api-keystring required
Example:[your-api-key]

Request body multipart/form-data

request_idstring 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.

filestring 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_idModelId (unresolved $ref)

Response

OK

statusstring
urlstring
messagestring

Example response

{
  "status": "ok",
  "url": "https://api-staging.fido.id/1.0/document/your_request_id",
  "message": "The request is still being processed"
}

Changes