Built by Metorial, the integration platform for agentic AI.
Retrieves all segments in the account. Segments are rule-based subscriber groupings created in the MailerLite UI. Can optionally fetch subscribers belonging to a specific segment.
Updates a draft MailerLite campaign. MailerLite only allows campaign updates while the campaign is in draft status. Use this to change the campaign name, sender details, content, language, or target groups/segments before scheduling or sending.
Assigns or removes a subscriber from a group, or lists all subscribers in a group. Use this to manage group membership for individual subscribers.
Retrieves a list of campaigns. Can filter by status (draft, ready, sent) and type (regular, A/B, resend). Returns campaign details including name, type, status, and send statistics.
Creates, updates, or deletes a subscriber group. Groups organize subscribers into lists. Provide a **groupId** to update or delete an existing group, or omit it to create a new group.
Retrieves signup forms filtered by type (popup, embedded, promotion). Can also fetch subscribers who signed up through a specific form.
Retrieves automations in the account, optionally filtered by enabled status, name, or group. Can also fetch a specific automation's details or subscriber activity within an automation.
Deletes a subscriber from the account, or performs a GDPR-compliant "forget" operation that permanently removes all subscriber data within 30 days. Use **forget** mode for full GDPR compliance.
Schedules a campaign for delivery or sends it immediately. Supports instant delivery, scheduled delivery at a specific date/time, and timezone-based delivery. Can also cancel a scheduled (ready) campaign, reverting it to draft.
Retrieves activity logs for a specific subscriber, including email opens, link clicks, group changes, bounces, and more. Useful for tracking subscriber engagement.
Creates, updates, lists, or deletes custom subscriber fields. Custom fields store additional data on subscribers (e.g., name, company, phone). Supported field types are **text**, **number**, and **date**.
Retrieves a paginated list of subscribers. Can filter by subscriber status (active, unsubscribed, unconfirmed, bounced, junk), include group memberships, or request the total subscriber count with limit 0. Use cursor-based pagination to iterate through large lists.
Permanently deletes a campaign from the account. This action cannot be undone.
Retrieves all subscriber groups in the account. Can filter by group name and includes statistics like active subscriber count, open rate, and click rate for each group.
Lists MailerLite timezone IDs and offsets. Use these timezoneId values when scheduling campaigns or assigning timezone-aware settings.
Retrieves campaign details and subscriber activity reports for a sent campaign. Returns engagement data including opens, clicks, unsubscribes, and bounces.
Creates a new email campaign. Supports regular, A/B test, and resend campaign types. You can set the email subject, sender, HTML content, and target specific groups or segments.
Fetches detailed information about a single subscriber by their ID or email address. Returns subscriber profile data including custom fields and group memberships.
Lists, gets, creates, updates, or deletes MailerLite webhooks for subscriber and campaign events. For campaign.open, campaign.click, and subscriber.deleted events, MailerLite requires batchable to be true.
Lists MailerLite campaign language IDs and codes. Use these language IDs when creating or updating localized campaigns.
Creates a new subscriber or updates an existing one by email address. This is a non-destructive upsert operation — omitting fields or groups will not remove them from an existing subscriber. Can assign subscribers to groups and set custom field values. **Note:** If a subscriber's status is unsubscribed, bounced, or junk, you cannot reactivate them via the API.