MailerLite
Email marketing: subscribers, groups, campaigns and automations
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- API tokenSecretRequired
Where to find them
- In MailerLite: “Integrations” (left menu) → “MailerLite API” → “Use” → “Generate new token”.
- Give it a name, create it and copy the token: it is shown only once. It is the API of the current MailerLite (it does not work for MailerLite Classic accounts) and allows 120 requests per minute.
Tools (1)
MailerLite API request
MAILERLITE_SEND_REQUESTAuthenticated call to the MailerLite API (https://connect.mailerlite.com/api). Any endpoint of the API is allowed. Subscribers are paginated by cursor (limit and cursor=meta.next_cursor); everything else by pages (limit and page). Examples: GET /subscribers?filter[status]=active&limit=25, GET /subscribers/{id or email}, POST /subscribers {"email": "…", "fields": {"name": "…", "last_name": "…"}, "groups": ["…"]} (creates or updates), POST /subscribers/{id}/groups/{group_id}, DELETE /subscribers/{id}/groups/{group_id}, GET /groups?filter[name]=…, GET /groups/{id}/subscribers, GET /campaigns?filter[status]=sent&limit=10 (without a filter it only returns scheduled ones), GET /campaigns/{id} (stats in emails[].stats), POST /campaigns {"name": "…", "type": "regular", "emails": [{"subject": "…", "from_name": "…", "from": "…", "content": "<html>…"}], "groups": ["…"]} (custom HTML requires the Advanced plan), POST /campaigns/{id}/schedule {"delivery": "instant"}, GET /automations, GET /segments, GET /fields, GET /for…
Required scopes
No scopes required
Input
MailerLite API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

