---
title: "Import list items"
method: POST
path: "/checklists/{checklist_id}/import.{format}"
tags: ["List items"]
---

# Import list items

`POST /checklists/{checklist_id}/import.{format}`

Imports list items (in the format supported by Checkvist's import function),
organised into a hierarchy according to the input. Items are added to the
beginning of the target list. Returns the created items.

When OPML is imported into a list that has no items — an empty list, or any list
imported with `replace_existing=true` — the list is renamed to the OPML
`/opml/head/title`. The list's tags are also taken from that title: `#tags` in it
replace the list's current tags, and a title without `#tags` leaves the list untagged.

Large imports are slow: allow at least a minute for the request to return, and
do not retry it before then — a retry can import the same items twice.

Files can be attached to the import by sending the request as
`multipart/form-data` and adding one file part per attachment, named
`add_files[1]`, `add_files[2]`, … . All the files are attached to the **first** imported item. Attachments
require a PRO account and available upload space; for non-PRO users the files
are silently ignored and the items are still imported.

## Path parameters

- `checklist_id` string, required
- `format` 'json' | 'xml', required

## Response `200`

The created list items.

- Task[]
  - `id` integer
  - `content` string — Task content.
  - `status` 0 | 1 | 2 — 0 - open, 1 - closed, 2 - invalidated.
  - `checklist_id` integer — Containing checklist ID.
  - `parent_id` integer — Parent task ID. Empty for root-level items in XML, or 0 in JSON.
  - `comments_count` integer — Number of notes for this item.
  - `position` integer — 1-based position under its parent.
  - `priority` integer — (JSON only) Optional task priority, 1..9.
  - `due` string — Due date, when set.
  - `deleted` boolean — Present (and `true`) only in the representation of a just-deleted item.
  - `assignee_ids` integer[] — (JSON only) IDs of the item's assignees.
  - `tasks` integer[] — (JSON only) Child task IDs.
  - `tags` object — (JSON only) Map of tag name => isPrivate. When modifying an item, both a map and a comma-separated string of tag names are accepted.
  - `tags_as_text` string — (JSON only) Comma-separated list of tag names. Also accepted when modifying an item.
  - `update_line` string — (JSON only) Text describing the last change, e.g. 'updated by kir'.
  - `updated_at` string — (JSON only) Time of the last change. See **Timestamp format** in the introduction.
  - `created_at` string — (JSON only) When the item was created. See **Timestamp format** in the introduction.
  - `notes` Note[] — Present when `with_notes` is set.
    - `id` integer
    - `comment` string — Note text.
    - `task_id` integer — Containing task ID.
    - `user_id` integer — ID of the user who added the note.
    - `username` string — Username of the user who added the note.
    - `updated_at` string — Time of the last change. See **Timestamp format** in the introduction.
    - `created_at` string — Time the note was created. See **Timestamp format** in the introduction.

## Changes

- **2026-08-27** `53311ff6aaab` — 2 warning, 1 info
  - removed the request property `add_files[1]`
  - removed the request property `add_files[2]`
  - added the media type `multipart/form-data` to the request body

[Change history](https://skmtc.dev/checkvist/apis/checkvist-open-api/changes/checklists/:checklist_id/import.:format/post.md)

---

[API](https://skmtc.dev/checkvist/apis/checkvist-open-api.md) · [All operations](https://skmtc.dev/checkvist/apis/checkvist-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/checkvist/checkvist-open-api/revisions/53311ff6aaab/schema)
