curl -u admin:admin -X POST http://localhost:9000/api/import/subscribers -F 'params={"mode":"subscribe","delim":",","lists":[1]}' -F 'file=@subs.csv'

Category: Listmonk & Newsletters

curl -u admin:admin -X POST http://localhost:9000/api/import/subscribers -F 'params={"mode":"subscribe","delim":",","lists":[1]}' -F 'file=@subs.csv'

Bulk import subscribers from a CSV file

Uploads subs.csv as a multipart form with a params JSON string controlling the import: mode subscribe or blocklist, the CSV delimiter, and the target list ids. The CSV needs email and name columns. Poll GET /api/import/subscribers/logs to watch progress.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.