Submit a task
POST/tasks
Submit a new document for processing.
This will return various fields, including the URL to which you should push the document for processing. This approach ensures the highest level of security by allowing you to upload the document directly to AWS S3 without any intermediaries.
Request
Header Parameters
Request signature (see the authentication section).
- application/json
Body
required
Possible values: [pdf
, xlsx
, xls
, xlsm
, doc
, docx
, ppt
, pptx
]
Type extension of file to be uploaded
Name of file to be uploaded
Possible values: non-empty
Name of the company which is the subject of this document
Responses
- 200
- 400
- 403
- 404
- 500
Successful query.
- application/json
- Schema
- Example (from schema)
Schema
Possible values: Value must match regular expression [a-f0-9]{8}
Job ID for the new task
Possible values: Value must match regular expression ^https://
Upload URL for the file to process
{
"jobid": "string",
"url": "string"
}
Bad request. It is likely that some parameters are missing, or are of the wrong type.
Unauthorised. You credentials are valid, but you are not allowed to perform this operation.
Not found. The resource (e.g. task) does not exist.
Server-side error. Please retry later or contact us for more information.