Moosend MCP by usefulapi

v1.41.1
io.usefulapi/moosend Checked 3 days ago Published 2 days ago

Inspect Moosend lists, subscribers, segments and campaign stats, and add or unsubscribe subscribers.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

moosend_list_mailing_lists List mailing lists

List the active email (mailing) lists in the account with member counts (active, bounced, removed, unsubscribed), custom field definitions and preferences, plus paging info. A cheap way to confirm the API key works and to find list IDs. Moosend: GET /lists/{Page}/{PageSize}.json.

ParameterTypeDescription
pageintegerPage number, starting at 1. Default 1.
page_sizeintegerResults per page, 1-1000.
sort_bystringProperty to sort by. Default CreatedOn.
sort_methodstringSort direction. Default ASC.

moosend_get_mailing_list Get mailing list details

Get one mailing list: name, member counts, status, custom field definitions (id, name, type, required), preferences and the latest import operation. Moosend: GET /lists/{MailingListID}/details.json.

ParameterTypeDescription
mailing_list_id *stringMailing list ID (a GUID, from moosend_list_mailing_lists).
with_statisticsbooleanInclude subscriber statistics. Default true.

moosend_list_subscribers List subscribers in a list

List the subscribers of one mailing list filtered by status (Subscribed, Unsubscribed, Bounced or Removed), with name, email, custom fields, tags, preferences and dates. Paged. Moosend: GET /lists/{MailingListID}/subscribers/{Status}.json.

ParameterTypeDescription
mailing_list_id *stringMailing list ID (a GUID, from moosend_list_mailing_lists).
pageintegerPage number, starting at 1. Default 1.
page_sizeintegerResults per page, 1-1000.
statusstringSubscriber status to return. Default Subscribed.

moosend_get_subscriber_by_email Find subscriber by email

Look up a subscriber in one mailing list by email address: ID, name, status (SubscribeType 1 subscribed, 2 unsubscribed, 3 bounced, 4 removed), custom fields, tags and preferences. Moosend: GET /subscribers/{MailingListID}/view.json?Email=.

ParameterTypeDescription
email *stringSubscriber email address.
mailing_list_id *stringMailing list ID (a GUID, from moosend_list_mailing_lists).

moosend_get_subscriber Get subscriber by ID

Get one subscriber in a mailing list by subscriber ID. Moosend: GET /subscribers/{MailingListID}/find/{SubscriberID}.json.

ParameterTypeDescription
mailing_list_id *stringMailing list ID (a GUID, from moosend_list_mailing_lists).
subscriber_id *stringSubscriber ID (a GUID).

moosend_list_segments List segments of a list

List the segments of one mailing list, including their criteria, match type (0 all / 1 any) and a readable description. Moosend: GET /lists/{MailingListID}/segments.json.

ParameterTypeDescription
mailing_list_id *stringMailing list ID (a GUID, from moosend_list_mailing_lists).

moosend_get_segment Get segment details

Get one segment's details and criteria (not its members). Moosend: GET /lists/{MailingListID}/segments/{SegmentID}/details.json.

ParameterTypeDescription
mailing_list_id *stringMailing list ID (a GUID, from moosend_list_mailing_lists).
segment_id *Segment ID (an integer, from moosend_list_segments).

moosend_list_segment_subscribers List segment subscribers

List the subscribers that currently match one segment's criteria. Moosend: GET /lists/{MailingListID}/segments/{SegmentID}/members.json.

ParameterTypeDescription
mailing_list_id *stringMailing list ID (a GUID, from moosend_list_mailing_lists).
segment_id *Segment ID (an integer, from moosend_list_segments).

moosend_list_campaigns List campaigns

List campaigns with status (0 draft, 1 queued, 3 sent, 5 awaiting delivery, 6 sending, ...), delivery/schedule dates, target lists and headline stats (sent, opens, clicks, bounces, unsubscribes, complaints). Paged, up to 1000 per page. Moosend: GET /campaigns/{Page}/{PageSize}.json.

ParameterTypeDescription
pageintegerPage number, starting at 1. Default 1.
page_sizeintegerResults per page, 1-1000.
sort_bystringProperty to sort by. Default CreatedOn.
sort_methodstringSort direction. Default ASC.

moosend_get_campaign Get campaign details

Get one campaign's details: subject, sender and reply-to, HTML and plain content, target lists/segments, schedule, status and A/B data. No statistics (use moosend_get_campaign_summary). Moosend: GET /campaigns/{CampaignID}/view.json.

ParameterTypeDescription
campaign_id *stringCampaign ID (a GUID, from moosend_list_campaigns).

moosend_get_campaign_summary Get campaign summary

Get a sent campaign's results to date: sent, total/unique opens, total/unique link clicks, bounces, complaints, forwards and unsubscribes. Moosend: GET /campaigns/{CampaignID}/view_summary.json.

ParameterTypeDescription
campaign_id *stringCampaign ID (a GUID, from moosend_list_campaigns).

moosend_get_campaign_activity Get campaign recipient activity

Per-recipient activity for a campaign by type: Sent, Opened, LinkClicked, Unsubscribed, Bounced, Complained, or Activity (all). Paged (default 50, max 1000) and filterable by date. NOTE: Moosend rate-limits this endpoint to 2 calls per 60 seconds per API key. Moosend: GET /campaigns/{CampaignID}/stats/{Type}.json.

ParameterTypeDescription
campaign_id *stringCampaign ID (a GUID, from moosend_list_campaigns).
fromstringStart date, DD-MM-YYYY. Default: the send date.
pageintegerPage number, starting at 1. Default 1.
page_sizeintegerResults per page, 1-1000.
tostringEnd date, DD-MM-YYYY. Default: today.
typestringActivity type. Default Sent.

moosend_get_campaign_activity_by_location Get campaign opens by country

A campaign's total and unique opens broken down by country code. Moosend: GET /campaigns/{CampaignID}/stats/countries.json.

ParameterTypeDescription
campaign_id *stringCampaign ID (a GUID, from moosend_list_campaigns).

moosend_list_senders List campaign senders

List the account's campaign senders (name, email, enabled, SPF/DKIM verification). A draft campaign's sender and reply-to must be one of these. Moosend: GET /senders/find_all.json.

moosend_create_mailing_list Create a mailing list

WRITE: create a new, empty mailing list. Returns the new list's ID. Moosend: POST /lists/create.json.

ParameterTypeDescription
name *stringList name.
confirmation_pagestringURL shown at the end of the subscription process.
preferencesobjectOptional preference field for the list. Omit for none.
redirect_after_unsubscribe_pagestringURL subscribers are redirected to after unsubscribing.

moosend_add_subscriber Add or update a subscriber

WRITE: add one subscriber to a mailing list. If the email already exists in the list, that subscriber is UPDATED instead (and custom fields you omit are cleared). A previously unsubscribed address is re-subscribed. Rate limit 10 calls / 10 s. Moosend: POST /subscribers/{MailingListID}/subscribe.json.

ParameterTypeDescription
email *stringSubscriber email address.
mailing_list_id *stringMailing list ID (a GUID, from moosend_list_mailing_lists).
custom_fieldsobjectCustom field values by field name, e.g. {"City":"Athens","Age":25}. Sent to Moosend as "Name=Value" pairs. WARNING: on an existing subscriber, any custom field NOT included is cleared — include ever…
has_external_double_opt_inbooleanTrue if the subscriber already gave consent by other means.
namestringSubscriber name.
preferencesarrayPreference option values chosen by the subscriber (must match the list's preference options).
tagsarraySubscriber tags.

moosend_update_subscriber Update a subscriber

WRITE: update one subscriber (by ID) in a mailing list — email, name, custom fields, tags, preferences. Include every custom field you want to keep. Moosend: POST /subscribers/{MailingListID}/update/{SubscriberID}.json.

ParameterTypeDescription
email *stringThe subscriber's email address (required by Moosend).
mailing_list_id *stringMailing list ID (a GUID, from moosend_list_mailing_lists).
subscriber_id *stringSubscriber ID (a GUID).
custom_fieldsobjectCustom field values by field name, e.g. {"City":"Athens","Age":25}. Sent to Moosend as "Name=Value" pairs. WARNING: on an existing subscriber, any custom field NOT included is cleared — include ever…
has_external_double_opt_inbooleanTrue if the subscriber already gave consent by other means.
namestringSubscriber name.
preferencesarrayPreference option values chosen by the subscriber (must match the list's preference options).
tagsarraySubscriber tags.

moosend_unsubscribe_subscriber Unsubscribe from a list

WRITE: unsubscribe one email address from one mailing list (not account-wide). Undo by adding the subscriber again with moosend_add_subscriber. Moosend: POST /subscribers/{MailingListID}/unsubscribe.json.

ParameterTypeDescription
email *stringEmail address to unsubscribe.
mailing_list_id *stringMailing list ID (a GUID, from moosend_list_mailing_lists).

moosend_create_draft_campaign Create a draft campaign

WRITE: create a regular (non-A/B) DRAFT campaign. It is NOT sent — sending stays a human action in Moosend. Give the content as html_content or a web_location URL. sender_email and reply_to_email must be senders in the account (see moosend_list_senders). Returns the new campaign's ID. Moosend: POST /campaigns/create.json.

ParameterTypeDescription
mailing_lists *arrayTarget lists, each optionally narrowed to one segment.
name *stringCampaign name.
sender_email *stringSender email — must be one of the account's senders.
subject *stringSubject line.
confirmation_to_emailstringWhere to send the 'campaign sent' confirmation. Default: sender_email.
html_contentstringComplete HTML body of the campaign.
reply_to_emailstringReply-to email — must be one of the account's senders. Default: sender_email.
track_in_google_analyticsbooleanEnable Google Analytics tracking (requires GA on your site).
web_locationstringURL Moosend fetches the HTML from (CSS is inlined automatically).