---
title: "Make an item: a type, its fields (a title at least) and an optional place (a status, and the item to sit after or before). Needs edit access."
method: POST
path: "/documents/{id}/items"
tags: ["Items"]
---

# Make an item: a type, its fields (a title at least) and an optional place (a status, and the item to sit after or before). Needs edit access.

`POST /documents/{id}/items`

## Request

- Base URL: `https://www.livediagram.app/api`
- URL: `https://www.livediagram.app/api/documents/{id}/items`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Owner-Id`

## Path parameters

- `id` string, required

## Query parameters

- `tabId` string

## Request body

- ItemCreate
  - `comments` union
    - string
    - number
    - boolean
    - ItemFieldValue[]
    - object
  - `fields` ItemFields, required
  - `id` string
  - `key` number
  - `place` ItemPlace
    - `after` string, nullable
    - `before` string, nullable
    - `status` string
  - `type` string, required
  - `votes` object

## Response `201`

Success.

- ItemResponse
  - `item` Item, required
    - `createdAt` number, required
    - `createdBy` ItemPerson, required
      - `color` string, required
      - `id` string, required
      - `name` string, required
    - `fields` ItemFields, required
    - `id` string, required
    - `key` number, required
    - `rank` string, required
    - `rev` number, required
    - `type` string, required
    - `updatedAt` number, required
    - `updatedBy` ItemPerson, required
      - `color` string, required
      - `id` string, required
      - `name` string, required
  - `rev` number, required

## Other responses

- `400`: Error.
- `401`: Error.
- `403`: Error.
- `404`: Error.
- `409`: Error.
- `410`: Error.
- `413`: Error.
- `429`: Rate limited. Back off and retry.

---

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