Collections

Add documents to a collection

Changed on

Adds documents by hand. Every id must be a document the key's person can see; a hidden one answers 404 and nothing is added. Requires the documents:write scope. The key's person must be an Admin of the workspace (the workspace permission), as in the web app.

post/v1/collections/{id}/documents

Request

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

Path parameters

id, string uuid required

Request body

object required
document_ids, string[] required
move, boolean

On an account: move documents that belong to another account into this one instead of refusing them (409). Ignored on a plain collection.

Response

OK

object required

Changes