Documents

Import source batch ids from a CSV

Changed on

Sets the source batch id on existing documents from a CSV upload (file, up to 20 MB). Answers how many documents were updated and which named ones were not found. 403 for a person whose document visibility a rule narrows, because the import matches against every document of the workspace. Requires the documents:write scope. The key's person must be an Admin of the workspace, as in the web app; in a workspace whose model configuration Talonic manages this answers 403 insufficient_role.

post/v1/documents/batch-metadata/import

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Request body multipart/form-data

object required
file, string binary required

CSV with a header row.

Response

OK

object required
updated, integer
not_found, string[]

Changes