The method adds the image to the existing task or creates a new task for the image. This task is not passed for processing until the processDocument or processFields method is called for it.

Customize the following request URL according to your application processing location:

[POST] https://<PROCESSING_LOCATION_ID>.ocrsdk.com/v2/submitImage

The image file is transmitted in the request body. See the list of supported input formats.

Parameters

Parameter Is required Default value Description
taskId No "", in this case a new task is created for the image Specifies the identifier of the task. If the task with the specified identifier does not exist or has been deleted, an error is returned.
pdfPassword No "" Contains a password for accessing password-protected images in PDF format.

Status codes and response format

General status codes and response format of the method are described in HTTP Status Codes and Response Formats.