# Add an artwork to a collection by name

`POST` `https://streetartcities.com/api/collections/named/{collectionName}/items`

Handy for collections everyone has, like `Seen`. Creates the collection the first time it's used.

## Path parameters

- **collectionName** `string` — required
  For example `Seen`

## Request body

- **id** `string` · min length: 1 — required
  The artwork's (marker's) id
- **thumbnail** `string` · uri
  A link to a small image of it

## Requirements

Needs an [access token](/authentication/tokens/). When using OAuth, the token needs the [`collections:write`](/authentication/scopes/) scope.

## Responses

### `200` Added

- **ok** `boolean` · const: true — required

### `400` Invalid request

- **error** `object` — required
  - **message** `string` — required
  - **details** `array any[]`

### `401` Not logged in, or not your collection

- **error** `object` — required
  - **message** `string` — required
  - **details** `array any[]`

### `403` The app doesn't have the scope for this

- **error** `object` — required
  - **message** `string` — required
  - **details** `array any[]`

### `404` Not found

- **error** `object` — required
  - **message** `string` — required
  - **details** `array any[]`
