API Reference
Complete API documentation for Lumail.io integration
Welcome to the Lumail.io API documentation. Our REST API allows you to integrate email marketing capabilities into your applications.
v1 below is frozen. New integrations use API v2. Agents rewriting existing code should start at Migration to V2.
Machine-readable discovery
- OpenAPI 3.1 specification - Typed operations, parameters, request bodies, responses, and error schemas for code generators and function calling
- MCP server manifest - Canonical Streamable HTTP endpoint, OAuth discovery, and MCP documentation
- MCP server - OAuth-protected tools and readable developer resources
- llms.txt - Markdown index for agents and retrieval systems
- Authentication - Organization API token permissions and Bearer usage
- Webhooks and integrations - ClickFunnels, Systeme.io, and automation setup
- SDK and CLI - Typed application and terminal access
Getting Started
Before using the API, you'll need to:
- Generate an API token
- Include the token in your requests using the
Authorizationheader
Available Endpoints
Transactional Emails
- Send Emails - Send transactional emails to subscribers
- Verify Email - Verify email addresses before sending
Email Content Formats
- Send Email in Markdown - Plain text with Markdown formatting
- Send Email in HTML - Raw HTML emails
- Send Email in Tiptap - Tiptap JSON format
Subscriber Management
- Create Subscriber - Add new subscribers
- Get Subscribers - Retrieve subscriber list
- Update Subscriber - Update subscriber data
- Unsubscribe Subscriber - Stop mail without deleting history
Subscriber Tags
- Add Tags to Subscriber - Apply tags to subscribers
- Remove Tags from Subscriber - Remove tags from subscribers
Events
Track and retrieve subscriber activity. Learn more about all event types.
- Track Events - Record new subscriber events
- Get Subscriber Events - Retrieve event history for a subscriber
Tags
- Get Tags - Retrieve tags
- Create Tags - Create new tags
Authentication
All API requests require authentication using a Bearer token:
curl -H "Authorization: Bearer YOUR_API_TOKEN" \
https://api.lumail.io/v1/endpointRate Limits
API requests are rate-limited per organization. See Rate Limits for full details.
| Plan | Requests per Minute |
|---|---|
| Free | 100 |
| Premium | 700 |
| Enterprise | 2,000 |
Tutorials
Step-by-step guides for common API integrations:
- Create API Token - Generate tokens for API access
- V0 Capture Page - Build capture forms with API
- Dynamic Promo Codes - Personalized coupons via webhooks
Related Documentation
- Features - Platform features and capabilities
- Workflows - Automate email sequences
- Integrations - Connect with ClickFunnels, SystemIO, and more
- Email Domains - Configure verified sending domains