Skip to main content

What are Documents?

Documents represent the identity files that an applicant provides during verification. The Identity API supports two types of documents: Each document can be used standalone (for direct API-based verification) or within a session (as part of a full verification flow).

Document IDV (document/idv)

A document/idv represents a government-issued identity document. When processed through a verification, the system extracts personal data (name, date of birth, document number, etc.) and runs authenticity checks.

Creating a Document IDV

The response includes presigned upload URLs for uploading document images:

Adding Files to a Document

Upload document images by adding files:
This returns a presigned URL you can use to upload the actual file:
For two-sided documents (e.g., driver’s licenses), add both front and back images as separate files.

Document IDV Statuses

Extracted Data

After processing through a verification, the document is enriched with extracted data:
  • Personal info: Name, date of birth, birth place, sex, nationality
  • Document details: Document number, type, class, issue/expiry dates, issuing authority, issuing country
  • Address: Full address extracted from the document
  • Images: Cropped front side, back side, portrait photo, and signature images

Document Address (document/address)

A document/address represents a proof of address document. The flow is similar to document/idv:
After adding files, submit the document for processing:

Standalone Documents

Documents can be created without a session. This is useful when you want to verify a document through the API without the full session-based flow:
You can then use the Verifications API to run checks against the document. See Running a Document Verification for a complete walkthrough.

File Requirements

  • Supported formats: JPEG, PNG
  • Recommended resolution: At least 300 DPI for best extraction accuracy
  • File size: Maximum 10MB per file
  • Quality tips:
    • Ensure the entire document is visible with no cropping
    • Avoid glare, shadows, and blurriness
    • Place the document on a contrasting background

Next Steps

Once your documents are uploaded, run a verification to check their authenticity and extract identity data.