
Listmonk Has a Free API: Self-Hosted Newsletter and Email Marketing Platform
What is Listmonk? Listmonk is a self-hosted newsletter and mailing list manager — an alternative to Mailchimp, ConvertKit, and Buttondown. Send transactional and marketing emails to millions of subscribers from your own server. Free. Unlimited subscribers. Unlimited emails. Quick Start mkdir listmonk && cd listmonk curl -sL https://github.com/knadh/listmonk/releases/latest/download/docker-compose.yml -o docker-compose.yml docker compose up -d ./listmonk --install Open http://localhost:9000 — admin: listmonk / listmonk . The REST API export LM_URL = "http://localhost:9000/api" # Uses Basic Auth export LM_AUTH = "listmonk:your-password" Subscribers # Add subscriber curl -X POST " $LM_URL /subscribers" \ -u " $LM_AUTH " \ -H "Content-Type: application/json" \ -d '{ "email": "user@example.com", "name": "Alice Johnson", "status": "enabled", "lists": [1], "attribs": {"plan": "pro", "source": "website"} }' # List subscribers curl -s " $LM_URL /subscribers?page=1&per_page=50" \ -u " $LM_AUTH "
Continue reading on Dev.to Tutorial
Opens in a new tab



