How It Works
Your custom website should treat Maito as the source of truth. Maito stores:- Published newsletter issues
- Issue slugs and public issue content
- Newsletter categories
- Subscribers
- The visual design
- The homepage and archive layout
- Individual issue pages
- Category pages
- The subscribe form experience
Give This Prompt To An AI Builder
Use this prompt when asking Cursor, v0, Lovable, Replit, Bolt, or another AI builder to create a custom newsletter website.API Overview
These are the main endpoints a custom newsletter website needs.| Need | Endpoint | Reference |
|---|---|---|
| Show the archive | GET /v1/newsletter/issues?status=sent&isPublic=true | List issues |
| Show one issue | GET /v1/newsletter/issues/by-slug/{issueSlug} | Get issue by slug |
| Show categories | GET /v1/newsletter/categories | List categories |
| Subscribe a reader | POST /v1/newsletter/subscribers | Create subscriber |
Subscribe Forms
A custom subscribe form should call your own backend first. Your backend should:- Validate the email address
- Optionally add rate limiting or CAPTCHA
- Set
optInAttestation: trueonly after the visitor submits the form - Call Maito with your server-side API key

