NewsMAN MCP by usefulapi

v1.17.1
io.usefulapi/newsman Checked 3 days ago Published 2 days ago

Read NewsMAN lists, subscribers, segments, newsletter and automation stats; manage subscribers.

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

newsman_list_lists List subscriber lists

All email lists (and SMS lists) this key can access, each with list_id, list_name and list_type. Start here: most other tools need a list_id. GET /v2/list/all.

newsman_get_list Get list properties

Properties of one list: sender name and email, owner contact details, site, link parameters, send rate. The list secret is never returned. GET /v2/list/getProps.

ParameterTypeDescription
list_id *NewsMAN list id (from newsman_list_lists).

newsman_count_list_subscribers Count list subscribers

The number of active (subscribed) subscribers of a list. GET /v2/list/count.

ParameterTypeDescription
list_id *NewsMAN list id.

newsman_list_subscribers List subscribers by status

Subscribers of a list with a given status (subscribed, unsubscribed, bounced, spam, inactivated), optionally only those who joined since a UTC date. Each item has subscriber_id, email and the date of that status. Paged (page from 0, up to 1000 per page). GET /v2/list/getSubscribers.

ParameterTypeDescription
list_id *NewsMAN list id.
status *stringSubscriber status.
limitintegerResults per page, 1-1000 (default 100).
pageintegerPage number, starting at 0 (default 0).
sincestringOnly subscribers who joined on or after this moment, UTC, YYYY-MM-DD or YYYY-MM-DD HH:mm:ss.

newsman_get_list_growth Get list growth

Daily evolution of a list: total and eligible subscribers, unsubscribes, spam reports and hard bounces per day. Give `days` (last N days) OR start_date/stop_date; the period is at most 90 days. GET /v2/list/subscribersEvolution.

ParameterTypeDescription
list_id *NewsMAN list id.
daysintegerThe last N days, 1-90 (alternative to start_date/stop_date; NewsMAN allows at most 90 days).
start_datestringStart of the period, UTC, YYYY-MM-DD.
stop_datestringEnd of the period, UTC, YYYY-MM-DD.

newsman_search_subscribers Search subscribers

Search the subscribers of a list by keywords (email or name) and status, optionally only those who joined since a UTC date. Paged (page from 0, up to 1000 per page). GET /v2/subscriber/search.

ParameterTypeDescription
keywords *stringText to search for, for example part of an email address.
list_id *NewsMAN list id.
limitintegerResults per page, 1-1000 (default 100).
pageintegerPage number, starting at 0 (default 0).
sincestringOnly subscribers who joined on or after this moment, UTC, YYYY-MM-DD or YYYY-MM-DD HH:mm:ss.
statusstringSubscriber status (default subscribed).

newsman_get_subscriber Get subscriber by email

One subscriber of a list by email address: status and dates, name, IP, custom properties and segments. GET /v2/subscriber/getByEmail.

ParameterTypeDescription
email *stringEmail address.
list_id *NewsMAN list id.

newsman_get_subscriber_by_id Get subscriber by id

One subscriber by subscriber_id: status and dates, name, IP, custom properties and segments. GET /v2/subscriber/get.

ParameterTypeDescription
subscriber_id *NewsMAN subscriber id.

newsman_get_subscriber_history Get subscriber history

The last 100 actions of a subscriber: subscribe, unsubscribe, send, view, click, bounce, spam, each with a date and metadata (newsletter, link). GET /v2/subscriber/history.

ParameterTypeDescription
subscriber_id *NewsMAN subscriber id.

newsman_list_segments List segments

The segments of a list with segment_id, segment_name, subscriber count and status (0 idle, 1 import running, 2 counting, 3 searching). NewsMAN allows 20 calls a minute for this method. GET /v2/segment/all.

ParameterTypeDescription
list_id *NewsMAN list id.

newsman_count_segment_subscribers Count segment subscribers

The number of active subscribers in a segment. GET /v2/segment/count.

ParameterTypeDescription
segment_id *NewsMAN segment id (from newsman_list_segments).

newsman_list_segment_subscribers List segment subscribers

The subscribers of a segment (subscriber_id and email). Paged (page from 0, up to 1000 per page). GET /v2/segment/getSubscribers.

ParameterTypeDescription
segment_id *NewsMAN segment id.
limitintegerResults per page, 1-1000 (default 100).
pageintegerPage number, starting at 0 (default 0).

newsman_list_newsletters List newsletters

Newsletters (campaigns) of a list with newsletter_id, subject, status, dates, segments and headline stats. Filter by status (-1 cancelled, 0 new, 1 confirmed, 2 sending, 3 paused, 4 resumed, 5 sent; or a comma list such as 1,5; default all), by creation date range, or the last N days. Paged. GET /v2/newsletter/all.

ParameterTypeDescription
list_id *NewsMAN list id.
daysintegerCreated in the last N days (alternative to start_date/stop_date).
limitintegerResults per page, 1-1000 (default 100).
pageintegerPage number, starting at 0 (default 0).
start_datestringCreated on or after, UTC, YYYY-MM-DD or YYYY-MM-DD HH:mm:ss.
statusstringNewsletter status: all, -1..5 or a comma list (default all).
stop_datestringCreated on or before, UTC, YYYY-MM-DD or YYYY-MM-DD HH:mm:ss.

newsman_get_newsletter Get newsletter

Properties of one newsletter: subject, sender, status, dates, segments, links to the online view. Long HTML is clipped. GET /v2/newsletter/getProps.

ParameterTypeDescription
newsletter_id *NewsMAN newsletter id (from newsman_list_newsletters).

newsman_get_newsletter_stats Get newsletter stats

Delivery and engagement stats of one newsletter: sent, views, clicks, unsubscribes, bounces, spam reports and rates. GET /v2/newsletter/stats.

ParameterTypeDescription
newsletter_id *NewsMAN newsletter id.

newsman_list_automations List automations

Automation workflows of a list with workflow_id, name, type, status (0 inactive, 1 active), version and stats. Filter by name, status and last-updated range. GET /v2/automation/all.

ParameterTypeDescription
list_id *NewsMAN list id.
namestringWorkflow name filter (default: any).
start_datestringUpdated on or after, UTC, YYYY-MM-DD or YYYY-MM-DD HH:mm:ss.
statusstringall (default), 0 inactive or 1 active.
stop_datestringUpdated on or before, UTC, YYYY-MM-DD or YYYY-MM-DD HH:mm:ss.
typestringWorkflow type: all (default), sub_date, newsletter_view, newsletter_click, advanced, unsub, manual, ecommerce_cart_update, ecommerce_order_completed, ecommerce_product_view, segment_add, segment_remov…

newsman_get_automation Get automation

One automation workflow: name, type, status, version, recurrence, stats and preview links. GET /v2/automation/getWorkflow.

ParameterTypeDescription
workflow_id *NewsMAN workflow id (from newsman_list_automations).

newsman_get_automation_stats Get automation stats

Daily stats of the automations of a list: sends, opens, clicks, purchases, bounces, unsubscribes. Optionally for given workflows and a period (last N days, or start_date/stop_date; at most 90 days). GET /v2/automation/stats.

ParameterTypeDescription
list_id *NewsMAN list id.
daysintegerThe last N days, 1-90 (alternative to start_date/stop_date; NewsMAN allows at most 90 days).
start_datestringStart of the period, UTC, YYYY-MM-DD.
stop_datestringEnd of the period, UTC, YYYY-MM-DD.
workflow_idsstringComma-separated workflow ids (default: all workflows of the list).

newsman_get_import_status Get import status

Status of a background subscriber import by import_id: new, running, finished or error, with times and the last error. GET /v2/import/status.

ParameterTypeDescription
import_id *NewsMAN import id.

newsman_subscribe_email Subscribe an email

WRITE: subscribe an email address to a list (or update it if it exists), with optional name and custom properties. A property key with the tag_ prefix sets a tag. Only use for people who gave consent. The subscriber is active at once, with no confirmation email. Returns the subscriber_id. POST /v2/subscriber/saveSubscribe.

ParameterTypeDescription
email *stringEmail address.
list_id *NewsMAN list id.
firstnamestringFirst name.
ipstringIP address to record for this action (NewsMAN requires one). Defaults to 0.0.0.0 when omitted.
lastnamestringLast name.
propsobjectCustom properties, for example {"city": "Paris", "tag_vip": "1"}.

newsman_unsubscribe_email Unsubscribe an email

WRITE: unsubscribe an email address from a list, so it no longer receives campaigns from that list. Returns the subscriber_id. POST /v2/subscriber/saveUnsubscribe.

ParameterTypeDescription
email *stringEmail address.
list_id *NewsMAN list id.
ipstringIP address to record for this action (NewsMAN requires one). Defaults to 0.0.0.0 when omitted.

newsman_update_subscriber Update a subscriber

WRITE: change the email, first name or last name of a subscriber. Give only the fields to change; the others are left as they are. POST /v2/subscriber/update.

ParameterTypeDescription
subscriber_id *NewsMAN subscriber id.
emailstringNew email address.
firstnamestringNew first name.
lastnamestringNew last name.

newsman_add_subscriber_tags Add tags to a subscriber

WRITE: add tags to a subscriber (existing tags stay). POST /v2/subscriber/addTags.

ParameterTypeDescription
subscriber_id *NewsMAN subscriber id.
tags *arrayTags to add.

newsman_add_subscriber_to_segment Add a subscriber to a segment

WRITE: add a subscriber to a (static) segment. POST /v2/subscriber/addToSegment.

ParameterTypeDescription
segment_id *NewsMAN segment id.
subscriber_id *NewsMAN subscriber id.

newsman_remove_subscriber_from_segment Remove a subscriber from a segment

WRITE: remove a subscriber from a segment (the subscriber stays on the list). POST /v2/subscriber/removeFromSegment.

ParameterTypeDescription
segment_id *NewsMAN segment id.
subscriber_id *NewsMAN subscriber id.