Buttondown MCP by usefulapi

v1.29.0
io.usefulapi/buttondown Checked 1 day ago Published 11 hours ago

Read Buttondown subscribers, emails, analytics and automations; add subscribers; write email drafts.

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

buttondown_get_account Get account

The Buttondown account this API key belongs to: username and e-mail address. GET /accounts/me.

buttondown_list_newsletters List newsletters

List the newsletters on the account with name, username, domains, sender, locale and timezone. The newsletter's API key, custom CSS and e-mail templates are never returned. GET /newsletters.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.

buttondown_get_newsletter Get newsletter

One newsletter by id (settings and identity only; no API key, CSS or templates). GET /newsletters/{id}.

ParameterTypeDescription
newsletter_id *stringThe object's Buttondown id (a UUID or a prefixed id such as em_..., sub_..., tag_...).

buttondown_list_subscribers List subscribers

List or search subscribers (newest first by default) with e-mail, type (regular, unactivated, unsubscribed, premium, ...), tags, notes, metadata, source, open/click rates and dates. Filter by e-mail text, type, tag, signup date or domain. GET /subscribers.

ParameterTypeDescription
created_afterstringOnly subscribers created on or after this date (yyyy-mm-dd).
created_beforestringOnly subscribers created before this date (yyyy-mm-dd).
domainarrayOnly subscribers whose e-mail domain is one of these.
email_addressstringOnly subscribers whose e-mail address contains this text.
not_typearrayExclude subscribers of these types.
orderingstringSort field, - for descending (default -creation_date).
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
tagarrayOnly subscribers with these tag names.
typearrayOnly subscribers of these types (e.g. regular, unactivated, unsubscribed).

buttondown_get_subscriber Get subscriber

One subscriber by id or by e-mail address: type, tags, notes, metadata, source, engagement and lifecycle dates. GET /subscribers/{id_or_email}.

ParameterTypeDescription
id_or_email *stringThe subscriber's id or e-mail address.

buttondown_add_subscriber Add a subscriber

WRITE: add ONE subscriber by e-mail address. No subscriber type is set, so Buttondown applies the newsletter's normal sign-up rules (double opt-in: the subscriber is typically created as unactivated and Buttondown e-mails THAT ONE address a confirmation message; opt-in is never bypassed, nor is the firewall). Only add people who asked to subscribe. Creating a subscriber (and its tags) can also start the newsletter's own automations, which may e-mail that one subscriber. An existing e-mail is left untouched (error, no overwrite). Optional tags (a tag that does not exist is created, which needs…

ParameterTypeDescription
email_address *stringThe new subscriber's e-mail address. They receive the confirmation e-mail.
metadataobjectFree-form key-value data stored on the subscriber.
notesstringPrivate note (never shown to the subscriber).
referrer_urlstringWhere the subscriber came from.
tagsarrayTag names to apply.
utm_campaignstring
utm_mediumstring
utm_sourcestring

buttondown_update_subscriber Update a subscriber's tags, notes or metadata

WRITE: change ONE subscriber's tags, private note or metadata. Tags are merged (add_tags / remove_tags change only those names; the others stay). A given note or metadata replaces the existing value (destructive for that field). The subscriber's type (unsubscribe, block, ...) and e-mail address cannot be changed here, and this tool sends nothing itself; but a tag, note or metadata change can start the newsletter's own automations (for example a tag-triggered welcome sequence), which may e-mail that one subscriber. PATCH /subscribers/{id_or_email}.

ParameterTypeDescription
id_or_email *stringThe subscriber's id or e-mail address.
add_tagsarrayTag names to add.
metadataobjectReplace the subscriber's metadata object with this one.
notesstringReplace the private note with this text (empty string clears it).
remove_tagsarrayTag names to remove.

buttondown_list_emails List emails

List emails (drafts, scheduled and sent), newest first by default, with subject, status, publish date, slug, archive URL and analytics summary. The body is left out unless include_body is set. Filter by status, subject text or date. GET /emails.

ParameterTypeDescription
created_afterstringOnly emails created on or after this date (yyyy-mm-dd).
created_beforestringOnly emails created before this date (yyyy-mm-dd).
include_bodybooleanInclude each email's full body (large). Default false.
orderingstringSort order (default -creation_date).
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
published_afterstringOnly emails published on or after this date (yyyy-mm-dd).
published_beforestringOnly emails published before this date (yyyy-mm-dd).
statusarrayOnly emails with these statuses (draft, scheduled, sent, ...).
subjectstringOnly emails whose subject contains this text.

buttondown_get_email Get email

One email by id with its full body, subject, status, publish date, slug, archive settings and analytics summary. GET /emails/{id}.

ParameterTypeDescription
email_id *stringThe object's Buttondown id (a UUID or a prefixed id such as em_..., sub_..., tag_...).

buttondown_get_email_analytics Get email analytics

Delivery and engagement numbers for one sent email: recipients, deliveries, opens, clicks, failures, unsubscriptions, complaints, replies, page views. GET /emails/{id}/analytics.

ParameterTypeDescription
email_id *stringThe object's Buttondown id (a UUID or a prefixed id such as em_..., sub_..., tag_...).

buttondown_create_email_draft Create an email draft

WRITE: create a DRAFT email (status always "draft"). Nothing is sent or scheduled and no subscriber is e-mailed; to send it, the user must open the draft in Buttondown and send it there. This server has no tool that sends or schedules email. Body is Markdown or HTML. POST /emails.

ParameterTypeDescription
subject *stringSubject line.
bodystringEmail body in Markdown (or HTML).
canonical_urlstringURL of the original source of the content.
descriptionstringShort description used for archives and SEO.
imagestringPreview image URL.
slugstringArchive URL slug.

buttondown_update_email_draft Edit an email draft

WRITE: edit the subject, body, description, slug or preview image of an email that is still a DRAFT (replaces those fields; the previous text is lost unless Buttondown's email history is used). Refuses any email that is not a draft, and never changes status or publish date, so nothing is sent or scheduled. PATCH /emails/{id}.

ParameterTypeDescription
email_id *stringThe object's Buttondown id (a UUID or a prefixed id such as em_..., sub_..., tag_...).
bodystringNew body in Markdown (or HTML); replaces the whole body.
canonical_urlstring
descriptionstring
imagestring
slugstring
subjectstring

buttondown_list_tags List tags

List subscriber tags with name, color, descriptions and whether subscribers can edit them. GET /tags.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.

buttondown_get_tag_analytics Get tag analytics

Subscribers created, open rate and click rate for one tag. GET /tags/{id}/analytics.

ParameterTypeDescription
tag_id *stringTag id (see buttondown_list_tags).

buttondown_create_tag Create a tag

WRITE: create a subscriber tag (needs a Buttondown plan with tags). An existing tag with the same name is returned as an error and not changed. POST /tags.

ParameterTypeDescription
color *stringHex color, e.g. #FFD700.
name *stringTag name (up to 100 characters).
descriptionstringInternal description (only you see it).
public_descriptionstringPublic description shown in the subscriber portal.
subscriber_editablebooleanLet subscribers add/remove this tag themselves. Default false.

buttondown_list_automations List automations

List automations (welcome sequences and other triggered e-mails) with name, status, trigger, actions and filters (webhook URLs in actions are shown by host only). Read-only: automations are not started or changed. GET /automations.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.

buttondown_get_automation Get automation

One automation by id with its trigger, actions and filters. GET /automations/{id}.

ParameterTypeDescription
automation_id *stringThe object's Buttondown id (a UUID or a prefixed id such as em_..., sub_..., tag_...).

buttondown_get_automation_analytics Get automation analytics

Performance numbers for one automation. GET /automations/{id}/analytics.

ParameterTypeDescription
automation_id *stringThe object's Buttondown id (a UUID or a prefixed id such as em_..., sub_..., tag_...).

buttondown_list_surveys List surveys

List surveys with question, answers, status and response count. GET /surveys.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
statusstringOnly surveys with this status.

buttondown_list_survey_responses List survey responses

List survey responses (who answered what), optionally for one survey, email or subscriber. GET /survey_responses.

ParameterTypeDescription
created_afterstringA date, yyyy-mm-dd.
created_beforestringA date, yyyy-mm-dd.
email_idstringOnly responses submitted from this email.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
subscriber_idstringOnly responses by this subscriber (id, not e-mail).
survey_idstringOnly responses to this survey.

buttondown_create_survey Create a survey

WRITE: create a survey (one question with answer choices that emails can ask subscribers). This tool sends no email itself. An identifier already in use is refused (identifier_already_exists) and nothing is created. POST /surveys.

ParameterTypeDescription
answers *arrayAnswer choices, in order.
identifier *stringShort id used to reference the survey in emails, e.g. favorite_color. This server cannot change it later.
question *stringThe question shown to subscribers.
input_typestringControl for the answer: radio, checkbox or text.
is_freeform_response_enabledbooleanLet subscribers also type a free-text answer.
notesstringInternal notes; subscribers do not see them.
randomize_answersbooleanShuffle the answer order each time the survey is shown.
response_cadencestringonce (one response per subscriber) or once_per_email.

buttondown_update_survey Edit a survey

WRITE: edit a survey's answers, notes, status, response cadence, input type or freeform/shuffle settings. The question and identifier cannot be changed. Answers given replace the whole old list. Reads the survey first and returns the previous values. This tool sends no email itself. PATCH /surveys/{id}.

ParameterTypeDescription
survey_id *stringThe object's Buttondown id (a UUID or a prefixed id such as em_..., sub_..., tag_...).
answersarrayNew answer choices, in order (at least 2); replaces the whole list.
input_typestring
is_freeform_response_enabledboolean
notesstringNew internal notes.
randomize_answersboolean
response_cadencestring
statusstringNew status.

buttondown_list_segments List segments

List saved subscriber segments with name, description and filters. GET /segments.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.

buttondown_create_segment Create a segment

WRITE: create a saved subscriber segment (a named audience rule for later emails). This tool sends no email itself. A name already in use is refused by Buttondown and nothing is created. POST /segments.

ParameterTypeDescription
filters *objectThe audience rule, e.g. predicate and with one subscriber.metadata.role equals executive filter.
name *stringSegment name (up to 100 characters).
descriptionstringDescription shown when picking an audience.

buttondown_update_segment Edit a segment

WRITE: edit a saved segment's name, description or audience rule. A rule given replaces the whole old rule. Reads the segment first and returns the previous values. This tool sends no email itself. PATCH /segments/{id}.

ParameterTypeDescription
segment_id *stringThe object's Buttondown id (a UUID or a prefixed id such as em_..., sub_..., tag_...).
descriptionstringNew description.
filtersobjectNew audience rule; replaces the whole old rule.
namestringNew name.

buttondown_list_forms List forms

List sign-up forms with title, slug, status, tags and subscriber counts. GET /forms.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.

buttondown_list_snippets List snippets

List reusable content snippets with identifier, name, mode and how often each is referenced. GET /snippets.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.

buttondown_list_webhooks List webhooks

List configured webhooks with status and subscribed event types. The signing key is never returned and the URL is shown by host only. GET /webhooks.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.

buttondown_list_events List email events

List delivery events (delivered, opened, clicked, bounced, unsubscribed, ...), newest first, optionally for one email or subscriber. GET /events.

ParameterTypeDescription
email_idstringOnly events for this email.
event_typestringOnly events of this type.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerResults per page, 1-500 (default 100).
subscriber_idstringOnly events for this subscriber (id, not e-mail).