Resources
API reference
Lettermint exposes two public API surfaces. They use different token types and are meant for different jobs.
Sending API
Send transactional or broadcast email with a Project API token in the x-lettermint-token header.
Team API
Manage team resources with a Team API token in the Authorization: Bearer header.
Authentication
| API | Token | Header | Typical use |
|---|---|---|---|
| Sending API | Project API token, lm_... | x-lettermint-token | Send email from one project |
| Team API | Team API token, lm_team_... | Authorization: Bearer | Manage domains, projects, routes, webhooks, messages, suppressions, and usage |
Never expose Project API tokens or Team API tokens in client-side code. Store them in environment variables or a secrets manager.
Try the API
Next steps
- Quickstart - Send your first email
- Project API tokens - Create sending credentials
- Team API tokens - Create management credentials
- Production checklist - Prepare a production integration
Last modified on