---
title: "Add documents to a collection"
method: POST
path: "/v1/collections/{id}/documents"
tags: ["Collections"]
---

# Add documents to a collection

`POST /v1/collections/{id}/documents`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/collections/{id}/documents`
- Auth: HTTP bearer

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.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `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 `201`

OK

- object

## Other responses

- `400`: The request is invalid.
- `401`: Missing or invalid API key.
- `403`: The API key does not have the required scope.
- `404`: The requested resource was not found.
- `429`: Daily rate limit exceeded.

## Changes

- **2026-11-30** `516fcac5eac1`: 1 info
  - added the new optional request property `move`
- **2026-11-26** `622d429de7ea`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/collections/:id/documents/post.md)

---

[API](https://skmtc.dev/talonic/apis/talonic-api.md) - [All operations](https://skmtc.dev/talonic/apis/talonic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/talonic/apis/talonic-api/revisions/9f6d53e2ab5e?raw)
