Skip to main content
MA

MailerLite

Lets an agent manage your MailerLite email marketing account - subscribers, groups, segments, custom fields, campaigns, automations, forms and webhooks.

What it can do

MethodWhat it does
mailerlite_list_subscribersList subscribers; filter by status, paginate by cursor, limit=0 for total count.
mailerlite_get_subscriberGet a subscriber by id or email.
mailerlite_upsert_subscriberCreate or update a subscriber by email.
mailerlite_update_subscriberUpdate a subscriber by id.
mailerlite_delete_subscriberDelete a subscriber.
mailerlite_forget_subscriberForget a subscriber (GDPR erasure).
mailerlite_get_subscriber_activityGet a subscriber's activity log.
mailerlite_list_groupsList groups.
mailerlite_create_groupCreate a group.
mailerlite_update_groupRename a group.
mailerlite_delete_groupDelete a group.
mailerlite_get_group_subscribersList subscribers in a group.
mailerlite_assign_subscriber_to_groupAssign a subscriber to a group.
mailerlite_unassign_subscriber_from_groupRemove a subscriber from a group.
mailerlite_list_fieldsList custom fields.
mailerlite_create_fieldCreate a custom field (text, number or date).
mailerlite_update_fieldRename a custom field.
mailerlite_delete_fieldDelete a custom field.
mailerlite_list_segmentsList segments.
mailerlite_get_segment_subscribersList subscribers in a segment.
mailerlite_update_segmentRename a segment.
mailerlite_delete_segmentDelete a segment.
mailerlite_list_campaignsList campaigns; filter by status and type.
mailerlite_get_campaignGet a campaign by id.
mailerlite_create_campaignCreate a campaign draft.
mailerlite_update_campaignUpdate a draft or ready campaign.
mailerlite_schedule_campaignSchedule or send a campaign.
mailerlite_cancel_campaignCancel a scheduled campaign (back to draft).
mailerlite_delete_campaignDelete a campaign.
mailerlite_get_campaign_activityGet per-subscriber activity for a campaign.
mailerlite_list_automationsList automations (workflows).
mailerlite_get_automationGet one automation.
mailerlite_get_automation_activityGet subscriber activity for an automation.
mailerlite_list_formsList forms of a type (popup, embedded, promotion).
mailerlite_get_formGet a form by id.
mailerlite_update_formRename a form.
mailerlite_delete_formDelete a form.
mailerlite_get_form_subscribersList subscribers who signed up via a form.
mailerlite_list_webhooksList webhooks.
mailerlite_get_webhookGet a webhook by id.
mailerlite_create_webhookCreate a webhook.
mailerlite_update_webhookUpdate a webhook.
mailerlite_delete_webhookDelete a webhook.
mailerlite_list_timezonesList available timezones (for scheduling).
mailerlite_list_campaign_languagesList campaign languages (for create).

How to get credentials

  1. Open dashboard.mailerlite.com/integrations/api.
  2. Under API, click Generate new token.
  3. Name it (e.g. FlyMyAI Agent) and create it.
  4. Copy the token - it is shown only once.

The token authenticates as your account via the Authorization: Bearer <token> header against https://connect.mailerlite.com/api.

Fields to fill in FlyMyAI

FlyMyAI fieldWhere it comes from
MAILERLITE_API_KEYDashboard -> Integrations -> API -> Generate new token

Troubleshooting

  • 401 Unauthorized - the token is wrong or revoked. Generate a new one.
  • 422 Unprocessable Entity - a required field is missing or invalid; check the field types (e.g. custom field type must be text, number or date).
  • 429 Too Many Requests - you hit the rate limit; retry after a short wait.
We love our partners - FlyMy.AI builds with the best. Thanks, MailerLite!