Everything the dashboard does, from code or an AI assistant
The REST API and the MCP server run the same 101 actions as the dashboard, with the same checks: plan limits, sender rules, pre-send checks, campaigns paused for their bounce, complaint or Gmail refusal rates or Gmail's spam rate, blocked accounts and first sends in steps.
REST APIJSON in and out
https://app.getmailstamp.com/api/v1MCP serverStreamable HTTP
https://app.getmailstamp.com/mcp- 1
Create an API key
On the API keys page. Full access for scripts and AI assistants; signups only for signup forms in your website's code. Keys are shown once.
- 2
Make a request
Every request sends the key as a bearer token. This one lists your newsletters with their settings.
Terminal curl https://app.getmailstamp.com/api/v1/newsletters \ -H "Authorization: Bearer $MAILSTAMP_API_KEY" - 3
Or connect an AI assistant
One command for Claude Code. Codex and Cursor take a few lines, and ChatGPT, Claude and Grok Bot connect with your sign-in, on the MCP page.
Terminal claude mcp add --transport http --scope user mailstamp https://app.getmailstamp.com/mcp \ --header "Authorization: Bearer $MAILSTAMP_API_KEY"
What you can do
- Overview2Subscribers, email results and sends per hour, as on the dashboard's first page.
- Newsletters12Sender, postal address, welcome and confirmation emails, list cleanup, website and its own domain, and theme.
- Team4The people who work on a newsletter with its owner, as admins or members, and their invitations.
- Notifications5What the dashboard's bell shows, like a paused campaign or a finished import, and the emails MailStamp sends the owner.
- Campaigns21Drafts, previews as a contact, test emails, scheduling, sending, sending in steps and reports.
- Authors4Who writes a newsletter's emails: the name and picture readers see, and the address their replies go to.
- Contacts23Search, signups, imports with checks, status changes, deletes and exports.
- Segments6Saved conditions that pick some of a newsletter's contacts by engagement, signup date, source or address, to send campaigns to them only.
- Automations7Emails a newsletter sends on its own, one after another, to each contact who subscribes or gets a tag.
- Domains4Own sending domains with their DNS records, and the shared address.
- Images2Pictures for campaign content, on MailStamp's CDN, kept in the account's library to use again.
- API keys5Keys for the REST API and MCP.
- Billing6Plan, usage and links to change plan.
For agents reading this
- /llms.txt lists these pages and every endpoint.
- /llms-full.txt is the whole reference in Markdown.
- /api/v1/openapi.json is the API as OpenAPI 3.1, made from the same schemas as the MCP tools.