VaultReprocess or reclassify a Vault document

Reprocess or reclassify a Vault document

Queues a Vault document for reprocessing or changes its document type.

Legacy note: this endpoint is maintained for existing V2 integrations. Prefer V3 for new API and agent workflows where an equivalent exists.

curl -X PATCH "https://api.textmine.com/v1/vaults/example_string/documents/example_string" \
  -H "accept: application/json" \
  -H "Authorization: ••••••" \
  -H "Cookie: JSESSIONID=566DE90B6F306CF64CC10FDEA33AB60C" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  --form documentType=order-form
{}
PATCH
/v1/vaults/{vaultId}/documents/{documentId}
PATCH
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

Bearer token - just enter the token, "Bearer" prefix will be added automatically

Content-Typestring
Required

The media type of the request body

Options: multipart/form-data
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Authentication token required.

Path Parameters

Headers

acceptstring
Example:
application/json
Authorizationstring
Example:
••••••

Body

multipart/form-data
documentTypestring
Example:
order-form

Responses

Successful response