# Add an artwork

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

Adding an artwork that's already there does nothing.

## Path parameters

- **collectionId** `string` — required

## 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[]`
