v53

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-07186533829.2 KB
product:chat

Import block list items

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.

post/blocklists/{id}/import

Path parameters

idstring required

Request body

chunk_sizeinteger
itemsstring[] required

Response

Response

durationstring required

Duration of the request in milliseconds

task_idstring required