Change the type of a document
Deprecated. Use Update document information (PUT /documents/{id}) instead — it now handles all document updates, including changing the document type. This endpoint is kept for backward compatibility and should not be used in new integrations.
Authentication
Path parameters
Request
Document type ID or alias (e.g., “invoice”, “receipt”, or a custom type ID from your environment)
Response
“Additional data to be added to each document. Must be an object
or an array of objects. If data to be specified to each document
is different, this parameter should have the following format:
[ \{ _filename: \<name of the file to which attach this data>, <key>: <value> }, ... \{ _filename: \<name of the file to which attach this data>, <key>: <value> } ].”
Indicates the document is marked as Ground Truth (GT)
Array of Azure Storage URLs (SAS) to access the document extracted images
Azure Storage URL (SAS) to access the original file