---
title: "Add contents to a collection"
method: POST
path: "/collections/{coluuid}"
tags: ["collections"]
---

# Add contents to a collection

`POST /collections/{coluuid}`

This endpoint adds already-pinned contents (that have ContentIDs) to a collection.

## Path parameters

- `coluuid` string, required

## Query parameters

- `dir` string
- `overwrite` string

## Request body

- integer[]

## Response `200`

OK

- string

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

## Changes

- **2023-01-04** `fa8cd2301bf1` — 1 info
  - added the new optional `query` request parameter `overwrite`
- **2022-11-23** `280d11cb33af` — 1 info
  - added the new optional `query` request parameter `dir`
- **2022-11-07** `c03ca04ba831` — 2 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `500`
- **2022-11-07** `02272f8e48e5` — 2 info
  - removed the non-success response with the status `400`
  - removed the non-success response with the status `500`
- **2022-11-03** `1f1ec6607867` — 2 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `500`

[Full history](https://skmtc.dev/application-research/apis/estuary-api/changes/collections/:coluuid/post.md)

---

[API](https://skmtc.dev/application-research/apis/estuary-api.md) · [All operations](https://skmtc.dev/application-research/apis/estuary-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/application-research/estuary-api/revisions/b9ae518bf64b/schema)
