Documents

Tag many documents at once

Changed on

Adds, removes or sets tags on up to 1000 documents. Tags the documents the key's person may classify; the others (hidden, missing, or on access scopes held by someone else) are listed in refused and answer status: refused without their tags, and nothing changes on them. Answers each tagged document's resulting tags and the id of the audit event recorded for the change. 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.

patch/v1/documents/batch-tag

Request

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

Request body

object required
document_ids, string[] required
tags, string[] required
mode, 'add' | 'remove' | 'set'

Response

OK

object required
updated, integer
mode, string
tags, string[]
refused, string[]
results, object[]
audit_event_id, string nullable

Changes

    • warning

      added the new refused enum value to the results/items/status response property for the response status

    • info

      added the optional property refused to the response with the status

    • info

      endpoint added