MailerLite
App · Email Marketing · 5 actions
Connect your MailerLite account to manage subscribers and groups: create or update subscribers, look them up, and organize them into groups.
Actions
| Action | What it does |
|---|---|
| Assign subscriber to group | Add an existing subscriber to a MailerLite group. |
| Create group | Create a new group (list) in your MailerLite account. |
| Create or update subscriber | Add a subscriber to your MailerLite account, or update them if the email already exists (a non-destructive upsert). |
| Get subscriber | Look up a MailerLite subscriber by email address. |
| List groups | List the groups in your MailerLite account. |
Assign subscriber to group
Add an existing subscriber to a MailerLite group.
Inputs
- Subscriber ID
subscriber_idtextRequired - Numeric ID of the subscriber (as returned by Create subscriber or Get subscriber), not the email address.
- Group ID
group_idtextRequired - ID of the group to add the subscriber to.
Outputs
group_idtext- ID of the group the subscriber was added to.
subscriber_idtext- ID of the subscriber that was assigned.
Example output
{
"group_id": "31897444756455121",
"subscriber_id": "31897397363737764"
}Create group
Create a new group (list) in your MailerLite account.
Inputs
- Name
nametextRequired - Name of the group to create.
Outputs
idtext- ID of the newly created group.
nametext- Name of the group.
Example output
{
"id": "31897444756455121",
"name": "Newsletter"
}Create or update subscriber
Add a subscriber to your MailerLite account, or update them if the email already exists (a non-destructive upsert).
Inputs
- Email
emailtextRequired - Email address of the subscriber.
- Name
nametext - First name of the subscriber.
- Last name
last_nametext - Last name of the subscriber.
- Status
statustext - Subscription status to set. Leave unset to use your account's default (typically 'unconfirmed' when double opt-in is on, otherwise 'active').One of:
active,unconfirmed,unsubscribed.
Outputs
emailtext- Email address of the subscriber.
idtext- ID of the subscriber (new or already existing).
statustext- Subscription status after the upsert.
Example output
{
"email": "jane@example.com",
"id": "31897397363737764",
"status": "active"
}Get subscriber
Look up a MailerLite subscriber by email address.
Inputs
- Email
emailtextRequired - Email address of the subscriber to look up. A numeric subscriber ID also works.
Outputs
subscriberobject- The matching subscriber, or null if no subscriber has that email.
Example output
{
"subscriber": {
"email": "jane@example.com",
"id": "31897397363737764",
"last_name": "Doe",
"name": "Jane",
"status": "active"
}
}List groups
List the groups in your MailerLite account.
Inputs
None.
Outputs
groupslist- Groups in the account
Example output
{
"groups": [
{
"id": "31897444756455121",
"name": "Newsletter"
}
]
}