submitImage Method

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:


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


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.

The following status codes can be returned when this method is called:

Code Description
200 Successful method call.
450 Incorrect parameters have been passed. One of the following errors occurred:
  • Image file has not been specified.
  • The task with the specified identifier has been deleted.
  • There is no task with the specified identifier.
  • Incorrect password for accessing password-protected image file has been specified.
  • Exceeded quota to add images. This error is returned if the number of images you have uploaded exceeds the number of images you can process with the credits available on your account plus some threshold. You can resolve this issue by topping up your account or by removing the tasks which have been submitted but have not been processed.
550 An internal program error occurred while processing the image.
551 An error occurred on the server side:
  • The format of the image file passed for processing is not supported.
  • The PDF file passed for processing has restrictions on creating raster images.

Have more questions? Submit a request



Please sign in to leave a comment.