product:chat
Import block list items
Changed onEnqueues 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
Request
- Base URLhttps://chat.stream-io-api.com
- URLhttps://chat.stream-io-api.com/blocklists/{id}/import
- Auth
- API key in header Authorization and API key in query parameter api_key and API key in header Stream-Auth-Type
- or API key in query parameter api_key and API key in header Stream-Auth-Type
Path parameters
idstring required
Request body
Response
Response
Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- info
endpoint added
- info