Upload a file for OCR

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Headers

x-monite-versionstringRequired
x-monite-entity-idstringOptional
The ID of the entity that owns the requested resource.

Query parameters

document_typeenumOptional
Allowed values:

Request

This endpoint expects a multipart form containing a file.
filefileRequired

Response

OCR task has been accepted for execution.
idstringformat: "uuid"
created_atdatetime
updated_atdatetime
statusenum
Allowed values:
document_typeenum
Allowed values:
recognized_dataobject

Errors

400
Post OCR Tasks Upload from File Request Bad Request Error
401
Post OCR Tasks Upload from File Request Unauthorized Error
413
Post OCR Tasks Upload from File Request Content Too Large Error
415
Post OCR Tasks Upload from File Request Unsupported Media Type Error
422
Post OCR Tasks Upload from File Request Unprocessable Entity Error
429
Post OCR Tasks Upload from File Request Too Many Requests Error