---
title: "Add an item to a collection; adding one already there changes nothing."
method: POST
path: "/v1/workspaces/{ws}/collections/{collectionId}/items"
tags: ["collections"]
---

# Add an item to a collection; adding one already there changes nothing.

`POST /v1/workspaces/{ws}/collections/{collectionId}/items`

## Request

- Base URL: `https://api.storequant.com`
- URL: `https://api.storequant.com/v1/workspaces/{ws}/collections/{collectionId}/items`
- Auth: HTTP bearer

Add an item to a collection; adding one already there changes nothing. Scope `collections:write`; cache `none`.

## Path parameters

- `ws` string, required
- `collectionId` string, uuid, required

## Request body

- object
  - `item_type` 'brand' | 'ad' | 'creative' | 'landing_page', required
  - `item_key` string, required
  - `snapshot` object, nullable
    - `title` string, nullable, required
    - `thumb` string, nullable, required
    - `video` string, nullable, required
    - `brand_slug` string, nullable, required

## Response `201`

Success.

- object
  - `data` object, required
    - `id` string, uuid, required
    - `name` string, required
    - `description` string, nullable, required
    - `visibility` 'workspace' | 'private', required
    - `editor_ids` string[], required
    - `parent_id` string, uuid, nullable, required
    - `created_by` string, required
    - `items` object[], required
      - `item_type` 'brand' | 'ad' | 'creative' | 'landing_page', required
      - `item_key` string, required
      - `snapshot` object, nullable, required
        - `title` string, nullable, required
        - `thumb` string, nullable, required
        - `video` string, nullable, required
        - `brand_slug` string, nullable, required
      - `added_by` string, required
      - `created_at` string, date-time, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
  - `meta` object, required
    - `request_id` string, required
    - `as_of` string, date-time, required
    - `lag_hours` number
    - `cursor` string
    - `count` integer

## Other responses

- `4XX`: The one error shape.
- `5XX`: The one error shape.

---

[API](https://skmtc.dev/scrollstash/apis/storequant-api.md) · [All operations](https://skmtc.dev/scrollstash/apis/storequant-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scrollstash/apis/storequant-api/revisions/4d67a114a13c?raw)
