---
title: "Add an item to a sequence"
method: POST
path: "/v1/sequences/{sequence_id}/items/"
---

# Add an item to a sequence

`POST /v1/sequences/{sequence_id}/items/`

## Request

- Base URL: `https://app.iconik.io/API/assets`
- URL: `https://app.iconik.io/API/assets/v1/sequences/{sequence_id}/items/`
- Auth: none declared. Required headers: `App-ID`, `Auth-Token`
- TypeScript: <https://skmtc.dev/iconik/apis/iconik-assets/docs/v1/sequences/:sequence_id/items/post.ts> (a function with typed inputs; its response is checked against the schema)

Required roles:
 - can_add_sequence_items

## Path parameters

- `sequence_id` string, required

## Headers

- `App-ID` string, required
- `Auth-Token` string, required

## Request body

- SequenceItemSchema
  - `id` string, uuid
  - `object_id` string, uuid, required
  - `object_type` 'assets' | 'collections', required
  - `position` integer: Position of the item in the sequence.If not provided, the item will be appended to the end of the sequence
  - `version_id` string, uuid

## Response `201`

Returns a created item

- SequenceItemSchema
  - `id` string, uuid
  - `object_id` string, uuid, required
  - `object_type` 'assets' | 'collections', required
  - `position` integer: Position of the item in the sequence.If not provided, the item will be appended to the end of the sequence
  - `version_id` string, uuid

## Other responses

- `400`: Bad request
- `401`: Token is invalid
- `404`: Sequence does not exist
- `default`: Error response

---

[API](https://skmtc.dev/iconik/apis/iconik-assets.md) - [All operations](https://skmtc.dev/iconik/apis/iconik-assets/llms.txt) - [OpenAPI document](https://skmtc.dev/iconik/apis/iconik-assets/revisions/62580d9e640e?raw)
