Vault

Add a document to the vault

Uploads a personal ID or financial document (payslip, RIB, KBIS, passport) to the per-user vault. The declared mime_type is re-checked against the file magic bytes. iFillPDF can later reuse it to pre-fill forms.

post/api/v1/vault/documents

Request

  • Base URL: https://www.ifillpdf.com
  • URL: https://www.ifillpdf.com/api/v1/vault/documents
  • Auth: HTTP bearer

Request body

file_base64string required

Base64-encoded file bytes.

file_namestring required
mime_type'application/pdf' | 'image/jpeg' | 'image/png' | 'image/webp' | 'image/heic' required

Re-checked against the file magic bytes.

labelstring

Response

Vault document stored.

Changes

No recorded changes to this operation across all 1 revision of this API.