MailerLite
Connect MailerLite to manage subscribers, groups, segments, and custom fields, and build campaigns and automations.
You end up pasting a single MailerLite API token, created under Integrations and shown only once.
- Setup time
- 2 min
- Auth
- API credentials
- API base URL
- https://connect.mailerlite.com/api
- Rate limits
- 120 requests per minute across the account, with import endpoints capped at 5 requests per minute. A 429 response carries a Retry-After header.
Before you begin
- A MailerLite account on any plan. The API is available on Free and paid plans.
- A user who can open the Integrations area of the account
- The new MailerLite dashboard at dashboard.mailerlite.com. Tokens from the legacy Classic account do not work with the new API.
Get your credentials
Open the API integration
Sign in at dashboard.mailerlite.com and click Integrations in the left sidebar. Find the MailerLite API card and click Use next to API.
Integrations
Connect MailerLite to the tools you already use.
| Integration | Description | Status | |
|---|---|---|---|
| MailerLite APIDeveloper | Integrate with other applications | Available | Use |
| E-commerce APIDeveloper | Connect an external shop | Available | Use |
| WebhooksDeveloper | Push account events to your endpoint | Available | Use |
| ShopifyE-commerce | Sync store customers and orders | Connected | Manage |
The API sits in the same list as the pre-built integrations.
Generate a new token
On the API screen, click Generate new token.
MailerLite API
Tokens authenticate requests to connect.mailerlite.com.
| Name | IP restrictions | Created | Last used | Status |
|---|---|---|---|---|
| Reporting scriptCreated by alex@example.com | Any IP address | Mar 4, 2026 | Mar 11, 2026 | Active |
| Old website formCreated by dana@example.com | IP allowlist | Nov 12, 2025 | Never | Unused |
Existing tokens are listed by name. The value is never shown again.
Name the token and set IP restrictions
In the Create new API token dialog, type a name such as PopMCP in the Name field. Leave Allow any IP address selected, then click Create token.
MailerLite API
PopMCP calls MailerLite from rotating egress addresses, so an allowlist will block it.
Copy the token
Click Copy to put the token on your clipboard, or Download to save it as a text file. Do this before you close the dialog.
MailerLite API
Paste the token into PopMCP
In PopMCP, paste the value into the API token field and click Save.
Connect in PopMCP
Open your workspace, choose MailerLite in the marketplace, and fill in the connect dialog:
| Field | What to enter |
|---|---|
| API tokensecret | In MailerLite go to Integrations → MailerLite API → Generate new token (give it a name). Copy it immediately. MailerLite shows it only once. It's sent as the Authorization: Bearer header and stored encrypted; used server-side only.Encrypted with AES-256-GCM on save and never shown again. |
PopMCP verifies the credential against MailerLite immediately. On success the connection flips to Verified and its MCP tools are provisioned.
Verify it worked
The MailerLite connector in PopMCP flips to Connected, and listing subscriber groups returns your real group names instead of an error.
Troubleshooting
401 Unauthorized
Why: The token was truncated on copy, has been revoked, or belongs to a legacy MailerLite Classic account.
Fix: Generate a fresh token at dashboard.mailerlite.com/integrations/api on the new dashboard and paste the whole string with no surrounding spaces.
403 Forbidden from a working token
Why: The token was created with an IP allowlist that does not include PopMCP's egress addresses.
Fix: Create a replacement token with **Allow any IP address** selected, then delete the restricted one.
429 Too Many Requests
Why: You crossed the 120 requests per minute account limit, or the 5 per minute limit on import endpoints.
Fix: Wait for the interval named in the Retry-After header. If a bulk import is running, let it finish first.
The token screen is empty or missing
Why: You are still in the old MailerLite Classic interface.
Fix: Switch to the new dashboard at dashboard.mailerlite.com. The new API lives at connect.mailerlite.com and only accepts tokens minted there.
You closed the dialog without copying
Why: MailerLite shows the token value once and never redisplays it.
Fix: Delete the token from the API tokens list and generate a replacement.