---
title: "コレクションにアイテムを追加"
method: POST
path: "/v1/collections/{collection_id}/items"
tags: ["collection"]
---

# コレクションにアイテムを追加

`POST /v1/collections/{collection_id}/items`

指定したコレクションに新しいアイテムを追加します。

## Path parameters

- `collection_id` integer, required

## Request body

- CreateCollectionItem
  - `link` string, required — オカズリンク (http, https)
  - `note` string — ノート
  - `tags` string[] — タグ

## Response `200`

成功

- CollectionItem
  - `id` integer, required — コレクションアイテムID
  - `collection_id` integer, required — コレクションID
  - `link` string, required — オカズリンク (http, https)
  - `note` string — ノート
  - `tags` string[] — タグ

## Other responses

- `422` — バリデーションエラー

## Changes

- **2023-12-15** `d78abb642299` — 1 info
  - endpoint added
- **2020-07-21** `be57ea2beb88` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/shikorism/apis/tissue-api/changes/v1/collections/:collection_id/items/post.md)

---

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