v1

latestOpenAPI 3.1.0Apache 2.02026-07-24113269342.0 KB
Document capture

Add document V3

Upload document image gathered and store data.

post/omni/add/document/v3

Query parameters

type'signature' | 'document' | 'medicalDoc' | 'thirdId' | 'contract' | 'v5cMultiPageLogbook' | 'carInvoice' | 'financeSettlement' required
  • signature: Upload user's digital signature. This can be later fetched in get images endpoint.
  • document: Upload user's proof of address document. This can be later fetched in get images endpoint.
  • addressStatement: (Legacy) Upload user's proof of address document. Used for backward compatibility. Use type 'document' instead.
  • medicalDoc: Upload user's medical document.
  • thirdId: Upload user's third ID.
  • contract: Upload contract image.
  • v5cMultiPageLogbook: Upload single page (image) of V5C logbook multi page document.
  • carInvoice: Upload single page (image) of two pages car invoice document.
  • financeSettlement: Upload single page (image) of two pages finance settlement letter.
titlestring

Only if type is contract. Title of contract.

format'image' | 'pdf'

Only if type is document. Possible values are image (jpg and png supported) or pdf. Default is image.

processingMethod'sync' | 'async'

Only applicable for some documents. Possible values are sync and async. Default is sync.

Headers

api-versionstring required

Request body

base64Imagestring

Image in base64 format. One of base64Image or imageUrl is required

imageUrlstring

URL of the image. One of base64Image or imageUrl is required

Example request

{
  "base64Image": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEB...",
  "imageUrl": "http://..."
}

Response

OK

status'SUCCESS' | 'PROCESS_DOC_ERROR' | 'SESSION_ERROR' | 'ADD_NEXT_PAGE' | 'OPTIONAL_PAGE_CAPTURE' | 'CLASSIFICATION_ERROR' | 'MULTI_PAGE_CLASSIFICATION_ERROR' | 'V5C_REGISTRATION_NUMBER_MISMATCH' | 'V5C_REFERENCE_NUMBER_MISMATCH' | 'V5C_NUMBER_MISMATCH' | 'FSL_AGREEMENT_REFERENCE_MISMATCH' | 'FSL_NAME_MISMATCH' | 'MANDATORY_FIELD_MISSING' | 'UNSUPPORTED_PAGE_NUMBERS' | 'VALIDATION_ERROR' | 'UNEXPECTED_ERROR' | 'FINALIZE_ERROR_NO_PAGES' | 'UNSUPPORTED_MP_DOCUMENT_TYPE'

AddDocumentStatus