---
title: "Import block list items"
method: POST
path: "/blocklists/{id}/import"
tags: ["product:chat"]
---

# Import block list items

`POST /blocklists/{id}/import`

Enqueues an asynchronous bulk import of items into an existing blocklist.
Returns a task ID that can be polled via GET /tasks/{id} to observe progress.
AddItems is idempotent: items already present are skipped without error.
For lists exceeding the HTTP request-body cap, issue repeated import calls each
carrying a bounded slice of items — the task result accumulates correctly.

## Path parameters

- `id` string, required

## Request body

- ImportBlockListRequest, nullable
  - `chunk_size` integer
  - `items` string[], required

## Response `201`

Response

- ImportBlockListResponse, nullable — Basic response information
  - `duration` string, required — Duration of the request in milliseconds
  - `task_id` string, required

## Other responses

- `400` — Bad request
- `429` — Too many requests

---

[API](https://skmtc.net/getstream/apis/stream-api.md) · [All operations](https://skmtc.net/getstream/apis/stream-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getstream/stream-api/versions/3dba86aaa0d8/schema)
