Upload a new document
Header Parameters
A security token used to authenticate the API request.
Body Parameters
External document ID
Stringified JSON, array of Field schema objects. Note that string values cannot exceed 5000 characters.
File object
"/" separated path to the folder to contain the uploaded file. Will create the specified folder structure if it does not already exist.
Whether to run custom models on the uploaded document. Default is "false".
Response
Request has been accepted
Response Attributes
Represents the current status of the API request.
IN_PROGRESSREADYFAILEDEvisort document handler ID (string). GET /documents returns this same id as an integer.
Invalid request parameters
Response Attributes
Indicates any errors that occurred during the API request.
Access token is missing or invalid
Response Attributes
Indicates any errors that occurred during the API request.
Forbidden
Response Attributes
Indicates any errors that occurred during the API request.
Internal/Unexpected Error
Response Attributes
Indicates any errors that occurred during the API request.