# Banger > Banger is email marketing your AI runs, for any business that keeps in touch with its customers: online stores first, then service businesses, local shops and apps. It is one email system for your company, operated by the AI assistant or agent you already use (Claude, ChatGPT, Codex, Cursor, Grok, or your own) through a remote MCP server and a REST API, with a web app for your team. Banger is made by BangerMail Inc. ## What Banger is - One system for company email: hosted mailboxes on your own domain (or a Banger-hosted starter address), product and transactional email sent from your software, Broadcasts (one-off sends to a list or segment), Journeys (automated lifecycle flows, from a one-step welcome to multi-branch sequences), contacts, lists, segments, signup forms, templates and on-brand email designs, sending domains and deliverability, Approvals, and Logs. - Three surfaces over the same workspace state: the MCP server for AI agents (https://api.bangermail.com/mcp), the REST API for code (https://api.bangermail.com), and the web app for people (https://app.bangermail.com/). - Who it is for: online stores first (welcome offers, cart reminders, repeat-purchase emails), then service businesses and local shops (follow-ups, news and offers, one inbox for client replies), and SaaS and apps (onboarding, upgrade and win-back Journeys plus product email). Positioning: https://bangermail.com/for/ecommerce/, https://bangermail.com/for/services/, https://bangermail.com/for/saas/. - Switching: free to move from Klaviyo, Mailchimp or Customer.io; a free setup call (https://calendly.com/tgloureiro/banger) moves your contacts and automations and connects your AI. - Setup: sign up free at https://app.bangermail.com/. Onboarding creates a Banger-hosted mailbox and proves a real send-and-receive round trip before it asks about a domain; adding your own domain gives you the exact DNS records and a verification the agent can run. - Company: BangerMail Inc. Contact: support@team.bangermail.com. Security reports: security@team.bangermail.com. ## Connect an AI assistant (MCP) - MCP server URL: https://api.bangermail.com/mcp - Transport: Streamable HTTP - Auth: OAuth 2.1 with PKCE (S256) and dynamic client registration. Protected resource metadata: https://api.bangermail.com/.well-known/oauth-protected-resource/mcp. Authorization server metadata: https://api.bangermail.com/.well-known/oauth-authorization-server. Unauthenticated requests get 401 with a WWW-Authenticate header pointing at the resource metadata. - Clients that cannot do OAuth can send a workspace API key as a Bearer token to the same endpoint. - Registry: listed in the official MCP Registry as com.bangermail/banger. Plugin manifests for Claude, Codex, and Grok: https://github.com/bangermail/banger-plugin - Machine-readable server description: https://bangermail.com/.well-known/mcp.json - Full guide: https://bangermail.com/banger-mcp/ ### Claude 1. Choose Add to Claude. Claude opens with Banger already filled in. 2. Choose Continue, then Connect. 3. Sign in to Banger and approve your workspace. One-click link: https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=Banger&connectorUrl=https%3A%2F%2Fapi.bangermail.com%2Fmcp Or add it by hand in Customize → Connectors with the URL above. Team and Enterprise owners add it for the organization first. ### Claude Code 1. Add Banger as a persistent user-scope server. 2. Log in once; the token is stored by Claude Code. ``` claude plugin marketplace add bangermail/banger-plugin claude plugin install banger@banger ``` Without the plugin: claude mcp add --transport http --scope user banger https://api.bangermail.com/mcp, then claude mcp login banger. ### ChatGPT 1. Turn on Developer mode in Settings → Security and login. 2. Open Plugins, select +, name it Banger and paste the MCP URL. 3. Authorize Banger for your workspace. Once Banger is listed in the ChatGPT directory, it will be one Connect click. ### Codex 1. Add the server; Codex detects OAuth automatically. 2. Log in; the browser opens the Banger authorization page. ``` codex mcp add banger --url https://api.bangermail.com/mcp codex mcp login banger ``` Codex CLI, the Codex app, and its IDE extensions share one configuration, so Banger appears in all of them. ### Grok 1. On grok.com open Connectors, choose New Connector, then Custom. 2. Paste the MCP URL as the server URL. 3. Approve the authorization page when Grok opens it. ``` grok plugin install bangermail/banger-plugin --trust ``` The command is for Grok Build; the connector steps are for the Grok app. ### Cursor and any other MCP client 1. Add a remote Streamable HTTP server at the MCP URL. 2. Pick OAuth. Discovery, registration, and PKCE need no manual setup. 3. Approve the authorization page and choose the workspace. Cursor: add a server in Cursor's MCP settings (mcp.json) with the URL below; Cursor handles the OAuth sign-in. ```json { "mcpServers": { "banger": { "url": "https://api.bangermail.com/mcp" } } } ``` Clients that cannot do OAuth can use a workspace API key created in Banger under Settings. ## REST API - Base URL: https://api.bangermail.com - Auth: `Authorization: Bearer `. Create keys in the Banger app under Settings → Developers → Manage API keys; choose the scopes the key needs. Keys start with `bgr_` and are shown once. - Reference with schemas and curl examples: https://bangermail.com/docs/api/ - OpenAPI 3.1 description (same operations): https://bangermail.com/openapi.json - API catalog (RFC 9727): https://bangermail.com/.well-known/api-catalog - Responses wrap results in `{ data }` and errors in `{ error: { code, message } }`. Send `Idempotency-Key` where an operation lists it. ## SMTP - Host submit.bangermail.com, port 465 (TLS) or 587 (STARTTLS); 2465 and 2587 where those are blocked. - Username `banger`; password a workspace API key with the `mail:send` scope. Login is offered only after TLS. - The From address must be on a hostname with an active Product lane. Every message appears in Logs. - Guide with settings, examples and reply codes: https://bangermail.com/docs/smtp/ ## Pricing US dollars, from https://bangermail.com/pricing/. Premium is billed yearly, or month to month for 20% more. Past what it includes, you pay per use, never more than your monthly limit. Every feature on every plan, Free included. - Free: $0. 500 emails a month, up to 100 a day; 256 MB storage; No watermarks; 7-day history; Community support. - Premium: $20/month billed yearly ($240/year), or $24 month to month. 100,000 emails a month, no daily cap; 50 GB storage; Unlimited history; Email support. - Enterprise: from $2,000/month billed yearly, or $2,400 month to month; book a call at https://calendly.com/tgloureiro/banger. From 2,000,000 emails a month; 2 TB storage; Dedicated IPs for sending; Slack support and 99.9% SLA; Pay by invoice, with a DPA. - Past what Premium includes: $0.30 per 1,000 emails, $0.10 per GB stored, a month. Usage is billed monthly. Never more than the workspace's spending limit: $100 a month unless changed; at 0, everything stops at what Premium includes. Free is free forever. No credit card. Upgrade only when you send or store more. Every email counts the same: marketing, product and mailbox. On Free, sends beyond the daily cap go out the next day. On Premium, use past what is included is billed monthly at the rates above, never more than your spending limit; at the limit, sending stops until the next month or until you raise it. We may pause sending that looks like spam or abuse. ## Safety model - Scoped OAuth: the authorization page shows the exact scope set, capped by the person's role, for one workspace. Scopes: `mail:read`, `mail:write`, `mail:send`, `contacts:read`, `contacts:write`, `campaigns:read`, `campaigns:write`, `campaigns:send`, `automation:read`, `automation:execute`, `connections:read`, `connections:use`, `connections:admin`, `workspace:admin`. Grants can be revoked in Banger under Settings → Agents. - Human Approvals: Banger always asks a person to approve certain actions, such as activating a Journey or publishing shared content. Sending, launching a Broadcast, and other governed actions follow the workspace approval policy: where it requires review, the agent proposes and a person approves in Banger. Agents and workspace API keys cannot approve. - Workspace-wide suppression: every Broadcast and Journey email carries one-click unsubscribe (RFC 8058). Unsubscribes, hard bounces, and spam complaints are suppressed across the whole workspace, and later sends to those addresses are refused. - Boundaries and audit: workspaces are company boundaries and products are strict email boundaries inside them. Governed mutations use idempotency keys, and every action lands in Logs. - Data handling: https://bangermail.com/trust/. Sending rules: https://bangermail.com/acceptable-use/. ## Key pages - [Banger: email your AI can run](https://bangermail.com/): Run Mailboxes, Broadcasts, and Journeys with your AI agent. - [Email for AI agents, on your own domain.](https://bangermail.com/email-for-ai-agents/): Give your AI agent an inbox, transactional email and marketing automation on your domain, with human Approvals. - [Banger MCP](https://bangermail.com/banger-mcp/): Connect Claude, ChatGPT, Codex, Grok, or any MCP client to your company email with OAuth you approve. - [Banger documentation](https://bangermail.com/docs/): Build with the Banger API and connect AI assistants through MCP. - [Banger API reference](https://bangermail.com/docs/api/): Banger API endpoints, authentication, request and response schemas, and curl examples for workspace resources and public signup forms. - [Send email over SMTP](https://bangermail.com/docs/smtp/): Send from Supabase Auth, WordPress or any app that speaks SMTP through submit.bangermail.com, with a Banger API key as the password. - [Banger Mail Pricing](https://bangermail.com/pricing/): Workspace pricing for Banger Mail: free to start, paid plans from $20 a month, and no seat or contact fees. - [How Banger handles your mail](https://bangermail.com/trust/): What Banger stores, where it lives, who can read it, and what leaves Banger's systems. - [Banger Acceptable Use & Anti-Spam Policy](https://bangermail.com/acceptable-use/): What you and your AI agents may and may not send with Banger: consent, unsubscribes, sender identity, prohibited content, and enforcement. - [Banger Status](https://bangermail.com/status/): Live reachability of Banger's API, MCP server, web app, and sign-in, checked every minute. - [Banger Support](https://bangermail.com/support/): How to get help with Banger, the Banger app for ChatGPT and Claude, and your account. ## Who it's for - [Email Marketing for Online Stores](https://bangermail.com/for/ecommerce/): Email marketing for online stores, run by your AI: welcome offers, cart reminders and repeat-purchase emails, sent from your own domain. - [Email Marketing for Service Businesses](https://bangermail.com/for/services/): Email marketing for service businesses, run by your AI: follow-ups after every job, news and offers for your clients, and one inbox for their replies. - [Email Marketing for SaaS and Apps](https://bangermail.com/for/saas/): Email marketing for SaaS and apps, run by your AI: onboarding Journeys, upgrade emails and win-backs, plus product email from your code. ## Features - [Email Marketing Features | Banger](https://bangermail.com/features/): Marketing automation, newsletters, scheduling, A/B tests, auto translation, signup forms, transactional email and a shared inbox, in one email platform on every plan. - [Marketing Automation | Banger](https://bangermail.com/features/marketing-automation/): Banger Journeys send each person the right email when they sign up, start a trial, leave a cart or go quiet. Build a flow once and it runs on its own. - [Email Newsletters | Banger](https://bangermail.com/features/newsletters/): Banger Broadcasts send newsletters, launches and sales to a list or segment, in your brand, with A/B tests and results that count real readers. - [Email Scheduling | Banger](https://bangermail.com/features/email-scheduling/): Schedule campaigns for the day and time they should land, pause or cancel them before they go, and keep every email inside the hours you choose. - [Email A/B Testing | Banger](https://bangermail.com/features/ab-testing/): Test 2 to 4 subject lines, senders, designs or whole Journeys. Banger sends the winner once it leads with 95% confidence, and counts real readers only. - [Email Auto Translation | Banger](https://bangermail.com/features/email-translation/): Write each email once. Banger translates it into each customer’s language, on every plan, and nobody ever gets an email in the wrong language. - [Email Signup Forms | Banger](https://bangermail.com/features/signup-forms/): Popups, bars, slide-ins, inline forms or a hosted page that add people to your list, in your brand, with email confirmation and consent recorded. - [Transactional Email | Banger](https://bangermail.com/features/transactional-email/): Send receipts, password resets and sign-in codes from your app through the Banger API or SMTP, in your brand, from your domain. - [Shared Inbox | Banger](https://bangermail.com/features/shared-inbox/): Banger Mailboxes give your team one shared inbox on your own domain, with the mail sorted, replies drafted and conversations assigned. Free and unlimited. ## Company - [About Banger Mail](https://bangermail.com/about/): Meet the team behind Banger, company email your AI runs, and learn why we are building it for founders and builders. - [Careers at Banger Mail](https://bangermail.com/careers/): Learn how to join the Banger Mail talent pool and help build agent-operated company email. ## Partners - [Run Your Clients’ Email on Banger](https://bangermail.com/partners/agencies/): Banger agency partners build, send and manage email for every client from one partner portal, and earn on the clients they bring. - [Earn with Every Customer You Send to Banger](https://bangermail.com/partners/affiliates/): The Banger affiliate program: recommend Banger to the stores, businesses and creators who follow you, and earn a share of what they pay. - [Partner portal](https://partners.bangermail.com/): apply, and track clients and earnings. ## Guides and tools - [Get started with Banger: connect your AI and send your first email](https://bangermail.com/getting-started/): Start for free, connect ChatGPT, Claude, Grok, Hermes, or OpenClaw, get a working mailbox right away, add your domain, and send your first welcome email. - [Free email domain checker: SPF, DKIM, DMARC, MX, and blocklists](https://bangermail.com/tools/email-domain-checker/): Check any domain’s email setup in seconds: MX records, SPF, DKIM, DMARC, reverse DNS, and spam blocklist status, with plain-English fixes for what’s missing. ## Comparisons - [Banger vs Resend, Mailchimp, Klaviyo and other email tools](https://bangermail.com/compare/): How Banger, the email platform your AI runs, compares with email APIs, newsletter tools, lifecycle platforms and agent inboxes, and what it adds. - [Banger vs Mailchimp: a Mailchimp alternative your AI runs](https://bangermail.com/compare/mailchimp/): Banger vs Mailchimp compared: AI agent access, newsletters, automations, transactional email, mailboxes and contact-based vs email-based pricing. - [Banger vs Klaviyo: the Klaviyo alternative your AI runs](https://bangermail.com/compare/klaviyo/): Banger vs Klaviyo compared: campaigns, automated flows, transactional email, MCP servers, mailboxes and profile-based vs email-based pricing. How Banger replaces Klaviyo for email. - [Banger vs Customer.io: the Customer.io alternative your AI runs](https://bangermail.com/compare/customer-io/): Banger vs Customer.io compared: MCP access, lifecycle Journeys, broadcasts, transactional email, mailboxes and pricing. ## Blog - [Banger Mail Blog](https://bangermail.com/blog/): Launch notes, product updates, and practical writing on company email, deliverability, and AI agents. - [Banger is now on ChatGPT](https://bangermail.com/blog/banger-is-now-on-chatgpt/): Our ChatGPT plugin is ready. Design emails, draft campaigns, and build automated Journeys with Banger. - [Cheapest transactional email APIs in 2026: pricing at 10k to 1M emails](https://bangermail.com/blog/cheapest-transactional-email-api/): Compare Banger, Resend, Postmark, SendGrid, Mailgun, SES, Mailtrap and Brevo at four sending volumes, with billing assumptions and sources. - [Best email API for AI agents in 2026](https://bangermail.com/blog/best-email-api-for-ai-agents/): Compare Banger, AgentMail, Resend and Postmark for agent inboxes, sending, MCP, automation, approvals and price. - [Claude email marketing: campaigns, newsletters and automated follow-ups](https://bangermail.com/blog/claude-email-marketing/): Use Claude with Banger to build welcome emails, newsletters, segments and win-back flows, with human approvals and clear sending costs. - [Email marketing MCP servers: Banger, Mailchimp, Klaviyo and Customer.io](https://bangermail.com/blog/email-marketing-mcp-server/): Compare official marketing MCP connections, supported campaign tools and review controls, then connect your AI to Banger with OAuth. - [AgentMail vs Resend vs Banger: which email platform should your AI use?](https://bangermail.com/blog/agentmail-vs-resend/): Compare AgentMail, Resend and Banger for agent inboxes, sending APIs, marketing automation, MCP access, human approvals and pricing. - [How to send a newsletter from ChatGPT on your own domain](https://bangermail.com/blog/send-newsletter-from-chatgpt/): Connect ChatGPT to Banger, collect or import subscribers, draft a branded newsletter, preview it and send a reviewed Broadcast. - [Lifecycle email tools for SaaS: seven platforms to compare in 2026](https://bangermail.com/blog/lifecycle-email-tools-saas/): Compare Banger, Customer.io, Loops, Klaviyo, Mailchimp, Brevo and Userlist for SaaS onboarding, activation, retention and win-back email. - [Meet Banger](https://bangermail.com/blog/banger-launch/): Welcome emails, newsletters, receipts, and replies. Banger lets your AI run company email so you can win more customers and keep them longer. - [What is an AI-native email platform?](https://bangermail.com/blog/agent-native-email-platform/): An AI-native email platform lets your AI run mailboxes, transactional email and marketing automation. Compare agent operations, AI features and approvals. - [Email deliverability basics for a brand-new domain](https://bangermail.com/blog/email-deliverability-new-domain/): Prepare a new domain for responsible sending: authentication, consent, measured rollout, unsubscribe handling, and Banger bounce and complaint thresholds. - [Email MCP server: run company email from your AI agent](https://bangermail.com/blog/email-mcp-server-ai-agents/): Connect an AI assistant to company email with Banger MCP: domain setup, mailboxes, sending, Journeys, scoped OAuth, and human approvals. - [How to give an AI agent access to company email safely](https://bangermail.com/blog/give-ai-agent-access-to-email-safely/): Use scoped OAuth, deliberate workspace policy, human Approvals, and delivery checks when an AI agent runs your company email through Banger. - [How to send company email from Claude with Banger](https://bangermail.com/blog/how-to-send-email-from-claude/): Add the Banger custom connector to Claude, authorize with OAuth, and prepare company email with human review and delivery checks. - [How to triage company email with an AI agent](https://bangermail.com/blog/how-to-triage-email-with-ai-agents/): Set up Banger Labels & Triage with exact conditions, plain-language rules, previews, and a careful rollout for your new product mailbox. - [How to send company email from ChatGPT with Banger](https://bangermail.com/blog/how-to-send-email-from-chatgpt/): Connect ChatGPT to Banger through MCP, prepare email from your company domain, review gated sends, and check delivery status. - [How to give your AI agent an email address on your domain](https://bangermail.com/blog/set-up-email-new-domain-ai-agent/): Give your AI agent an email address on your domain with Banger: connect MCP, verify DNS, create a mailbox and test sending and replies. - [Build a SaaS welcome email sequence with your AI agent](https://bangermail.com/blog/saas-welcome-email-sequence/): Draft a practical three-email welcome Journey in Banger, define consent and timing, and review the whole sequence before a person approves activation. - [Introducing Banger: company email your AI runs](https://bangermail.com/blog/introducing-banger-mail/): Banger gives solo builders an MCP server, API, and web review surface for company email, from a fresh domain to product messages and launch campaigns. - [Transactional vs marketing email for a small product](https://bangermail.com/blog/transactional-vs-marketing-email/): Choose the right path for receipts, account notices, newsletters, and welcome flows, and understand Banger sending lanes and shared safeguards. ## Legal and policies - [Banger Mail Terms of Service](https://bangermail.com/terms/): Terms of Service for Banger Mail. - [Banger Mail Privacy Policy](https://bangermail.com/privacy/): How Banger Mail accesses, uses, stores, shares, and deletes user data. - [Banger Acceptable Use & Anti-Spam Policy](https://bangermail.com/acceptable-use/): What you and your AI agents may and may not send with Banger: consent, unsubscribes, sender identity, prohibited content, and enforcement. - [Banger Mail Vulnerability Disclosure Policy](https://bangermail.com/security/): How security researchers can report vulnerabilities in Banger Mail. ## Machine-readable files - Full text of the key pages plus the API operation list: https://bangermail.com/llms-full.txt - OpenAPI: https://bangermail.com/openapi.json - MCP server description: https://bangermail.com/.well-known/mcp.json - API catalog: https://bangermail.com/.well-known/api-catalog - Live status (JSON): https://bangermail.com/status.json - Sitemap: https://bangermail.com/sitemap.xml - Canonical site: https://bangermail.com ## User guide (English) - [Quickstart](https://bangermail.com/docs/guide/getting-started/quickstart/): What Banger is made of, and the five steps from sign-up to your first Broadcast. - [Connect Banger to your AI](https://bangermail.com/docs/guide/getting-started/connect-banger/): Add Banger to ChatGPT, Claude, Grok, or any agent, and choose what it may do on its own. - [Connect your domain](https://bangermail.com/docs/guide/getting-started/add-domain/): Send from your own domain: choose lanes, add the DNS records, verify, and keep an existing email provider working. - [How do I send my first Broadcast?](https://bangermail.com/docs/guide/getting-started/first-email/): Send a real Broadcast to your Test list, which holds only you, and see exactly what your customers will get. - [Contacts and fields](https://bangermail.com/docs/guide/audience/contacts-and-fields/): What a contact is, the four subscription states, engagement, and the custom fields you use for segments and personalization. - [Import contacts](https://bangermail.com/docs/guide/audience/import-contacts/): Bring a CSV or Excel file into Banger: column matching, status rules, languages, and consent. - [Lists and segments](https://bangermail.com/docs/guide/audience/lists-and-segments/): Lists are groups you add people to. Segments are rules that update themselves. When to use each, and how to build them. - [Signup forms](https://bangermail.com/docs/guide/audience/signup-forms/): Collect subscribers on your website with an inline form, popup, bar, slide-in, or hosted page, with double opt-in. - [Unsubscribes, bounces, and suppressions](https://bangermail.com/docs/guide/audience/suppressions/): Which addresses Banger never emails, why, and how to remove a suppression. - [Frequency limits and delivery windows](https://bangermail.com/docs/guide/audience/contact-frequency/): Stop people from getting too many emails, and only deliver during the hours and days you choose. - [Brand kit](https://bangermail.com/docs/guide/designs/brand-kit/): Your logo, colors, fonts, style, and footer details. Every template and AI-written email uses them. - [Templates and the email editor](https://bangermail.com/docs/guide/designs/email-editor/): Start from 71 templates, edit text, buttons, and images, personalize with contact fields, and preview in real email apps. - [Shared layouts](https://bangermail.com/docs/guide/designs/layouts/): One header and footer for many emails. Change it once, review the impact, and publish it everywhere. - [Create a Broadcast](https://bangermail.com/docs/guide/broadcasts/create-broadcast/): One email to an audience, like a newsletter or launch. Start, Design, Audience, Review. - [A/B test a Broadcast](https://bangermail.com/docs/guide/broadcasts/ab-tests/): Send up to four versions of a Broadcast, see which wins on clicks, opens, or replies, and send the winner to everyone else. - [Review, test, schedule, and send](https://bangermail.com/docs/guide/broadcasts/review-test-schedule/): What must be ready before a Broadcast sends, test sends, scheduling, approval, and pausing or cancelling. - [Broadcast results](https://bangermail.com/docs/guide/broadcasts/results/): Delivered, opens, clicks, replies, and bounces, how they're counted, and each recipient's outcome. - [Build a Journey](https://bangermail.com/docs/guide/journeys/create-journey/): Emails that send themselves: a trigger, then emails, waits, and checks, with a goal that measures success. - [Journey triggers](https://bangermail.com/docs/guide/journeys/triggers/): The six ways people enter a Journey, what each needs, and how often someone can enter. - [Journey steps: waits, milestones, and checks](https://bangermail.com/docs/guide/journeys/timing-and-exits/): Wait, wait for a milestone, check progress, goals, and the ways people leave a Journey. - [A/B test a Journey](https://bangermail.com/docs/guide/journeys/ab-splits/): Split people across two to four paths, measure them against the goal, and promote the winner. - [Review and turn on a Journey](https://bangermail.com/docs/guide/journeys/activate-and-review/): The activation checklist, approval, and what happens when you edit a live Journey. - [Who's in a Journey, and Journeys sent from your code](https://bangermail.com/docs/guide/journeys/people/): See where each person is, what they received, and why they left. Name and manage emails your code already sends. - [Add and manage mailboxes](https://bangermail.com/docs/guide/mailboxes/add-mailbox/): Free Banger addresses, addresses on your own domain, connecting Gmail, sender names, pauses, and deleting a mailbox. - [Read, search, and reply](https://bangermail.com/docs/guide/mailboxes/read-and-reply/): Folders, search, reading layouts, compose, reply, and the actions on a conversation. - [Labels and Triage](https://bangermail.com/docs/guide/mailboxes/labels-and-triage/): Label mail automatically and let AI rules skip the inbox, mark as read, or star new mail, described in plain words. - [Approvals](https://bangermail.com/docs/guide/operations/approvals/): What needs a person's approval, how to set the threshold, and how to approve, reject, or revise a request. - [Logs](https://bangermail.com/docs/guide/operations/logs/): Every email sent and received, from every source, with its status and full timeline. - [Deliverability and sending pauses](https://bangermail.com/docs/guide/operations/deliverability/): Bounce and complaint limits, when Banger pauses sending to protect your reputation, and how to resume. - [Webhooks, API keys, and SMTP](https://bangermail.com/docs/guide/operations/webhooks-and-api/): Send events into Banger, get notified about email events, create API keys, and send product email through the API or SMTP. - [Send email over SMTP](https://bangermail.com/docs/guide/operations/smtp-relay/): Connect Supabase Auth, WordPress, or any app that speaks SMTP to Banger, so its email leaves from your domain and shows up in Logs. - [Languages and automatic translation](https://bangermail.com/docs/guide/workspace/languages/): Write once, and each contact gets your email in their language. How translation works, when it runs, and what happens if it isn't ready. - [Workspaces, projects, team, and connected AI](https://bangermail.com/docs/guide/workspace/team-permissions-billing/): How workspaces and projects separate your email, inviting teammates, roles, and managing connected AI apps. - [Plans, limits, and billing](https://bangermail.com/docs/guide/workspace/plans/): What each plan includes, what Premium charges past that, what happens when you reach a limit, and how to upgrade or manage invoices. - [Troubleshooting and getting help](https://bangermail.com/docs/guide/workspace/troubleshooting/): Find where an email is stuck, fix the common causes, and reach the Banger team. ## Agent guides and extended references - [ChatGPT](https://bangermail.com/agents/chatgpt/) - [Claude](https://bangermail.com/agents/claude/) - [Grok](https://bangermail.com/agents/grok/) - [Hermes](https://bangermail.com/agents/hermes/) - [OpenClaw](https://bangermail.com/agents/openclaw/) - [Replit](https://bangermail.com/agents/replit/) - [n8n](https://bangermail.com/agents/n8n/) - [Other agents & CLI](https://bangermail.com/agents/other-agents/) - [Product guide](https://bangermail.com/index.md) - [MCP tool catalog](https://bangermail.com/mcp.md) - [API guide](https://bangermail.com/api.md) - [Bangerverse](https://github.com/bangermail/bangerverse) --- # Full content This is the complete llms.txt summary above, followed by the text of Banger's key pages as published on https://bangermail.com and a list of every public API operation. Generated at build time from the site and the API contract. ## Page: Banger MCP: connect Claude, ChatGPT, Codex, Grok, or any agent to your company email URL: https://bangermail.com/banger-mcp/ Summary: Banger MCP is one remote MCP server for your company email. Connect Claude, Claude Code, ChatGPT, Codex, Grok, or any MCP client with OAuth you approve, then let it run Mailboxes, Journeys, Broadcast, Product email, Approvals, and Logs. ### Let your AI run your company email. Connect ChatGPT, Claude, Grok or the AI you already use. It answers your mail, welcomes new customers and sends your newsletters, and you approve what matters. Your Banger link `https://api.bangermail.com/mcp` Paste it into your AI’s connection settings. Each guide below shows where. T Banger Welcome emailDraft **Welcome to Tidepool. Start here.**Three moves, about ten minutes, and your first workout is planned. Here’s your welcome email template. Ask anything ChatGPT can make mistakes. Check important info. #### Pick your AI. Follow the steps. Each guide shows the real screens, step by step, and a first thing to ask. [ChatGPT Win more customers from ChatGPT. See the steps](https://bangermail.com/agents/chatgpt/)[Claude Win more customers from Claude. See the steps](https://bangermail.com/agents/claude/)[Grok Win more customers from Grok. See the steps](https://bangermail.com/agents/grok/)[Hermes Keep customers coming back, with Hermes. See the steps](https://bangermail.com/agents/hermes/)[OpenClaw Win more customers from OpenClaw. See the steps](https://bangermail.com/agents/openclaw/)[Replit Give the app you build real email. See the steps](https://bangermail.com/agents/replit/)[n8n Let your n8n agents run your email. See the steps](https://bangermail.com/agents/n8n/)[Other agents & CLI One connection. Your choice of agent. See the steps](https://bangermail.com/agents/other-agents/) #### Everything your email needs, handled by your AI. Ask in plain words. Banger does the work, and your team sees every result in the app. ##### Getting started Set up your brand, send your first email and add your domain, one guided step at a time. Banger Setup is open: your brand first, then a test email, then your domain. ##### Mailboxes Read, sort and answer your team’s email, from addresses on your own domain. Banger 4 conversations need a reply, and 2 of them are yours. ##### Product email Receipts, confirmations and alerts your app sends, with proof that each one arrived. Banger Delivered at 09:42 and opened two minutes later. ##### Broadcast Newsletters and announcements: choose who gets them, preview, then send or schedule. Banger 1,248 people will get it. It is ready and waiting for your OK. ##### Journeys Emails that send themselves at the right moment, like a welcome series or a nudge for quiet customers. Banger Your welcome Journey is ready and waiting for your OK. ##### Contacts Your customer lists, kept tidy, with only people who agreed to hear from you. Banger 312 contacts added. 4 were skipped because they never opted in. ##### Design Emails that look like your brand, and tests that show which version works better. Banger Updated with your colours, logo and footer. ##### Your domain Send from your own domain, with simple setup steps and a check that it works. Banger Add these 3 settings at your domain provider, and I will check them for you. ##### Approvals and history See what is waiting for your OK, and everything your AI has done. Banger Two things: a welcome Journey and the October newsletter. #### You stay in charge. Before your AI connects, Banger shows exactly what it will be able to do, and you choose where. Anything big, like emailing your whole list, can wait for your approval. - You approve every connection. - Big sends wait for your OK. - Everything your AI does is recorded. - Disconnect it any time. **app.bangermail.com**/oauth/authorize?response_type=code&client_id=bcl_7Kq2xVfN9tR4&redirect_uri=…&scope=mail%3Aread+mail%3Awrite+mail%3Asend+campaigns%3Aread+campaigns%3Awrite+automation%3Aexecute+workspace%3Aadmin&code_challenge=…&code_challenge_method=S256 Claude wants to use Banger as **alex@acme.com** in **Acme** This lets Claude: **Mailboxes**Read, draft and send email from your mailboxes. **Contacts and broadcasts**Manage contacts, lists, templates and broadcasts. **Journeys and automations**Build journeys and automations with your connected tools. **Workspace setup**Set up your brand, domains and mailboxes. ▸Exact access Only allow apps you trust. Sends, deployments and provider changes still follow your workspace’s approval rules. DenyAllow Allowing takes you back to claude.ai. Claude stays connected until you revoke it in Settings. Building your own agent? [Read the developer reference](https://bangermail.com/mcp.md) #### Common questions. Straight answers about access, approvals and your domain. Which AI tools work with Banger? ChatGPT, Claude, Grok, Hermes, OpenClaw, Replit, n8n, Codex, Cursor and any assistant that can connect to apps. Each one has a step-by-step guide on this page. What can my AI see and do? Only the workspace you choose when you connect, and only what your own role allows. Each of your brands keeps its own contacts and mailboxes separate. You can disconnect it at any time. Can my AI send email without asking me? Only if you let it. Sending a newsletter, starting an automated email and other big actions can wait for a person to approve them in Banger, and everything is recorded. Do I need my own domain first? No. You start with a free Banger address and send a real test email. Add your own domain whenever you are ready, and Banger walks you through it. Can I connect my own app or scripts? Yes. Create an API key in Banger’s settings for scripts and automations. For AI assistants, signing in with your Banger account is simpler and safer. #### Give your AI a real email team. Start free with a Banger address, add your domain when you are ready, and let your AI handle the rest while you approve what matters. [Get Banger](https://app.bangermail.com/) See the guides --- ## Page: Banger pricing: start free, every feature on every plan URL: https://bangermail.com/pricing/ Summary: Start free with 500 emails a month. Every feature on every plan, with unlimited contacts and mailboxes. Paid plans from $20 a month. ### Pricing ##### Free Launch and win your first customers. Every feature, no bill. $0 /mo Forever free · No credit card [Start for free](https://app.bangermail.com/) - 500 emails a month, up to 100 a day - 256 MB storage - No watermarks - 7-day history - Community support ##### Premium For a growing product, with no daily cap. Past what's included, you pay per use. $24 $20 $24 /mo billed yearly /mo [Choose Premium](https://app.bangermail.com/) - 100,000 emails a month, no daily capthen $0.30 per 1,000 more - 50 GB storagethen $0.10 per GB more - Unlimited history - Email support ##### Enterprise For millions of emails a month, with guarantees in writing. From $2,400 $2,000 $2,400 /mo billed yearly /mo [Talk to us](https://calendly.com/tgloureiro/banger) - From 2,000,000 emails a month - 2 TB storage - Dedicated IPs for sending - Slack support and 99.9% SLA - Pay by invoice, with a DPA #### Unlimited, not “up to”. Every feature on every plan, Free included. - Contacts No per-contact pricing. Grow your list for free. - Mailboxes hello@, support@, one for every teammate or agent. - Domains Every product and brand you run. - Teammates No seat fees, ever. - Broadcasts & Journeys As many as you want, on every plan. - API & MCP Let your agents send and read email. #### See what you'd save Banger Emails a month · - Banger: -: You save a year ##### What you pay as your list grows Regular usage, as contacts grow. US month-to-month list prices, from each tool's own pricing page. Billed yearly, Premium costs less. [Every comparison, with sources →](https://bangermail.com/compare/) #### Build your month Emails a month **100,000 free with Premium** · $0.30 per 1,000 emails Storage **50 GB free with Premium** · $0.10 per GB stored, a month /mo #### Your first emails are free. Start today. [Start for free →](https://app.bangermail.com/) [Book a meeting with us →](https://calendly.com/tgloureiro/banger) --- ## Page: How Banger handles your mail URL: https://bangermail.com/trust/ Summary: What Banger stores, where it lives, who can read it, and what leaves Banger's systems. Security & data ### How Banger handles your mail Banger is an email system that you and your AI agents operate through the web app, the API, and the MCP server. It runs mailboxes on your domain, product email from your software, and Broadcasts and Journeys to your contacts. This page describes what Banger stores, where it lives, who can read it, and what leaves Banger's systems. #### Where your mail lives Mail, contacts, and content live in Banger's cloud: message records and search in a PlanetScale Postgres database hosted on AWS in the United States, and raw messages, attachments, and files in Backblaze B2 storage in the United States. When you connect a Gmail account, Google stays the source of truth and Banger keeps a copy so it can show, search, and act on your mail. #### Encryption and access All traffic to and from Banger uses TLS 1.2 or higher, and stored data is encrypted at rest by the providers that hold it. The most sensitive secrets get an extra layer: Google refresh tokens, connected provider keys, and your own AI keys are envelope-encrypted with AES-256-GCM before they are stored, and DKIM signing keys are stored encrypted. Each workspace's data is separated with database-level access controls, and every agent and API key is limited to the permissions you grant. Like a password manager, Banger manages these keys for you, so you do not have to hold or back up key material yourself. The trade-off of managed keys is that Banger, unlike a strictly end-to-end encrypted system, can technically read stored mail. Mail is processed in readable form on Banger's servers so it can be searched, filtered, triaged, displayed, and delivered. Access to production data is limited to the people who run the service, and sign-in, agent, and administrative actions are recorded in audit logs. #### What Banger asks Google for When you connect a Gmail account, Banger requests your basic account identity and two mail permissions: read your mail and send on your behalf. Banger does not request permission to modify or delete your mail. Labels and other changes you make in Banger stay in Banger. #### Independent security assessment Banger Mail has completed a CASA Tier 2 assessment. CASA, the Cloud Application Security Assessment run under Google's App Defense Alliance, is the security review Google requires for applications that access restricted Gmail data. Tier 2 is an independent verification performed by an authorized third-party assessor against the OWASP Application Security Verification Standard, covering how an application protects credentials, user data, and access. Because Banger reads your mail under Google's restricted scopes, it is assessed to this standard. #### Search Search runs on Banger's servers, against a full-text index of your mail in Banger's database. It is available only to your workspace and the agents you authorize. #### AI features Banger uses AI for specific jobs and sends each provider only what that job needs. OpenAI designs and revises emails you ask for, answers questions about your mail in the mail assistant, reads your public website to suggest your brand during setup, and translates templates. TypeSafe runs Labels & Triage on incoming mail in mailboxes where you have enabled rules, with some personal details removed first, and suggests column mappings when you import contacts. The mail assistant's run history is deleted after one hour. You can also connect your own OpenAI or Anthropic key, and any AI agent you connect through MCP reads data under your own agreement with its provider. Banger does not sell your data and does not use your mail to train AI models. #### Spam protection Outgoing mail passes a spam filter before it is sent. Broadcasts and Journeys always carry one-click unsubscribe, and unsubscribes, hard bounces, and spam complaints are suppressed across your workspace automatically. See the [Acceptable Use & Anti-Spam Policy](https://bangermail.com/acceptable-use/). #### Analytics Banger's product analytics use pseudonymous identifiers and never receive your mail content or email address. Sensitive fields are removed before any event leaves Banger's servers. #### Transport Mail and app traffic move over TLS 1.2 or higher. Outbound mail from domains set up with Banger is DKIM-signed. #### Deleting your data Deleting your account starts a seven-day window during which you can cancel. After it, Banger deletes your workspace's database records and stored files, keeping only minimal records needed for security, billing, and legal reasons. To revoke Banger's access to a connected Google account, remove Banger at [myaccount.google.com/permissions](https://myaccount.google.com/permissions). #### Subprocessors Banger uses the following providers to operate the service: - Cloudflare: application hosting, queues, logs, bot protection, and DNS lookups - PlanetScale: primary database, hosted on AWS in the United States - Backblaze B2: mail, attachment, and file storage in the United States - Amazon Web Services: email sending (Amazon SES) and secrets storage, in the EU (Frankfurt) - Hetzner: mail receiving and sending servers, spam and malware filtering, logs and monitoring - Google: Gmail connection for mailboxes you link - OpenAI: email design, mail assistant, brand discovery, and translation - TypeSafe: Labels & Triage and contact import mapping - Stripe: billing and payments - PostHog: product analytics (US), pseudonymous identifiers, no mail content or email addresses - Linear and Slack: support and feedback messages you send us #### More detail For the full terms, see our [Privacy Policy](https://bangermail.com/privacy/) and [Acceptable Use & Anti-Spam Policy](https://bangermail.com/acceptable-use/). To report a security issue, see our [Vulnerability Disclosure Policy](https://bangermail.com/security/). --- ## Page: Banger Acceptable Use & Anti-Spam Policy URL: https://bangermail.com/acceptable-use/ Summary: What you and your AI agents may and may not send with Banger: consent, unsubscribes, sender identity, prohibited content, bounce and complaint handling, and enforcement. Last updated October 26, 2026 ### Acceptable Use & Anti-Spam Policy This Acceptable Use & Anti-Spam Policy (the **Policy**) explains what you may and may not do with Banger. It is part of our [Terms of Service](https://bangermail.com/terms/). It applies to you, everyone in your workspace, and every AI agent, API key, automation, Journey, or integration that acts on your workspace’s behalf. #### 1. You are responsible for your agents Banger is built to be operated by AI agents. An agent connected to your workspace through the MCP server or an API key acts for you. Everything it sends, imports, or changes is treated as if you did it yourself, and this Policy applies to it in full. - Choose which actions need human approval, and review what your agents propose. Banger always asks a person to approve certain actions, such as activating a Journey or publishing shared content. Workspace API keys cannot approve human approvals. - Do not instruct, prompt, or configure an agent to do anything this Policy prohibits, and do not use agents to get around Banger’s limits or safeguards. - If an agent misbehaves, pause it or revoke its access. You remain responsible for messages it has already sent. #### 2. Consent Send marketing email, including Broadcasts, newsletters, and promotional Journeys, only to people who have given you permission to email them, or where applicable law clearly allows you to email them without it. You must be able to show when and how each person agreed. Banger helps you keep that record: - Signup forms use double opt-in by default: new subscribers confirm by email before they are added. - When you or an agent add a contact as subscribed, through an import, the API, or MCP, you must confirm that you have their consent. Banger records who confirmed it and when, and accepts optional evidence such as the source and the statement the person agreed to. - Banger will not release a Broadcast to subscribed contacts that have no confirmed consent. Confirming consent you do not have is a violation of this Policy. #### 3. Lists you may not use Except as §8 allows for Outreach, you may not send to, import, or upload addresses that you: - bought, rented, borrowed, traded, or received from a list broker or data vendor; - scraped, harvested, or guessed from websites, directories, social networks, or other sources; - collected for a different purpose, or under a different brand, without telling people they would get this email; or - received from an affiliate or third party that cannot show consent for your sending. Do not re-add people who unsubscribed, complained, or whose addresses hard-bounced, unless they give you fresh consent. #### 4. Unsubscribes Every marketing email must let recipients unsubscribe easily and for free. - **What Banger does automatically.** Every Broadcast and Journey email Banger sends includes `List-Unsubscribe` and one-click unsubscribe (`List-Unsubscribe-Post`, RFC 8058) headers, and a visible unsubscribe link in the recipient’s language when the email does not already contain one. When someone unsubscribes, Banger immediately suppresses the address for your whole workspace, marks the contact unsubscribed, and stops any sequence it was in. Banger refuses later sends to a suppressed address from any part of your workspace. - **What you must do.** Do not remove, hide, or break the unsubscribe link, or make people log in, pay, or give more than their email address to leave. If someone asks to unsubscribe by replying or by any other channel, honor the request promptly and in any case within the time the law allows. Under the US CAN-SPAM Act, that is ten business days. - **Product email.** Banger treats product email sent from your software, such as receipts, password resets, and account notices, as transactional, and it does not carry a marketing unsubscribe link. Send product email only for genuine transactional or relationship purposes. If an email’s main purpose is promotional, send it as a Broadcast or Journey so it carries an unsubscribe. #### 5. Identify yourself honestly - Use accurate From names, addresses, Reply-To addresses, and routing information that identify you or your business. - Send only from domains and mailboxes you own or are authorized to use. Do not spoof or impersonate another person, brand, or organization. - Use subject lines that honestly reflect the content of the email. - Include your company name and a valid postal address in marketing email. Banger requires both in your product’s brand footer before a Broadcast can be released or a Journey with Broadcast steps can be activated. - Identify an email as an advertisement where the law requires it. #### 6. Anti-spam and privacy laws You are responsible for complying with every law that applies to you and to the people you email. Depending on where you and your recipients are, these include: - **United States – CAN-SPAM Act:** no false or misleading header information or subject lines, a valid postal address, a clear way to opt out, and opt-outs honored within ten business days. - **European Union and United Kingdom – GDPR, UK GDPR, and ePrivacy/PECR rules:** a lawful basis for processing, prior consent for most electronic marketing to individuals, clear information about how you use personal data, and respect for data subject rights. - **Brazil – LGPD:** a legal basis for processing, transparency about how personal data is used, and respect for data subject rights, including the right to revoke consent. - **Canada – CASL:** express or implied consent before sending commercial electronic messages, identification of the sender with contact information, and an unsubscribe mechanism that is honored within ten business days. This summary is not legal advice. Local rules differ, and you should get your own advice about your obligations. #### 7. Prohibited content and uses You may not use Banger to send, host, or link to: - phishing, credential harvesting, malware, or links designed to deceive recipients; - fraud, scams, pyramid or multi-level schemes, or deceptive claims about health, finances, or earnings; - content that is illegal where you send it or where it is received, or that promotes illegal goods or services; - child sexual abuse material, or any content that sexualizes minors; - harassment, threats, hate speech, or content that promotes violence; - intimate images shared without the subject’s consent; - content that infringes someone else’s intellectual property, privacy, or publicity rights; or - unsolicited bulk commercial email. The following need our written approval before you send them through Banger, and we may pause sending in these categories until we have reviewed it: sexually explicit content; gambling; cryptocurrency, trading, or investment offers; payday or other high-interest lending; debt collection; and automated outreach to people who have not asked to hear from you. You also may not: - rotate domains, mailboxes, or workspaces to spread out complaints or avoid suppressions and limits; - use Banger as an open relay or send on behalf of third parties who are not part of your workspace; - create workspaces to get around a suspension; or - probe, test, or send to addresses to check whether they exist. Banger checks outgoing mail with a spam filter and refuses messages that score as spam-like. #### 8. Outreach Outreach sends email written for one person at a time from your own Google Workspace mailboxes. It is off until Banger turns it on for your workspace, which is the written approval §7 asks for. With Outreach, and only with it, you may write to people at businesses who have not asked to hear from you, under these rules: - **Business addresses you found.** Write only to work addresses at businesses you found yourself, for example on the business’s own website or with an email-finding service, about something relevant to the person’s work. Never to personal mailboxes, bought or rented lists, or anyone who has asked not to be contacted. - **Where the law allows it.** Banger checks each address against its country’s rules when you import it and leaves out the ones you may not write to, with the reason. When you confirm something about a list, such as that its businesses are companies or that its addresses are published, it must be true. - **One person writing to another.** Each email is written for its person and says honestly who you are, from a real person’s mailbox at your business, at the pace Banger sets. Do not send the same message to many people, or add mailboxes to send more. - **Stop when asked.** Banger adds a footer to every cold email that says who is writing, gives your postal address, says where you found the address, and invites a reply to opt out. Banger stops writing to anyone who replies or unsubscribes, and to their company once someone there replies. If someone asks you to stop in any other way, add them to your suppressions. - **Their data.** Use a prospect’s details only to write to them, tell anyone who asks where you got their address, and delete their details when they ask. #### 9. Bounces, complaints, and sender reputation High bounce and complaint rates hurt your deliverability and every other Banger customer’s. Banger acts on them automatically: - **Suppression.** When a recipient’s server permanently rejects an address (a hard bounce), or a recipient reports your email as spam, Banger suppresses that address for your whole workspace and refuses later sends to it. Soft bounces, such as a full mailbox, are not suppressed. - **Complaints on person-to-person mail.** A single spam complaint about email sent from a mailbox suspends that mailbox. - **Complaints on bulk mail.** For Broadcasts and Journeys, Banger suspends the sending mailbox when it receives at least 3 spam complaints and those complaints reach at least 0.3% of the mailbox’s bulk recipients over the previous 24 hours. - **What a suspension means.** A suspended mailbox cannot send. A workspace administrator can reactivate it after acknowledging the complaint. Fix the cause first. - **Warnings.** Banger alerts you when your bounce rate is above 2% or your complaint rate is above 0.1%, and flags a complaint rate at or above 0.3% or a bounce rate at or above 5% as critical. Major mailbox providers expect bulk senders to keep complaint rates below 0.1% and never reach 0.3%. - **Limits.** The Free plan can send up to 100 emails a day. All plans have a monthly sending allowance, described in the [Terms of Service](https://bangermail.com/terms/#10-plan-limits). #### 10. Enforcement If we believe you or your agents have violated this Policy, or your sending puts recipients, Banger’s infrastructure, or other customers’ deliverability at risk, we may do any of the following, with or without prior notice depending on the urgency and severity: - refuse or hold individual messages, and suppress addresses; - pause a Broadcast, Journey, or sending lane; - suspend a mailbox or sending domain; - restrict features or lower sending limits; - suspend the workspace; or - terminate your account under the [Terms of Service](https://bangermail.com/terms/). We will usually tell you what happened and how to fix it. We may report illegal content or activity to the appropriate authorities. Enforcement does not entitle you to a refund except where the Terms of Service or the law require one. #### 11. Reporting abuse If you received unwanted email sent through Banger, you can use the unsubscribe link in the email. To report spam, phishing, or other abuse, email [hello@team.bangermail.com](mailto:hello@team.bangermail.com) and include the full message with its headers if you can. We review every report. #### 12. Changes We may update this Policy as Banger, the law, or mailbox providers’ requirements change. We will update the date above and, when a change is material, notify workspace administrators before it takes effect. #### Quick summary - Send marketing email only to people who agreed to hear from you. Never use bought, rented, or scraped lists. - Banger adds one-click unsubscribe to every Broadcast and Journey email and suppresses unsubscribers across your workspace immediately. - Marketing email needs your company name and postal address. Banger will not release a Broadcast without them. - Hard bounces and spam complaints are suppressed automatically. Complaints can suspend the sending mailbox. - You are responsible for everything your AI agents send through Banger. - Outreach writes to business addresses one person at a time, only where the law allows, and stops at any reply or opt-out. --- ## Page: Banger Support URL: https://bangermail.com/support/ Summary: How to get help with Banger, the Banger app for ChatGPT and Claude, and your account. ### Support In Banger, open **Help** at the bottom of the sidebar (on a phone, under More) and write what’s going on. Your workspace, the screen you’re on and any recent error are attached for you, and the support team replies by email the same day. Your AI assistant can do the same: ask it to contact Banger support. Not using Banger yet? Ask a question at the bottom-right of any page on this site. The answer comes from our docs, and you can send the question to a person whenever you like. You can also email [support@team.bangermail.com](mailto:support@team.bangermail.com). Please do not send passwords, API keys or one-time codes. #### Banger in ChatGPT and Claude Banger connects to ChatGPT and Claude through its MCP server at `https://api.bangermail.com/mcp`. When you connect, Banger opens its own sign-in page: enter your email, then the one-time code we send you, and choose the workspace the assistant may use. - **The assistant cannot see Banger’s tools.** Turn Banger on for the conversation, or reconnect it after we ship new tools. - **A Journey or Broadcast is waiting for review.** Some sends need a person to approve them in Banger’s Approvals. The assistant links you there; it cannot approve on your behalf. - **Remove access.** Revoke the assistant in Banger under Settings, Agents, or remove the connector in ChatGPT or Claude. #### Your account and data To export or delete your data, or to close your workspace, email us from the address you sign in with. The [Privacy Policy](https://bangermail.com/privacy/) explains what we collect and how long we keep it, and the [Terms of Service](https://bangermail.com/terms/) cover plans and billing. #### Security Report suspected vulnerabilities to [security@team.bangermail.com](mailto:security@team.bangermail.com). See the [Vulnerability Disclosure Policy](https://bangermail.com/security/) for scope. #### Quick summary - In Banger, open Help in the sidebar. The support team replies by email the same day. - Not signed in? Ask a question at the bottom-right of any page, or email support@team.bangermail.com. - Report security issues to security@team.bangermail.com. - Manage or remove connected AI assistants in Banger under Settings, Agents. --- ## Page: Banger Mail Vulnerability Disclosure Policy URL: https://bangermail.com/security/ Summary: How security researchers can report vulnerabilities in Banger Mail. Last updated September 27, 2026 ### Vulnerability Disclosure Policy Banger Mail welcomes good-faith security research. If you believe you have found a vulnerability in Banger Mail, email [security@team.bangermail.com](mailto:security@team.bangermail.com). Include the affected host or application, reproduction steps, expected impact, and any logs or screenshots that help us understand the issue. We do not currently publish a PGP key; please avoid sending unnecessary secrets, personal data, or mailbox content. #### How to report Send one report per issue when possible. Give us enough detail to reproduce the behavior safely, and tell us whether you believe the issue is being actively exploited. Please stop testing once you have enough proof to demonstrate the vulnerability. #### Scope In scope: - `app.bangermail.com`, the Banger web app; - `api.bangermail.com`, the Banger API, including the MCP server at `api.bangermail.com/mcp` and its OAuth endpoints; - `auth.muchbetterapps.com`, the sign-in service Banger uses (it keeps our former company name); - `cloud.bangermail.com`, which handles Google mailbox connections; and - `bangermail.com`, the public website, including its free tools. Reports involving authentication, OAuth and agent authorization, API keys, MCP tool permissions, cross-workspace access, mail routing, sending on another customer’s domain, mailbox data protection, or exposed sensitive data are especially useful. #### Out of scope Out of scope: denial-of-service or high-volume automated testing, social engineering, physical attacks, password-reuse account takeover, and vulnerabilities that exist only in third-party services not operated by BangerMail Inc. Do not spam, phish, credential-stuff, persist access, exfiltrate data, or view data beyond what is necessary to prove the issue. #### Acknowledgement SLA We will acknowledge in-scope reports within 3 business days and may ask for additional detail while we investigate. We will prioritize reports based on likely user impact, exploitability, and whether the issue appears to affect mailbox data or account access. #### Safe harbor We consider good-faith research within this policy authorized. If you stay within scope, avoid privacy harm and service disruption, promptly report accidental access, and do not retain or share data, we will not pursue legal action for that research. #### Coordinated disclosure Our coordinated-disclosure default is 90 days after acknowledgement unless we mutually agree otherwise or active exploitation requires faster action. This is not a paid bug-bounty program. #### Quick summary - Report suspected vulnerabilities to security@team.bangermail.com. - We acknowledge in-scope reports within 3 business days. - Our coordinated-disclosure default is 90 days. --- ## Page: Banger Terms of Service URL: https://bangermail.com/terms/ Summary: Terms of Service for Banger, including plans, billing, plan limits, and the responsibilities that come with letting AI agents send email for you. Last updated October 13, 2026 ### Terms of Service These Terms of Service govern your use of Banger: the website at bangermail.com, the web app at app.bangermail.com, the Banger API and MCP server, and related services made available by BangerMail Inc. (**Banger**, **we**, **us**). By creating an account, connecting an agent, or otherwise using Banger, you agree to these Terms, including our [Acceptable Use & Anti-Spam Policy](https://bangermail.com/acceptable-use/) and our [Privacy Policy](https://bangermail.com/privacy/). #### 1. Eligibility and authority You may use Banger only if you can form a binding agreement and are at least sixteen years old. If you use Banger on behalf of a company or other organization, you confirm that you have authority to bind that organization to these Terms, and “you” includes that organization. #### 2. The service Banger is an email system that you and the AI agents you authorize can operate. It covers mailboxes on your domains, product and transactional email sent from your software, broadcasts and journeys to your contacts, contact lists and signup forms, and the setup of the sending domains behind them. You can use Banger through the web app, the API, and the MCP server, and review, approve, edit, or stop what agents do in the web app. Features change over time. Some features may be labeled beta or preview; they may be less reliable and may change or be removed. #### 3. Accounts, workspaces, and administrators - You are responsible for keeping your sign-in methods, API keys, and agent connections secure, and for all activity under your account and workspace. - A workspace holds your products, domains, mailboxes, contacts, content, settings, and billing. Workspace administrators can add or remove members, connect agents and providers, configure approvals and automations, and access workspace data. - Tell us promptly at [security@team.bangermail.com](mailto:security@team.bangermail.com) if you believe your account, an API key, or an agent connection has been compromised. #### 4. AI agents, API keys, and MCP connections Banger is designed to be operated by AI agents on your behalf, such as an assistant connected through the Banger MCP server or software using a Banger API key. - **Agents act for you.** Anything an agent does with a connection or key you authorized, including drafting, sending, replying, importing contacts, changing domain or DNS settings, or buying a plan, is treated as your action. You are responsible for what your agents send and do, as if you had done it yourself. - **Approvals are your safeguard.** Banger lets you require human approval for certain actions. Some actions always require it. You choose how much to review, and you remain responsible for actions you approve and for actions you allow to run without review. - **Keep control of access.** You can see and revoke connected agents and API keys at any time. Revoking access stops future actions; it does not undo messages already sent. - **Third-party agents are yours.** The AI assistant or software you connect to Banger is provided by you or a third party, not by Banger, and is governed by its own terms. Banger is not responsible for its instructions, errors, or outputs, but the Banger safeguards described in these Terms and the Acceptable Use & Anti-Spam Policy still apply to everything it sends through Banger. #### 5. Your domains, mailboxes, and connected providers - You may add only domains and mailboxes you own or are authorized to use. When you ask Banger or an agent to change DNS records or set up sending, you authorize those changes for that domain. - If you connect a third-party provider, such as a Google account, you must be authorized to do so. You authorize Banger to access the data and perform the actions allowed by the permissions you grant during that provider’s consent flow. You can revoke access at any time from the provider’s own settings, for example your Google account permissions. - You are responsible for messages sent from your domains and mailboxes through Banger. #### 6. Your content As between you and Banger, you keep your rights in the content you submit to or process with Banger, including messages, contacts, templates, and brand assets (**Customer Content**). You grant Banger the limited rights needed to host, store, process, transmit, and display Customer Content to provide, secure, and support the service. You represent that you have all rights, permissions, and, where required, consent needed for the Customer Content and contact data you bring to Banger, and for the messages you or your agents send. #### 7. AI features Some Banger features use AI models, for example to design emails, suggest labels, triage incoming mail, map imported contacts, or translate content. The providers that power these features, and what they receive, are described in our [Privacy Policy](https://bangermail.com/privacy/#5-ai-processing). AI output can be incomplete or wrong. Review it before relying on it, especially before it is sent to other people. Banger does not use your Customer Content to train AI models. #### 8. Acceptable use Your use of Banger, and your agents’ use, must follow our [Acceptable Use & Anti-Spam Policy](https://bangermail.com/acceptable-use/), which is part of these Terms. In short: send only to people who agreed to hear from you, honor unsubscribes, identify yourself honestly, and do not use Banger for unlawful, deceptive, or harmful email. You also may not: - attempt to gain unauthorized access to accounts, workspaces, systems, or data; - interfere with the integrity or performance of Banger, or try to bypass sending limits, approvals, suppression lists, or other safeguards; or - use Banger in a way that violates applicable law, third-party rights, or the policies of connected providers such as Google. #### 9. Plans, fees, and billing ##### 9.1 Plans Banger offers a Free plan, a paid Premium plan, and custom Enterprise agreements. Plans differ in their allowances, such as monthly and daily sending, storage, Triage checks, message history, imports, and support; current plans, prices, allowances, and per-use rates for emails and storage are listed on our [pricing page](https://bangermail.com/pricing/). Prices are per workspace. ##### 9.2 Billing periods and automatic renewal Paid plans can be billed yearly or month to month. The yearly price is the headline price shown on the pricing page; month-to-month billing costs 20% more. Subscriptions are charged in advance and **renew automatically** at the end of each billing period for the same period length, at the then-current price, until you cancel. If your agent pays for a plan from chat, the payment buys a fixed prepaid period of one month or twelve months. A prepaid period does not renew automatically. When it ends, the workspace returns to the Free plan unless you buy more time or subscribe. ##### 9.3 Upgrades, downgrades, and cancellation - You can upgrade, downgrade, or switch billing periods from the billing portal. Plan changes take effect immediately, and our payment processor calculates a prorated charge or credit for the rest of the current period. - You can cancel at any time. Cancellation takes effect at the end of the current paid period; you keep the paid plan until then, and the workspace then moves to the Free plan. - Moving to a plan with smaller allowances may limit what you can send or store. Downgrading does not delete mail already stored in your workspace. ##### 9.4 Payment Payments are processed by Stripe. By subscribing, you authorize us, through Stripe, to charge your payment method for each billing period and for any other fees you incur. Banger does not store complete payment-card numbers. If a payment fails, Stripe may retry it and you keep your plan while it does; if the subscription is ultimately canceled for non-payment, the workspace moves to the Free plan. ##### 9.5 Additional usage Premium includes monthly allowances of 100,000 emails, 50 GB of storage, and 5,000 Triage checks. Emails and storage beyond those allowances are charged at the per-use rates on the pricing page, and by subscribing to Premium you agree to these usage-based fees. Triage checks are never charged per use: past the 5,000 a month, Triage stops until the next billing period. For a subscription that started before these Terms were updated on October 13, 2026, they apply only after we have told you, at least 30 days in advance, that they apply to your workspace; until then, use beyond the allowances is refused as described in section 10. Premium that we give a workspace without a payment method, and prepaid Premium bought from chat, has no usage-based fees: use beyond its allowances is refused as described in section 10. When usage-based fees apply to your workspace: - Use beyond the allowances in a month is charged after the month, to the payment method on file and in the currency of your subscription. On a month-to-month subscription the charge is added to your next renewal invoice; on a yearly subscription it is charged on a separate monthly invoice, and an amount below the small minimum shown on the invoice is carried over to the next month. - Each workspace has a monthly spending limit for usage-based fees. It is set in Settings → Billing and starts at US$100 a month, or the local equivalent shown there for your workspace’s billing currency, and a workspace administrator, or an agent an administrator authorized, can change it or set it to zero. Usage-based fees for a month never exceed the spending limit in effect. When the limit is reached, sending through Banger stops and storage stops growing until the next month or until the limit is raised. - We email the workspace’s administrators when its usage reaches 80% and 100% of the spending limit. ##### 9.6 Taxes Prices are shown in the currency of the page’s language, are charged in the currency shown at checkout, and do not include taxes. You are responsible for any sales, use, value-added, goods-and-services, or similar taxes that apply to your purchase, other than taxes on our income. Where we are required to collect a tax, it will be added to your invoice. ##### 9.7 Refunds Fees are non-refundable, and we do not provide refunds or credits for partial billing periods, unused allowances, or downgrades, except where required by law or where these Terms say otherwise. ##### 9.8 Price changes We may change our prices, including per-use rates. A price change applies to your subscription from your next renewal after we give you notice, and a change to a per-use rate applies to use after the notice period. We will email you at least 30 days before a price change applies to you. If you do not agree to a price change, you can cancel before it takes effect. ##### 9.9 The Free plan The Free plan is free of charge and does not require a payment method. We may change or discontinue the Free plan’s allowances with notice. #### 10. Plan limits When you reach a plan limit, Banger slows or stops the extra work and tells you, rather than accepting mail and silently discarding it: - On the Free plan, a broadcast larger than the daily allowance continues over the following days, and other sends above the daily allowance are refused until the next day with an error that says when sending resumes. - When a workspace’s monthly sending allowance or storage is used up and usage-based fees do not apply to it, or when its spending limit is reached, further sends through Banger are refused with an error until the next monthly period, until space is freed, or until you upgrade or raise the spending limit. - An agent or the web app can offer an upgrade at that point. Nothing is charged unless you, or an agent you authorized, choose to buy. Allowances are measured as described on the pricing page. We may also slow or pause sending, regardless of plan, to protect deliverability as described in the [Acceptable Use & Anti-Spam Policy](https://bangermail.com/acceptable-use/). #### 11. Third-party services Banger relies on third-party services, including email delivery, hosting, storage, payment, and AI providers. Your use of third-party services you connect, such as Google or your own AI assistant, is also governed by their terms and policies. #### 12. Suspension and termination We may pause sending, suspend a mailbox or workspace, or terminate your access if we reasonably believe you or your agents violated these Terms or the Acceptable Use & Anti-Spam Policy, created security, deliverability, or legal risk, or failed to pay fees owed. Where practical and lawful, we will tell you why and give you a chance to fix the problem. Enforcement is described in more detail in the [Acceptable Use & Anti-Spam Policy](https://bangermail.com/acceptable-use/#10-enforcement). You may stop using Banger and delete your account at any time. Account deletion and data retention are described in the [Privacy Policy](https://bangermail.com/privacy/#11-retention-and-deletion). Sections that by their nature should survive termination, including fees owed, disclaimers, and limitation of liability, survive. #### 13. Disclaimers To the maximum extent permitted by law, Banger is provided “as is” and “as available.” We do not guarantee uninterrupted availability, delivery to any particular inbox, the accuracy of AI output, or that the service will meet every requirement or operate without error. Uptime commitments, where offered, are set out in a separate written agreement. #### 14. Limitation of liability To the maximum extent permitted by law, BangerMail Inc. and its affiliates, service providers, and licensors will not be liable for indirect, incidental, special, consequential, exemplary, or punitive damages, or for lost profits, revenues, goodwill, data, or business opportunities, arising from or related to your use of Banger. To the maximum extent permitted by law, our total liability for all claims relating to Banger is limited to the greater of the amount you paid us for Banger in the twelve months before the event giving rise to the claim, or US$100. #### 15. Changes to these Terms We may update these Terms from time to time. If we make a material change, we will update the date on this page and, where appropriate, notify you by email or in the product before the change takes effect. By continuing to use Banger after the updated Terms take effect, you agree to them. #### 16. Contact Questions about these Terms can be sent to [hello@team.bangermail.com](mailto:hello@team.bangermail.com). --- ## Page: Banger Privacy Policy URL: https://bangermail.com/privacy/ Summary: How Banger collects, uses, shares, protects, and deletes account, mailbox, contact, and AI-processing data. 2026-11-01 ### Privacy Policy #### Website privacy choices Analytics and advertising are enabled by default. You can turn them off on the Privacy page. This notice appears automatically only in the EU and UK. Optional cookies measure public website visits with PostHog and Google Analytics. Advertising cookies let Google and Meta show Banger ads to past visitors. Neither choice includes your mail or contacts. This Privacy Policy explains how Banger, a product of BangerMail Inc., collects, uses, shares, protects, and deletes information when you use the Banger website, web app, API, MCP server, mailboxes, and related services (the **Service**). It forms part of our [Terms of Service](https://bangermail.com/terms/). Banger is designed for business and professional users. It is not intended for anyone under sixteen years old. #### 1. Who we are and our role Throughout this policy, **Banger**, **we**, **our**, and **us** refer to the Service operated by BangerMail Inc. For account administration, billing, security, and our public website, Banger generally acts as a controller of Personal Data. When Banger processes mail, contacts, and other workspace content on behalf of a customer, the customer is generally the controller and Banger acts as its processor or service provider. Workspace administrators control who, and which agents, can access workspace data and which features are enabled. In this policy: - **Personal Data** means information relating to an identified or identifiable person. - **Customer Data** means mail, contacts, templates, and other content that Banger processes on behalf of a customer to provide the Service. - **Authentication Data** means credentials and tokens used to sign in or connect agents and third-party services, including API keys and OAuth tokens. - **Analytics Data** means limited information about use and performance of the Service that does not include mail content. - **Subprocessor** means a service provider that processes Personal Data on Banger’s behalf to help provide the Service. #### 2. Information we collect ##### 2.1 Account and workspace data Your name, email address, sign-in and session information, workspace membership, roles and permissions, products, domains, mailbox addresses, approvals, settings, and similar account information. ##### 2.2 Mail For mailboxes hosted by Banger and mailboxes you connect, this includes message content, attachments, sender and recipient information, subjects, timestamps, headers, thread information, labels, drafts, and delivery status. For email you send through Banger (mailbox, product, Broadcast, and Journey email), it includes the message, its recipients, and delivery events such as delivered, bounced, complained, and unsubscribed. ##### 2.3 Contacts and audience data Contacts, lists, segments, and custom fields that you or your agents add or import, subscription status, consent records (who confirmed consent, when, and any evidence provided), and signup form submissions. For Broadcast and Journey email, Banger records engagement such as opens and link clicks, using a tracking image and redirected links. ##### 2.4 Brand and website data When you set up a product, Banger may read your public website to suggest your brand’s name, colors, fonts, logo, and tone. You can also upload images and other brand assets. ##### 2.5 Connected provider and agent data If you connect a provider such as Gmail, Banger receives the account identifiers, authorization tokens, and mail needed for that connection. If you connect an AI agent or create an API key, Banger stores the connection, its permissions, and a record of the actions it takes. ##### 2.6 Authentication and security data OAuth tokens, API keys, session records, audit events, abuse signals, IP addresses, browser information, and infrastructure logs needed to authenticate users, operate the Service, and investigate security incidents. ##### 2.7 Analytics and website data Limited product and website analytics such as pages visited, referral source, browser and device type, feature usage, and conversion events. Product analytics use pseudonymous identifiers and do not receive mail content or email addresses. On the public website, PostHog also records session replays of how pages are scrolled and clicked. Text typed into forms is masked and never recorded. ##### 2.8 Billing data Stripe processes payment-card and billing information needed to charge for the Service. Banger does not store complete payment-card numbers. ##### 2.9 Support and feedback When you contact us or send feedback or a bug report from the Service, we receive your email address, your message, and any attachments you choose to include. ##### 2.10 Data about other people Mail, attachments, and contact lists contain Personal Data about people who do not use Banger, such as your recipients, subscribers, and correspondents, and may incidentally contain sensitive information. Banger processes that information only to provide the Service to the customer that controls it. Customers are responsible for having a lawful basis, including consent where required, for the Personal Data they bring to Banger and the email they send. See our [Acceptable Use & Anti-Spam Policy](https://bangermail.com/acceptable-use/). #### 3. Where information comes from We receive information: - directly from you, your organization, or the agents you authorize; - from connected providers such as Google after you authorize access; - from people who send email to, or subscribe through, a mailbox or form hosted by Banger; - from recipients’ mail systems, which report deliveries, bounces, and complaints; - automatically when you use the Service or public website; and - from service providers involved in authentication, payment, delivery, security, and support. #### 4. How we use information We use information to: - create and manage accounts, workspaces, products, domains, mailboxes, and permissions; - receive, store, search, display, and deliver email, and run Broadcasts, Journeys, and signup forms; - honor unsubscribes, suppress bounced and complaining addresses, and protect deliverability; - let you and your agents review, approve, and act on mail and sending; - provide the AI features described in section 5; - provide customer support and investigate issues; - detect, prevent, and respond to spam, fraud, abuse, and security incidents; - operate, measure, and improve the reliability and usability of the Service; and - comply with legal, regulatory, accounting, and tax obligations; and - Analytics and advertising are enabled by default. You can turn them off on the Privacy page. This notice appears automatically only in the EU and UK. Optional cookies measure public website visits with PostHog and Google Analytics. Advertising cookies let Google and Meta show Banger ads to past visitors. Neither choice includes your mail or contacts. We do not use Customer Data to train AI models or to build advertising profiles. ##### Support and debugging If resolving a support request requires looking at specific mail or contacts, we will ask for your permission first. Access is limited to the people working on the issue, the minimum information needed, and the duration of the investigation. #### 5. AI processing Banger uses AI for specific features. We send each provider only what the feature needs, and neither Banger nor these providers use the data to train AI models. - **OpenAI** powers these features: - Email design, when you or an agent ask Banger to create or revise an email. OpenAI receives your request, your brand details, the audience you describe, and the draft email. - The mail assistant, when you ask it a question about your mail. OpenAI receives your request and the messages the assistant looks up to answer it, which can include subjects, senders, and message text. Banger keeps the assistant’s run history for one hour. - Brand discovery during setup, which reads your public website. OpenAI receives public text, styles, and images from that site. - Translation of your email templates, when you ask for it. OpenAI receives the text to be translated. Banger’s requests to OpenAI ask it not to store them. - **TypeSafe** powers these features: - Labels & Triage. When you have enabled rules in a mailbox, TypeSafe receives the incoming thread with some personal details removed. This includes sender and recipients, the subject, the message text, and whether it has attachments. - Contact import mapping. When you import contacts, TypeSafe receives the file name, the column headers, and up to eight sample values per column so it can suggest how to map them. The samples may include names and email addresses. - **Your own AI keys.** If you connect your own OpenAI or Anthropic account, Banger sends the content for the features you use with that key to that provider under your own agreement with them. Banger stores your key encrypted. - **Your own agents.** When an AI agent you connect, such as an assistant using the Banger MCP server, reads mail or contacts through Banger, that data goes to the agent’s provider under your agreement with them. Banger does not control how that provider handles it. AI output can be incomplete or wrong and should be reviewed before you rely on it. #### 6. Connecting Gmail Banger connects to Gmail only after you approve Google’s OAuth authorization. Banger requests your basic account identity and permission to read your Gmail mail and send email on your behalf. It uses these to receive, display, and search your mail, apply Labels & Triage when you enable it, answer your questions through the mail assistant, and send only when you or an agent you authorized instructs it to. Banger does not request permission to modify or delete Gmail messages. Labels and other changes you make in Banger stay in Banger. Banger does not sell information received from Google APIs, use it for advertising, or use it to train AI models. You can revoke Banger’s access at any time from your [Google account permissions](https://myaccount.google.com/permissions). Banger’s use and transfer of information received from Google APIs adheres to the [Google API Services User Data Policy](https://developers.google.com/terms/api-services-user-data-policy), including the Limited Use requirements. #### 7. Legal bases for processing Where the GDPR, UK GDPR, LGPD, or similar laws apply, Banger relies on one or more of these legal bases: - **Performance of a contract:** to provide the Service and the features you or your organization request. - **Legitimate interests:** to secure, maintain, troubleshoot, and improve the Service, prevent spam and abuse, and operate our business, where those interests are not overridden by your rights. - **Consent:** where you connect an account or choose an optional feature that requires it. - **Legal obligations:** to comply with tax, accounting, regulatory, and valid legal requirements. - **Vital interests:** in exceptional circumstances where processing is necessary to protect someone from serious harm. Where we rely on consent, you may withdraw it. Where we rely on legitimate interests, you may object. #### 8. How we share information We share information only as needed to provide, secure, or administer the Service: - **Within your workspace:** with members, administrators, and agents authorized by you or your organization. - **Subprocessors:** with the providers listed in section 9. - **Message recipients and mail systems:** when you or an authorized agent sends email. - **Providers you connect:** with AI providers, agents, and integrations that you authorize. - **Legal and security matters:** when reasonably necessary to comply with valid legal process, investigate spam, abuse, or security incidents, or protect the rights, safety, and integrity of Banger, our users, or others. - **Business transfers:** in connection with a merger, financing, acquisition, reorganization, bankruptcy, or sale of assets, subject to appropriate confidentiality protections. Analytics and advertising are enabled by default. You can turn them off on the Privacy page. This notice appears automatically only in the EU and UK. Optional cookies measure public website visits with PostHog and Google Analytics. Advertising cookies let Google and Meta show Banger ads to past visitors. Neither choice includes your mail or contacts. When enabled, providers receive public-page visits, cookie/device identifiers and network information including your IP address. Google and Meta may match these identifiers to their own users for advertising; this may constitute sharing under California law. We do not upload customer lists, mail or contacts. Sensitive URLs are excluded or sanitized. Ad click identifiers (gclid, gbraid, wbraid, fbclid) and campaign tags stay in the page address and are kept in your browser for up to 90 days; turning advertising off removes them. If you then create a Banger account, we store them with your account and report the signup to Google Ads and Meta with those identifiers, a SHA-256 hash of your email address, your IP address and your browser’s user agent, so they can measure our ads. Saved opt-outs remain until you change them or clear browser storage; fallback cookies last up to 180 days. Global Privacy Control blocks advertising. Use the privacy choices above to reject or withdraw; withdrawal stops future collection and clears website tracking storage, but does not delete previously collected data. Essential storage and app settings remain separate. #### 9. Subprocessors Subprocessors may process information only to provide their services to Banger and are bound by data-protection and confidentiality obligations. Our current subprocessors are: - **Cloudflare** hosts the application, queues, and logs. It also provides bot protection and DNS lookups. - **PlanetScale** hosts the primary database, running on AWS in the United States. - **Backblaze B2** stores mail, attachments, and files in the United States. - **Amazon Web Services** sends email through Amazon SES and stores secrets, in the EU (Frankfurt). - **Hetzner** runs the mail receiving and sending servers, spam and malware filtering, and self-hosted logs and monitoring. - **Google** provides the Gmail connection for mailboxes you link. - **OpenAI** powers the AI features described in section 5. - **TypeSafe** powers Labels & Triage and contact import mapping. - **Stripe** handles billing and payments. - **PostHog** provides product analytics from the United States, with pseudonymous identifiers only. - **Linear and Slack** receive the support and feedback messages you send us. The same list is published on [How Banger handles your mail](https://bangermail.com/trust/#subprocessors). [Google](https://policies.google.com/technologies/partner-sites) · [Google Ads](https://myadcenter.google.com/) · [Meta](https://www.facebook.com/privacy/policy/) · [PostHog](https://posthog.com/privacy) #### 10. International processing Banger and its subprocessors process information in the United States, the European Union, and other countries that may differ from where you live. Where applicable law requires a transfer mechanism, we use a legally recognized safeguard, such as the European Commission’s Standard Contractual Clauses or applicable UK, Swiss, or Brazilian mechanisms. #### 11. Retention and deletion We keep Personal Data only as long as needed to provide the Service, maintain security, resolve disputes, enforce agreements, or comply with legal obligations. - Account, workspace, mail, and contact data are generally kept while the account and workspace remain active. - Deleting your Banger account starts a seven-day window during which you can cancel. After it, Banger deletes the workspace’s database records and stored files, except for limited records we must keep for security, audit, fraud-prevention, billing, or legal purposes. - Suppression records, such as unsubscribes, bounces, and complaints, are kept while the workspace exists so that people who opted out are not emailed again. They are stored as one-way hashes of the email address. - AI mail assistant run history is kept for one hour. - Logs and backups may remain for a limited period until they expire through normal retention cycles. - Revoking Google access stops future access. It does not by itself delete mail already received into Banger. To remove Banger’s copy, delete your account or ask us to delete that mailbox’s mail. Plan history limits do not delete stored mail today: mail stays in your workspace until you delete your account or ask us to delete it. You may request account or data deletion by contacting [hello@team.bangermail.com](mailto:hello@team.bangermail.com). #### 12. Security Banger uses administrative, technical, and organizational safeguards designed to protect Personal Data and Customer Data: - Traffic to and from Banger uses TLS 1.2 or higher. Outbound mail from domains set up with Banger is DKIM-signed. - The primary database is encrypted at rest by our database provider. - OAuth refresh tokens, connected provider keys, and your own AI keys are envelope-encrypted with AES-256-GCM before storage. DKIM signing keys are also stored encrypted. - Workspace data is separated with database-level access controls, and access by agents and API keys is limited to the permissions you grant. - Sign-in, agent actions, and administrative actions are recorded in audit logs. Banger manages these encryption keys for you, and mail is processed in readable form on Banger’s servers so the Service can search, filter, triage, display, and deliver it. Banger can therefore technically access stored data. **Banger is not an end-to-end encrypted service.** Access to production data is restricted to the people who need it to run the Service. Banger’s Google mailbox integration has completed a CASA Tier 2 independent security assessment. More information is available on [How Banger handles your mail](https://bangermail.com/trust/). No security program can guarantee absolute security. If a Personal Data breach requires notification under applicable law, we will notify affected customers and authorities as required. #### 13. Cookies and analytics When enabled, providers receive public-page visits, cookie/device identifiers and network information including your IP address. Google and Meta may match these identifiers to their own users for advertising; this may constitute sharing under California law. We do not upload customer lists, mail or contacts. Sensitive URLs are excluded or sanitized. Ad click identifiers (gclid, gbraid, wbraid, fbclid) and campaign tags stay in the page address and are kept in your browser for up to 90 days; turning advertising off removes them. If you then create a Banger account, we store them with your account and report the signup to Google Ads and Meta with those identifiers, a SHA-256 hash of your email address, your IP address and your browser’s user agent, so they can measure our ads. Saved opt-outs remain until you change them or clear browser storage; fallback cookies last up to 180 days. Global Privacy Control blocks advertising. Use the privacy choices above to reject or withdraw; withdrawal stops future collection and clears website tracking storage, but does not delete previously collected data. Essential storage and app settings remain separate. Privacy choices #### 14. Communications We send transactional and administrative messages, such as sign-in codes and account, security, service, and billing notices. You may opt out of non-essential marketing messages using the unsubscribe link, but not from messages required to operate or secure your account. #### 15. Your rights and choices Depending on where you live, you may have the right to: - access Personal Data about you; - correct inaccurate Personal Data; - request deletion; - receive a portable copy of certain data; - object to or restrict certain processing; - withdraw consent; and - appeal a denied request or complain to your local data-protection authority. To exercise a right, contact [hello@team.bangermail.com](mailto:hello@team.bangermail.com). We may need to verify your identity and authority over the relevant account or workspace. If you are a recipient or subscriber of a Banger customer, that customer controls your data. Use the unsubscribe link in their email or contact them directly. If you contact us, we will forward your request to the customer where we can. #### 16. California privacy rights California residents may have rights to know, access, correct, or delete Personal Data; obtain information about how it is collected, used, and disclosed; limit certain uses of sensitive Personal Data; and receive equal service when exercising privacy rights. Privacy choices #### 17. Children’s privacy Banger is not intended for anyone under sixteen, and we do not knowingly collect Personal Data from children under sixteen. If you believe a child has provided Personal Data to Banger, contact us so we can investigate and delete it when required. #### 18. Changes to this policy We may update this policy as the Service or applicable law changes. We will update the date shown above and provide additional notice by email or in the product when a material change requires it. The English version controls if a translated version conflicts with it. #### 19. Contact For privacy questions, rights requests, or account deletion, contact BangerMail Inc. at [hello@team.bangermail.com](mailto:hello@team.bangermail.com). Report security vulnerabilities to [security@team.bangermail.com](mailto:security@team.bangermail.com) under our [Vulnerability Disclosure Policy](https://bangermail.com/security/). #### Quick summary - Banger processes your mail, contacts, and content only to provide the service you and your agents use. - AI features use OpenAI and TypeSafe for specific tasks. Neither Banger nor they use your data to train AI models. - Data is encrypted in transit and at rest. Banger manages the keys, so it is not end-to-end encrypted. - Analytics and advertising are enabled by default. You can turn them off on the Privacy page. This notice appears automatically only in the EU and UK. Optional cookies measure public website visits with PostHog and Google Analytics. Advertising cookies let Google and Meta show Banger ads to past visitors. Neither choice includes your mail or contacts. - You can revoke Google access, disconnect agents, and delete your account and data. --- ## API operations Every operation in the public Banger API, grouped by resource. Base URL: https://api.bangermail.com. Workspace operations need `Authorization: Bearer `. Schemas and curl examples: https://bangermail.com/docs/api/. Machine-readable: https://bangermail.com/openapi.json. ### Products - `GET /v1/workspaces/{workspaceId}/products` (listProducts): List workspace products - `POST /v1/workspaces/{workspaceId}/products` (createProduct): Create a product - `GET /v1/workspaces/{workspaceId}/products/{productId}` (getProduct): Get a product - `PATCH /v1/workspaces/{workspaceId}/products/{productId}` (updateProduct): Update a product - `DELETE /v1/workspaces/{workspaceId}/products/{productId}` (deleteProduct): Delete one product (a project in the app) after reviewing its deletion preview. It leaves use at once (its sending stops) and stays restorable for 24 hours; then Banger removes its sending domains and every row it owns. The workspace's last active product cannot be deleted. Requires workspace admin and a signed-in session; API keys and OAuth grants are refused. - `GET /v1/workspaces/{workspaceId}/products/{productId}/deletion-preview` (previewProductDeletion): Preview deleting one product and everything it owns, without deleting anything. Requires workspace admin, signed in or through user-authorized OAuth. - `POST /v1/workspaces/{workspaceId}/products/{productId}/restore` (restoreProduct): Restore a deleted product before its delete_after. Its mailboxes, Journeys, signup forms, webhooks and integrations are switched back on; Broadcasts stay paused. Requires workspace admin, signed in or through user-authorized OAuth. - `PUT /v1/workspaces/{workspaceId}/products/{productId}/setup/{key}` (updateProductSetup): Update a product setup item - `POST /v1/workspaces/{workspaceId}/products/{productId}/domains` (addProductDomain): Associate a domain with a product ### Mailboxes - `GET /v1/workspaces/{workspaceId}/mailboxes` (listMailboxes) - `POST /v1/workspaces/{workspaceId}/mailboxes` (createNativeMailbox): Create a Banger-native work mailbox on a workspace sending domain. - `POST /v1/workspaces/{workspaceId}/mailboxes/sms` (connectSmsInbox): Add an SMS inbox for a number on the company's own Twilio account. Banger checks the account owns the number, points its incoming texts at the inbox, and keeps the Auth Token encrypted. A workspace admin signed in to the web app does this; it needs the customers workspace feature. - `GET /v1/workspaces/{workspaceId}/mailboxes/whatsapp/signup` (getWhatsAppSignupSettings): What the web app needs to open Meta's Embedded Signup for a WhatsApp inbox (Banger is a Tech Provider under Twilio). A workspace admin in the web app; needs the customers workspace feature and a paid plan. - `POST /v1/workspaces/{workspaceId}/mailboxes/whatsapp` (connectWhatsAppInbox): Finish connecting a WhatsApp number as an inbox, with the WhatsApp Business account Meta's Embedded Signup returned. Banger registers the number as a WhatsApp sender in the workspace's Twilio sub-account; the inbox is pending until the sender is ONLINE. - `GET /v1/workspaces/{workspaceId}/mailboxes/sms/available-numbers` (listAvailableSmsNumbers): Toll-free numbers Banger can buy for this workspace, which text phones in the US and Canada. Needs the customers workspace feature and a paid plan. - `POST /v1/workspaces/{workspaceId}/mailboxes/sms/numbers` (buySmsNumber): Buy a toll-free number as an SMS inbox and ask carriers to approve it with the business's details. It receives texts at once and sends once carriers approve, usually within a few days. It texts the US and Canada only. - `GET /v1/workspaces/{workspaceId}/mailboxes/{mailboxId}/deletion-preview` (previewMailboxDeletion): Preview permanent mailbox deletion and dependent sending flows. Requires workspace admin and product scope. - `PATCH /v1/workspaces/{workspaceId}/mailboxes/{mailboxId}` (updateMailbox): Set the sender name recipients see on mail from one Banger mailbox ("Name
"). Gmail mailboxes keep the name set in Gmail. Requires workspace admin. - `DELETE /v1/workspaces/{workspaceId}/mailboxes/{mailboxId}` (deleteMailbox): Permanently delete one mailbox, keeping its domain and other mailboxes. Requires workspace admin and product scope. - `POST /v1/workspaces/{workspaceId}/mailboxes/starter` (createStarterMailbox): Create a hosted mailbox restricted to same-product hosted inboxes and the workspace signup recipient. - `POST /v1/workspaces/{workspaceId}/mailboxes/{mailboxId}/reactivate` (reactivateMailbox): Resume the sender-reputation pause holding one mailbox, under the self-serve resume rules of resumeSending. ### Drafts - `GET /v1/workspaces/{workspaceId}/drafts` (listDrafts) - `POST /v1/workspaces/{workspaceId}/drafts` (createDraft) - `GET /v1/workspaces/{workspaceId}/drafts/{draftId}` (getDraft) - `PUT /v1/workspaces/{workspaceId}/drafts/{draftId}` (updateDraft) - `DELETE /v1/workspaces/{workspaceId}/drafts/{draftId}` (deleteDraft) - `POST /v1/workspaces/{workspaceId}/drafts/{draftId}/send` (sendDraft) - `POST /v1/workspaces/{workspaceId}/drafts/{draftId}/attachments` (uploadDraftAttachment) - `DELETE /v1/workspaces/{workspaceId}/drafts/{draftId}/attachments/{attachmentId}` (deleteDraftAttachment) - `GET /v1/workspaces/{workspaceId}/drafts/{draftId}/html` (getDraftHtml): Read a draft HTML body ### Sending - `GET /v1/workspaces/{workspaceId}/send-intents` (listSendIntents) - `GET /v1/workspaces/{workspaceId}/send-intents/{sendIntentId}` (getSendIntent) ### Transactional sending - `GET /v1/workspaces/{workspaceId}/transactional-sends` (listTransactionalSends) - `POST /v1/workspaces/{workspaceId}/transactional-sends` (createTransactionalSend) - `GET /v1/workspaces/{workspaceId}/transactional-sends/{transactionalSendId}` (getTransactionalSend) - `GET /v1/workspaces/{workspaceId}/transactional-sends/{transactionalSendId}/timeline` (listTransactionalSendTimeline) - `POST /v1/workspaces/{workspaceId}/transactional-sends/{transactionalSendId}/retry` (retryTransactionalSend) ### Threads - `GET /v1/workspaces/{workspaceId}/threads` (listThreads) - `GET /v1/workspaces/{workspaceId}/threads/{threadId}` (getThread) ### Messages - `GET /v1/workspaces/{workspaceId}/messages/{messageId}/html` (getMessageHtml) ### Attachments - `GET /v1/workspaces/{workspaceId}/attachments/{attachmentId}/content` (downloadAttachment) ### Search - `GET /v1/workspaces/{workspaceId}/search` (searchMail) ### Contacts - `GET /v1/workspaces/{workspaceId}/contacts` (listContacts) - `POST /v1/workspaces/{workspaceId}/contacts` (upsertContact) - `GET /v1/workspaces/{workspaceId}/contacts/{contactId}` (getContact) - `DELETE /v1/workspaces/{workspaceId}/contacts/{contactId}` (deleteContact) - `GET /v1/workspaces/{workspaceId}/contacts/imports` (listContactImports) - `POST /v1/workspaces/{workspaceId}/contacts/imports` (importContacts) - `PATCH /v1/workspaces/{workspaceId}/contacts/{contactId}/attributes` (updateProductContactAttributes): Merge typed attributes without changing subscription or consent - `POST /v1/workspaces/{workspaceId}/contacts/upsert` (upsertProductContact) - `POST /v1/workspaces/{workspaceId}/contacts/import-validation` (validateProductContactImport) - `GET /v1/workspaces/{workspaceId}/contacts/imports/{importId}` (getProductContactImport) - `GET /v1/workspaces/{workspaceId}/contacts/fields` (listContactAttributeKeys): List stored contact attribute keys - `POST /v1/workspaces/{workspaceId}/contacts/import-mapping` (proposeContactImportMapping): Propose contact import column mappings ### Contact lists - `GET /v1/workspaces/{workspaceId}/contact-lists` (listContactLists) - `POST /v1/workspaces/{workspaceId}/contact-lists` (createContactList) - `GET /v1/workspaces/{workspaceId}/contact-lists/{listId}` (getContactList) - `DELETE /v1/workspaces/{workspaceId}/contact-lists/{listId}` (deleteContactList) - `GET /v1/workspaces/{workspaceId}/contact-lists/{listId}/deletion-preview` (previewContactListDeletion) - `POST /v1/workspaces/{workspaceId}/contact-lists/{listId}/members` (addContactListMembers) - `DELETE /v1/workspaces/{workspaceId}/contact-lists/{listId}/members` (removeContactListMembers) ### Contact fields - `GET /v1/workspaces/{workspaceId}/contact-fields` (listContactFieldDefinitions): The product's contact fields (built-in, declared and discovered) with type, choices, source, how many contacts have a value, and the segment operators each supports. - `POST /v1/workspaces/{workspaceId}/contact-fields` (createContactField): Declare a contact field: label, type (text, number, boolean, date, choice, choices), optional key, options and description. - `PATCH /v1/workspaces/{workspaceId}/contact-fields/{key}` (updateContactField): Rename, describe, retype (converting stored values, or 409 with an example that doesn't fit), change choices, or hide a field. ### Segments - `GET /v1/workspaces/{workspaceId}/segments` (listSegments) - `POST /v1/workspaces/{workspaceId}/segments` (createSegment) - `GET /v1/workspaces/{workspaceId}/segments/{segmentId}/preview` (previewSegment) - `DELETE /v1/workspaces/{workspaceId}/segments/{segmentId}` (deleteSegment): Delete a segment ### Audience - `POST /v1/workspaces/{workspaceId}/audience/lists` (createProductContactList) - `GET /v1/workspaces/{workspaceId}/audience/lists/{listId}` (getProductContactList) - `POST /v1/workspaces/{workspaceId}/audience/lists/{listId}/members` (addProductContactListMembers) - `DELETE /v1/workspaces/{workspaceId}/audience/lists/{listId}/members` (removeProductContactListMembers) - `POST /v1/workspaces/{workspaceId}/audience/segments` (createProductSegment) - `GET /v1/workspaces/{workspaceId}/audience/segments/{segmentId}/preview` (previewProductSegment) - `GET /v1/workspaces/{workspaceId}/audience/approvals` (listProductApprovalEvidence) - `GET /v1/workspaces/{workspaceId}/audience/approvals/{approvalId}` (getProductApprovalEvidence) ### Signup forms - `GET /v1/workspaces/{workspaceId}/signup-forms` (listSignupForms): The product's signup forms with embed code, hosted link, views, signups, confirmations, subscribers and conversion rate. - `POST /v1/workspaces/{workspaceId}/signup-forms` (createSignupForm): Create a form: kind (inline, popup, bar, slide_in, page), list_id or list_name, optional mailbox_id, double_opt_in (default true) and partial config. - `GET /v1/workspaces/{workspaceId}/signup-forms/readiness` (getSignupFormReadiness): Whether this product can turn forms on (its product lane sends from a verified domain). - `POST /v1/workspaces/{workspaceId}/signup-forms/preview` (previewUnsavedSignupForm): Render unsaved form settings as a complete HTML page on a sketched website. - `GET /v1/workspaces/{workspaceId}/signup-forms/{formId}` (getSignupForm) - `PATCH /v1/workspaces/{workspaceId}/signup-forms/{formId}` (updateSignupForm): Partial update; config merges into the saved settings; status active, paused or archived; expected_version guards concurrent edits. - `POST /v1/workspaces/{workspaceId}/signup-forms/{formId}/preview` (previewSignupForm): Render a saved form, optionally with unsaved changes, in the form or success state. ### Public signup forms - `GET /v1/forms/embed.js` (getSignupFormEmbedScript): The signup form loader. One script tag per form (data-banger-form="f_…") renders the widget in a shadow root and handles triggers and submits. (public, no auth) - `OPTIONS /v1/forms/embed.js` (optionsembedjsSignupForm): Read public signup CORS policy (public, no auth) - `HEAD /v1/forms/embed.js` (headSignupFormEmbed): Read embed script headers (public, no auth) - `GET /v1/forms/{publicId}/widget` (getSignupFormWidget): A live form's rendered widget (html, css, font link) and popup behavior. Public, CORS open, cached for a minute. (public, no auth) - `OPTIONS /v1/forms/{publicId}/widget` (optionswidgetSignupForm): Read public signup CORS policy (public, no auth) - `POST /v1/forms/{publicId}/subscribe` (submitSignupForm): A visitor signs up. Form-encoded (email, name, page, optional lang) so browsers skip the preflight; JSON is also accepted. Messages and the confirmation email follow the form's language, else lang, else Accept-Language. With double opt-in a confirmation email is sent and the person joins the list after confirming. (public, no auth) - `OPTIONS /v1/forms/{publicId}/subscribe` (optionssubscribeSignupForm): Read public signup CORS policy (public, no auth) - `POST /v1/forms/{publicId}/view` (recordSignupFormView): Counts one display of a widget. (public, no auth) - `OPTIONS /v1/forms/{publicId}/view` (optionsviewSignupForm): Read public signup CORS policy (public, no auth) ### Templates - `GET /v1/workspaces/{workspaceId}/templates` (listTemplates) - `POST /v1/workspaces/{workspaceId}/templates` (createTemplate) - `POST /v1/workspaces/{workspaceId}/templates/preview` (previewDesign) - `GET /v1/workspaces/{workspaceId}/templates/{templateId}` (getTemplate) - `PATCH /v1/workspaces/{workspaceId}/templates/{templateId}` (updateTemplate) - `POST /v1/workspaces/{workspaceId}/templates/{templateId}/duplicate` (duplicateTemplate) - `POST /v1/workspaces/{workspaceId}/templates/{templateId}/preview` (previewTemplate) - `GET /v1/workspaces/{workspaceId}/templates/{templateId}/html` (getTemplateHtml) ### Campaigns - `POST /v1/workspaces/{workspaceId}/campaigns/coverage-preview` (previewCampaignCoverage) - `GET /v1/workspaces/{workspaceId}/campaigns` (listCampaigns) - `POST /v1/workspaces/{workspaceId}/campaigns` (createCampaign) - `POST /v1/workspaces/{workspaceId}/campaigns/audience-preview` (previewCampaignAudience) - `GET /v1/workspaces/{workspaceId}/campaigns/{campaignId}` (getCampaign) - `PATCH /v1/workspaces/{workspaceId}/campaigns/{campaignId}` (updateCampaign) - `DELETE /v1/workspaces/{workspaceId}/campaigns/{campaignId}` (deleteCampaign): Delete an unsent campaign - `GET /v1/workspaces/{workspaceId}/campaigns/{campaignId}/recipients` (listCampaignRecipients) - `GET /v1/workspaces/{workspaceId}/campaigns/{campaignId}/timeline` (listCampaignTimeline) - `POST /v1/workspaces/{workspaceId}/campaigns/{campaignId}/pause` (pauseCampaign) - `POST /v1/workspaces/{workspaceId}/campaigns/{campaignId}/resume` (resumeCampaign) - `POST /v1/workspaces/{workspaceId}/campaigns/{campaignId}/cancel` (cancelCampaign) - `POST /v1/workspaces/{workspaceId}/campaigns/{campaignId}/schedule` (scheduleCampaign) - `POST /v1/workspaces/{workspaceId}/campaigns/{campaignId}/test` (testCampaign) - `POST /v1/workspaces/{workspaceId}/campaigns/{campaignId}/review` (requestCampaignReview) - `POST /v1/workspaces/{workspaceId}/campaigns/{campaignId}/archive` (archiveCampaign): Archive a campaign - `POST /v1/workspaces/{workspaceId}/campaigns/{campaignId}/unarchive` (unarchiveCampaign): Unarchive a campaign - `PUT /v1/workspaces/{workspaceId}/campaigns/{campaignId}/design-test` (saveCampaignDesignTest): Save one to four campaign email designs ### Broadcasts - `POST /v1/workspaces/{workspaceId}/broadcasts` (createBroadcast) - `GET /v1/workspaces/{workspaceId}/broadcasts/{broadcastId}` (getBroadcast) - `PATCH /v1/workspaces/{workspaceId}/broadcasts/{broadcastId}` (updateBroadcast) - `POST /v1/workspaces/{workspaceId}/broadcasts/audience-preview` (previewBroadcastAudience) - `POST /v1/workspaces/{workspaceId}/broadcasts/{broadcastId}/audience-preview` (previewSavedBroadcastAudience) - `GET /v1/workspaces/{workspaceId}/broadcasts/{broadcastId}/readiness` (checkBroadcastReadiness) - `GET /v1/workspaces/{workspaceId}/broadcasts/{broadcastId}/recipients` (listBroadcastRecipients) - `GET /v1/workspaces/{workspaceId}/broadcasts/{broadcastId}/timeline` (listBroadcastTimeline) ### Journeys - `GET /v1/workspaces/{workspaceId}/journeys` (listJourneys) - `POST /v1/workspaces/{workspaceId}/journeys` (createJourney) - `GET /v1/workspaces/{workspaceId}/journeys/{journeyId}` (getJourney) - `PUT /v1/workspaces/{workspaceId}/journeys/{journeyId}` (updateJourney) - `PATCH /v1/workspaces/{workspaceId}/journeys/{journeyId}` (patchJourney): Update selected Journey fields while preserving its other definition fields. - `DELETE /v1/workspaces/{workspaceId}/journeys/{journeyId}` (deleteJourney) - `POST /v1/workspaces/{workspaceId}/journeys/{journeyId}/convert-managed` (convertJourneyToManaged): Convert a paused or draft legacy Journey to prepared managed content. - `POST /v1/workspaces/{workspaceId}/journeys/{journeyId}/render` (renderJourneyManagedEmail): Render one saved Journey email step without sending. - `POST /v1/workspaces/{workspaceId}/journeys/{journeyId}/status` (setJourneyStatus) - `POST /v1/workspaces/{workspaceId}/journeys/{journeyId}/preview` (previewJourney) - `POST /v1/workspaces/{workspaceId}/journeys/{journeyId}/enroll` (enrollJourneyContacts): Enroll explicit contacts in a Journey through a governed approval. - `GET /v1/workspaces/{workspaceId}/journeys/{journeyId}/executions` (listJourneyExecutions) - `GET /v1/workspaces/{workspaceId}/journeys/{journeyId}/people` (listJourneyPeople) - `POST /v1/workspaces/{workspaceId}/journeys/{journeyKey}/send` (sendJourney) - `POST /v1/workspaces/{workspaceId}/journeys/{journeyId}/claim` (claimJourney) - `POST /v1/workspaces/{workspaceId}/journeys/{journeyId}/merge` (mergeJourneys) - `POST /v1/workspaces/{workspaceId}/journeys/{journeyId}/splits/{stepId}/decide` (decideJourneySplit) - `GET /v1/workspaces/{workspaceId}/journeys/{journeyId}/splits/recommend` (recommendJourneyArms) ### Approvals - `GET /v1/workspaces/{workspaceId}/approvals/{approvalId}/managed-layout-preview/{contentId}` (getBoundManagedLayoutApprovalPreview): Read full source-locale before/after renders for content bound to one layout approval. - `GET /v1/workspaces/{workspaceId}/approvals/{approvalId}/journey-preview` (getJourneyApprovalPreview): Render every email of a Journey activation or enrollment approval from its bound review snapshot. - `GET /v1/workspaces/{workspaceId}/approvals` (listApprovalRequests) - `POST /v1/workspaces/{workspaceId}/approvals` (createApprovalRequest) - `GET /v1/workspaces/{workspaceId}/approvals/count` (countUndecidedApprovals): Count approvals that are waiting or were missed before a decision. - `GET /v1/workspaces/{workspaceId}/approvals/{approvalId}` (getApprovalRequest) - `POST /v1/workspaces/{workspaceId}/approvals/{approvalId}/decision` (decideApprovalRequest) - `POST /v1/workspaces/{workspaceId}/approvals/{approvalId}/cancel` (cancelApprovalRequest) - `POST /v1/workspaces/{workspaceId}/approvals/{approvalId}/dismiss` (dismissApprovalRequest) - `POST /v1/workspaces/{workspaceId}/approvals/{approvalId}/rerequest` (rerequestApprovalRequest) - `POST /v1/workspaces/{workspaceId}/approvals/{approvalId}/revise` (reviseApprovalRequest) ### Agent runs - `GET /v1/workspaces/{workspaceId}/agent-runs` (listAgentRuns): List recent internal-agent runs for the workspace. - `POST /v1/workspaces/{workspaceId}/agent-runs` (createAgentRun): Start an isolated Banger internal-agent run. - `GET /v1/workspaces/{workspaceId}/agent-runs/{runId}` (getAgentRun) - `POST /v1/workspaces/{workspaceId}/agent-runs/{runId}/cancel` (cancelAgentRun) ### Agents - `GET /v1/workspaces/{workspaceId}/agents` (listAgentConnections): List the AI agents (MCP clients) that can act for this workspace. - `POST /v1/workspaces/{workspaceId}/agents/{agentId}/revoke` (revokeAgentConnection): Revoke one agent's access. It stops working within about 30 seconds. ### AI commands - `POST /v1/workspaces/{workspaceId}/ai/command-runs` (startMailAssistantCommand): Start a mail assistant command with reads and confirmation-only proposals - `POST /v1/workspaces/{workspaceId}/ai/command-runs/{runId}/tool-results` (continueMailAssistantCommand): Continue an actor-owned command in its original product scope - `POST /v1/workspaces/{workspaceId}/ai/email/revise` (reviseEmailWithAi): Generate a reviewable email revision without saving or sending it. - `GET /v1/workspaces/{workspaceId}/ai/email/capabilities` (getAiEmailCapabilities) - `POST /v1/workspaces/{workspaceId}/ai/email/generate` (generateEmailWithAi) ### Analytics - `POST /v1/workspaces/{workspaceId}/analytics/visitor` (linkAnalyticsVisitor): Link a website visit to the signed-in person - `POST /v1/workspaces/{workspaceId}/analytics/ad-click` (reportAdClick): Report the ad click the signed-in person arrived with ### Answer agents - `GET /v1/workspaces/{workspaceId}/answer-agents` (listAnswerAgents) - `POST /v1/workspaces/{workspaceId}/answer-agents` (createAnswerAgent) ### Assets - `GET /v1/workspaces/{workspaceId}/assets` (listEmailAssets): List product email images and their immutable public URLs. - `POST /v1/workspaces/{workspaceId}/assets` (uploadEmailAsset): Store an immutable image for managed email content. - `GET /v1/workspaces/{workspaceId}/assets/{assetId}` (getEmailAsset): Read one product email image's metadata and public URL. ### Automation - `POST /v1/workspaces/{workspaceId}/automation/jobs` (createExecutionJob) - `GET /v1/workspaces/{workspaceId}/automation/jobs/{jobId}` (getExecutionJob) ### Brand - `POST /v1/workspaces/{workspaceId}/brand/discover` (discoverProductBrand) - `GET /v1/workspaces/{workspaceId}/brand` (getBrand) - `PUT /v1/workspaces/{workspaceId}/brand` (updateBrand) - `PATCH /v1/workspaces/{workspaceId}/brand/patch` (patchProductBrandFooter) ### Changes - `GET /v1/workspaces/{workspaceId}/changes` (listChanges) ### Commands - `POST /v1/workspaces/{workspaceId}/commands` (createCommand) - `GET /v1/workspaces/{workspaceId}/commands/{commandId}` (getCommand) ### Communication policy - `GET /v1/workspaces/{workspaceId}/communication-policy` (getCommunicationPolicy): Read product-wide recipient conflict, frequency, and delivery-window policy. - `PUT /v1/workspaces/{workspaceId}/communication-policy` (putCommunicationPolicy): Save the product communication policy with optimistic version check. - `POST /v1/workspaces/{workspaceId}/communication-policy/simulate` (simulateCommunicationPolicy): Read-only policy simulation for fixed send requests to one recipient. ### Content settings - `GET /v1/workspaces/{workspaceId}/content-settings` (getManagedContentSettings): Read product-level locale, fallback, timezone, glossary, and review settings. - `PUT /v1/workspaces/{workspaceId}/content-settings` (putManagedContentSettings): Save product-level content settings with optimistic version check. ### Daily summary - `GET /v1/workspaces/{workspaceId}/daily-summary` (getDailySummary): Read your daily summary email settings for the selected product. - `PUT /v1/workspaces/{workspaceId}/daily-summary` (updateDailySummary): Change your daily summary email settings. - `POST /v1/workspaces/{workspaceId}/daily-summary/send` (sendDailySummaryNow): Send yourself yesterday's daily summary now. ### Deliverability - `GET /v1/workspaces/{workspaceId}/deliverability` (getDeliverabilitySummary) - `GET /v1/workspaces/{workspaceId}/deliverability/bounces` (listDeliverabilityBounces) - `GET /v1/workspaces/{workspaceId}/deliverability/resolutions` (listDeliverabilityResolutions) - `POST /v1/workspaces/{workspaceId}/deliverability/resolutions` (decideDeliverabilityResolution) ### Documents - `GET /v1/workspaces/{workspaceId}/documents` (listDocuments) ### Email preview - `GET /v1/workspaces/{workspaceId}/email-preview` (getEmailPreview): Render saved emails for visual iteration without sending ### Events - `POST /v1/workspaces/{workspaceId}/events` (sendWorkspaceEvent): Send a custom event into the product's Journeys. ### Experiments - `GET /v1/workspaces/{workspaceId}/experiments` (listExperiments) - `POST /v1/workspaces/{workspaceId}/experiments` (createExperiment) - `GET /v1/workspaces/{workspaceId}/experiments/{experimentId}` (getExperiment) - `POST /v1/workspaces/{workspaceId}/experiments/{experimentId}/decide` (decideExperiment) - `POST /v1/workspaces/{workspaceId}/experiments/{experimentId}/stop` (stopExperiment) ### Feedback - `GET /v1/workspaces/{workspaceId}/feedback` (getCustomerFeedbackAvailability): Check whether customer feedback delivery is available - `POST /v1/workspaces/{workspaceId}/feedback` (submitCustomerFeedback): Report a bug, send feedback, or suggest a feature - `POST /v1/workspaces/{workspaceId}/feedback/attachments` (uploadCustomerFeedbackAttachment): Upload a screenshot or video to private Linear storage - `POST /v1/workspaces/{workspaceId}/feedback/attachments/prepare` (prepareCustomerFeedbackAttachment): Prepare a direct agent or server media upload - `POST /v1/workspaces/{workspaceId}/feedback/attachments/{attachmentId}/complete` (completeCustomerFeedbackAttachment): Verify a direct media upload before attaching it to feedback ### Home - `GET /v1/workspaces/{workspaceId}/home` (getHome): Load the setup or operating Home for the selected product. - `GET /v1/workspaces/{workspaceId}/home/feed` (getHomeFeed): Read Home as a feed of the reader's days. - `POST /v1/workspaces/{workspaceId}/home/seen` (markHomeSeen): Record the last day summary the reader has seen in Home. ### Label suggestions - `GET /v1/workspaces/{workspaceId}/label-suggestions` (listLabelSuggestions) ### Labels - `GET /v1/workspaces/{workspaceId}/labels` (listLabels) - `POST /v1/workspaces/{workspaceId}/labels` (createLabel) - `PATCH /v1/workspaces/{workspaceId}/labels/{labelId}` (updateLabel) - `DELETE /v1/workspaces/{workspaceId}/labels/{labelId}` (deleteLabel) ### Logs - `GET /v1/workspaces/{workspaceId}/logs` (listLogs) - `GET /v1/workspaces/{workspaceId}/logs/{entryId}` (getLogEntry) ### Mail page - `GET /v1/workspaces/{workspaceId}/mail-page` (getMailPage) ### Mailchimp migration - `GET /v1/workspaces/{workspaceId}/mailchimp-migration` (getMailchimpMigration): Read the progress and report of the move from Mailchimp. - `POST /v1/workspaces/{workspaceId}/mailchimp-migration` (startMailchimpMigration): Start, or run again, the move from Mailchimp into this product. ### Managed content - `GET /v1/workspaces/{workspaceId}/managed-content` (listManagedContent): List product managed email content in stable newest-id order. - `POST /v1/workspaces/{workspaceId}/managed-content` (createManagedContent): Save a source-locale email draft and queue missing target translations. - `GET /v1/workspaces/{workspaceId}/managed-content/{contentId}` (getManagedContent): Read the draft revision, translations, and preparation status. - `PATCH /v1/workspaces/{workspaceId}/managed-content/{contentId}` (updateManagedContent): Save a new source draft revision without changing production publication. - `POST /v1/workspaces/{workspaceId}/managed-content/{contentId}/render` (renderManagedContent): Preview a saved source revision and one ready locale without sending. - `POST /v1/workspaces/{workspaceId}/managed-content/{contentId}/translations/{locale}/retry` (retryManagedTranslation): Retry a failed automatic translation of the current source draft. - `GET /v1/workspaces/{workspaceId}/managed-content/{contentId}/translations` (getManagedContentTranslations): Read translation catalogs and preparation jobs for the draft revision. - `POST /v1/workspaces/{workspaceId}/managed-content/{contentId}/translations/{locale}/review` (reviewManagedContentTranslation): Review the exact pending translation catalog for one source revision. - `GET /v1/workspaces/{workspaceId}/managed-content/{contentId}/versions` (listManagedContentPublications): List immutable publication history. - `POST /v1/workspaces/{workspaceId}/managed-content/{contentId}/restore` (restoreManagedContentRevision): Copy an earlier source revision into a new draft, without publishing it. ### Managed layouts - `GET /v1/workspaces/{workspaceId}/managed-layouts` (listManagedLayouts): List reusable product email layouts. - `POST /v1/workspaces/{workspaceId}/managed-layouts` (createManagedLayout): Create a draft layout from validated HTML or a brand-seeded default. - `GET /v1/workspaces/{workspaceId}/managed-layouts/{layoutId}` (getManagedLayout): Read a layout and its current draft revision. - `PATCH /v1/workspaces/{workspaceId}/managed-layouts/{layoutId}` (saveManagedLayoutDraft): Save a validated draft layout revision. - `GET /v1/workspaces/{workspaceId}/managed-layouts/{layoutId}/versions` (listManagedLayoutVersions): List immutable layout revisions. - `GET /v1/workspaces/{workspaceId}/managed-layouts/{layoutId}/impact` (describeManagedLayoutImpact): Describe content drafts and publications depending on this layout. - `POST /v1/workspaces/{workspaceId}/managed-layouts/{layoutId}/restore` (restoreManagedLayoutDraft): Copy an immutable layout revision into a new draft. ### Members - `PATCH /v1/workspaces/{workspaceId}/members/{memberId}` (updateWorkspaceMemberRole): Change another member's role. ### Oauth - `POST /v1/workspaces/{workspaceId}/oauth/setup-ticket` (createOAuthSetupTicket): Create an agent connection setup ticket - `POST /v1/workspaces/{workspaceId}/oauth/setup-ticket/connection-code` (issueOAuthConnectionCode): Email an agent connection code - `DELETE /v1/workspaces/{workspaceId}/oauth/setup-ticket/connection-code` (cancelOAuthConnectionCode): Cancel a pending agent connection code ### Oauth clients - `GET /v1/workspaces/{workspaceId}/oauth-clients` (listWorkspaceOAuthClients): List the workspace's OAuth clients for agent platforms that connect with a client ID and secret, such as Gemini Enterprise. - `POST /v1/workspaces/{workspaceId}/oauth-clients` (createWorkspaceOAuthClient): Create a confidential OAuth client (client ID and secret) for an agent platform. - `POST /v1/workspaces/{workspaceId}/oauth-clients/{clientId}/revoke` (revokeWorkspaceOAuthClient): Revoke an OAuth client. Its secret stops working and every connection made through it loses access within about 30 seconds. ### Qa - `POST /v1/workspaces/{workspaceId}/qa/approvals/{approvalId}/decision` (decideDedicatedQaApproval) - `POST /v1/workspaces/{workspaceId}/qa/approval-runs/revoke` (revokeDedicatedQaApprovalRun) ### Realtime ticket - `POST /v1/workspaces/{workspaceId}/realtime-ticket` (createRealtimeTicket) ### Recipient suggestions - `GET /v1/workspaces/{workspaceId}/recipient-suggestions` (listRecipientSuggestions) ### Review policy - `GET /v1/workspaces/{workspaceId}/review-policy` (getActionReviewPolicy) - `PUT /v1/workspaces/{workspaceId}/review-policy` (updateActionReviewPolicy) ### Select - `POST /v1/workspaces/{workspaceId}/select` (selectWorkspace): Make a workspace the signed-in person's current workspace. ### Sender avatar - `GET /v1/workspaces/{workspaceId}/sender-avatar` (getSenderAvatar) ### Sending health - `GET /v1/workspaces/{workspaceId}/sending-health` (getSendingHealth): Read sender-reputation enforcement state, lane rates, pauses and the enforced thresholds. - `POST /v1/workspaces/{workspaceId}/sending-health/resume` (resumeSending): Resume one lane, domain or mailbox pause after reviewing its rates and sources. ### Sending lanes - `GET /v1/workspaces/{workspaceId}/sending-lanes` (listEmailLanes) - `POST /v1/workspaces/{workspaceId}/sending-lanes` (createEmailLane) - `POST /v1/workspaces/{workspaceId}/sending-lanes/plan` (planEmailLane) - `POST /v1/workspaces/{workspaceId}/sending-lanes/migrations` (requestEmailLaneMigration) ### Starters - `GET /v1/workspaces/{workspaceId}/starters` (listStarters) ### Support - `POST /v1/workspaces/{workspaceId}/support/messages` (sendSupportMessage): Send a message to Banger support ### Suppressions - `GET /v1/workspaces/{workspaceId}/suppressions` (listSuppressions) - `POST /v1/workspaces/{workspaceId}/suppressions` (createSuppression) - `DELETE /v1/workspaces/{workspaceId}/suppressions/{emailHash}` (deleteSuppression) ### Surface data - `GET /v1/workspaces/{workspaceId}/surface-data/{surface}` (getSurfaceData): Load a product screen through one authorized database transaction. ### Triage actions - `GET /v1/workspaces/{workspaceId}/triage-actions` (listTriageActions) - `POST /v1/workspaces/{workspaceId}/triage-actions/{actionId}/undo` (undoTriageAction) ### Triage rules - `GET /v1/workspaces/{workspaceId}/triage-rules` (listTriageRules) - `POST /v1/workspaces/{workspaceId}/triage-rules` (createTriageRule) - `POST /v1/workspaces/{workspaceId}/triage-rules/preview` (previewTriageRule) - `POST /v1/workspaces/{workspaceId}/triage-rules/run-past-mail` (runTriageOnPastMail) - `GET /v1/workspaces/{workspaceId}/triage-rules/{ruleId}` (getTriageRule) - `PATCH /v1/workspaces/{workspaceId}/triage-rules/{ruleId}` (updateTriageRule) - `DELETE /v1/workspaces/{workspaceId}/triage-rules/{ruleId}` (deleteTriageRule) ### Triage usage - `GET /v1/workspaces/{workspaceId}/triage-usage` (getTriageUsage) ### Work - `GET /v1/workspaces/{workspaceId}/work` (listWork) ### Connections - `GET /v1/workspaces/{workspaceId}/connections` (listConnections): List Banger-managed product and business data connections. - `POST /v1/workspaces/{workspaceId}/connections/adapters/{adapterKey}` (createConnection): Validate and encrypt a Banger-managed source connection. - `DELETE /v1/workspaces/{workspaceId}/connections/{connectionId}` (disableConnection) - `POST /v1/workspaces/{workspaceId}/connections/{connectionId}/validate` (validateConnection): Revalidate the active credential and refresh account metadata. - `POST /v1/workspaces/{workspaceId}/connections/{connectionId}/credential` (rotateConnectionCredential): Validate and atomically rotate a managed connection credential. - `POST /v1/workspaces/{workspaceId}/connections/{connectionId}/query` (queryConnection): Execute a typed, bounded read against a Banger-managed connection. - `GET /v1/workspaces/{workspaceId}/connections/{connectionId}/grants` (listConnectionGrants) - `PUT /v1/workspaces/{workspaceId}/connections/{connectionId}/grants/{principalKind}/{principalId}` (grantConnectionAccess) - `DELETE /v1/workspaces/{workspaceId}/connections/{connectionId}/grants/{principalKind}/{principalId}` (revokeConnectionAccess) ### Providers - `POST /v1/workspaces/{workspaceId}/providers/google/oauth/session` (createGmailOAuthSession): Start a PKCE-protected Gmail mailbox connection for this workspace. - `GET /v1/workspaces/{workspaceId}/providers/google/oauth/sessions/{sessionId}` (getWorkspaceGmailOAuthSession): Poll a Gmail authorization session inside its workspace boundary. ### Provider connections - `GET /v1/workspaces/{workspaceId}/provider-connections` (listProviderConnections) - `POST /v1/workspaces/{workspaceId}/provider-connections/resend` (createResendProviderConnection) - `PUT /v1/workspaces/{workspaceId}/provider-connections/{providerConnectionId}/credential` (rotateResendProviderCredential) - `DELETE /v1/workspaces/{workspaceId}/provider-connections/{providerConnectionId}` (disableProviderConnection) ### Sending domains - `GET /v1/workspaces/{workspaceId}/sending-domains` (listNativeSendingDomains) - `POST /v1/workspaces/{workspaceId}/sending-domains` (createNativeSendingDomain) - `GET /v1/workspaces/{workspaceId}/sending-domains/{sendingDomainId}` (getNativeSendingDomain) - `DELETE /v1/workspaces/{workspaceId}/sending-domains/{sendingDomainId}` (deleteNativeSendingDomain) - `DELETE /v1/workspaces/{workspaceId}/sending-domains/{sendingDomainId}/lanes/{laneKind}` (removeNativeSendingLane) - `POST /v1/workspaces/{workspaceId}/sending-domains/{sendingDomainId}/lanes/{laneKind}/pause` (pauseNativeSendingLane) - `POST /v1/workspaces/{workspaceId}/sending-domains/{sendingDomainId}/lanes/{laneKind}/resume` (resumeNativeSendingLane) - `POST /v1/workspaces/{workspaceId}/sending-domains/{sendingDomainId}/verify` (verifyNativeSendingDomain) ### Sending domain migrations - `POST /v1/workspaces/{workspaceId}/sending-domain-migrations` (requestNativeDomainMigration) ### Webhooks - `GET /v1/workspaces/{workspaceId}/webhooks` (listProductWebhooks): List inbound event sources and outbound event destinations. - `POST /v1/workspaces/{workspaceId}/webhooks` (createProductWebhook): Create a signed, retried destination or idempotent inbound event source. - `PATCH /v1/workspaces/{workspaceId}/webhooks/{endpointId}` (updateProductWebhookStatus): Disable a webhook, or re-enable a disabled or failing one, without rotating its endpoint or secret. - `DELETE /v1/workspaces/{workspaceId}/webhooks/{endpointId}` (deleteProductWebhook): Permanently delete a webhook so its name can be used again. - `GET /v1/workspaces/{workspaceId}/webhooks/{endpointId}/credentials` (getIncomingWebhookCredentials): Reopen an active incoming webhook's existing credential options. - `GET /v1/workspaces/{workspaceId}/webhooks/{endpointId}/deliveries` (listProductWebhookDeliveries): List recent delivery attempts and HTTP outcomes for an outbound webhook. - `POST /v1/workspaces/{workspaceId}/webhooks/{endpointId}/test` (testProductWebhook): Queue one signed synthetic event through the normal retrying delivery path. ### Onboarding - `PUT /v1/workspaces/{workspaceId}/onboarding/path` (selectOnboardingPath) - `GET /v1/workspaces/{workspaceId}/onboarding/guided` (getGuidedOnboarding): Read the canonical setup (connect, brand, domain) without creating resources or sending email. - `POST /v1/workspaces/{workspaceId}/onboarding/guided` (actOnGuidedOnboarding): Execute one explicit retry-safe onboarding action for the selected product. - `GET /v1/workspaces/{workspaceId}/onboarding/agent-state` (getAgentOnboardingState): Resume the shared browser and MCP onboarding journey. - `POST /v1/workspaces/{workspaceId}/onboarding/agent-state/start` (startAgentOnboarding): Select the agent-led entry surface or the browser fallback. - `POST /v1/workspaces/{workspaceId}/onboarding/agent-state/aha-one` (ensureAgentOnboardingAhaOne): Idempotently create the permanent hosted mailbox and start its real welcome-message round trip. - `POST /v1/workspaces/{workspaceId}/onboarding/agent-state/agent-proof` (sendAgentOnboardingProof): Send the OAuth-bound agent connection proof to the canonical hosted mailbox. - `PUT /v1/workspaces/{workspaceId}/onboarding/agent-state/decision` (recordAgentOnboardingDecision): Record one explicit progressive-onboarding choice. - `PUT /v1/workspaces/{workspaceId}/onboarding/agent-state/domain-choice` (chooseAgentOnboardingDomain): Persist the user's company-domain or no-domain onboarding decision and run canonical discovery. - `PUT /v1/workspaces/{workspaceId}/onboarding/agent-state/context` (submitAgentOnboardingContext): Store reviewed business context supplied by the browser or connected agent. - `PUT /v1/workspaces/{workspaceId}/onboarding/agent-state/plan` (submitAgentOnboardingPlan): Store personalized next-step choices after live email activation passes. - `POST /v1/workspaces/{workspaceId}/onboarding/agent-state/apply` (recordAgentOnboardingImplementation): Record reviewed artifacts prepared from the opportunity plan. - `POST /v1/workspaces/{workspaceId}/onboarding/agent-state/plan/approve` (approveAgentOnboardingPlan): Approve the proposed opportunity map before the agent prepares sensitive changes. - `POST /v1/workspaces/{workspaceId}/onboarding/agent-state/validate` (validateAgentOnboarding): Derive deterministic activation validation from Banger-owned proof state. - `POST /v1/workspaces/{workspaceId}/onboarding/agent-state/complete` (completeAgentOnboarding): Complete onboarding after deterministic validation passes. - `GET /v1/workspaces/{workspaceId}/onboarding/starter-proof` (getStarterMailboxProof): Read the durable status of a starter-address round trip. - `POST /v1/workspaces/{workspaceId}/onboarding/starter-proof` (startStarterMailboxProof): Start or resume a real send-and-receive proof for a starter address. - `GET /v1/workspaces/{workspaceId}/onboarding/domain-proof` (getDomainInfrastructureProof): Read the durable status of the domain infrastructure checks. - `POST /v1/workspaces/{workspaceId}/onboarding/domain-proof` (startDomainInfrastructureProof): Start or resume two real send-and-receive checks for verified Banger infrastructure. - `PUT /v1/workspaces/{workspaceId}/onboarding/goal` (selectActivationGoal) - `GET /v1/workspaces/{workspaceId}/onboarding/discovery` (getWorkspaceDomainDiscovery) - `POST /v1/workspaces/{workspaceId}/onboarding/discovery` (scanWorkspaceDomain) - `PUT /v1/workspaces/{workspaceId}/onboarding/discovery` (confirmWorkspaceDomainDiscovery) - `POST /v1/workspaces/{workspaceId}/onboarding/agent-state/confirm-connection` (confirmAgentConnection): Confirm the current OAuth agent connection ### Access - `GET /v1/workspaces/{workspaceId}/access` (getWorkspaceDirectory): List workspace members and active invitations. ### Invitations - `POST /v1/workspaces/{workspaceId}/invitations` (createWorkspaceInvitation): Invite a human actor to the workspace. ### API keys - `GET /v1/workspaces/{workspaceId}/api-keys` (listWorkspaceApiKeys) - `POST /v1/workspaces/{workspaceId}/api-keys` (createWorkspaceApiKey) - `DELETE /v1/workspaces/{workspaceId}/api-keys/{apiKeyId}` (revokeWorkspaceApiKey) ### Billing - `GET /v1/workspaces/{workspaceId}/billing` (getBilling): Read billing, usage, and available plans - `POST /v1/workspaces/{workspaceId}/billing` (syncBilling): Synchronize billing from Stripe - `POST /v1/workspaces/{workspaceId}/billing/sync` (syncBillingFromStripe): Synchronize the latest Stripe subscription - `POST /v1/workspaces/{workspaceId}/billing/checkout` (createBillingCheckout): Start checkout or open the billing portal - `POST /v1/workspaces/{workspaceId}/billing/portal` (createBillingPortal): Open the customer billing portal - `POST /v1/workspaces/{workspaceId}/billing/agent-payment` (createBillingAgentPayment): Buy prepaid plan time with a Shared Payment Token - `POST /v1/workspaces/{workspaceId}/billing/spend-limit` (setBillingSpendLimit): Set the monthly spending limit for usage charges ### Workspaces - `POST /v1/workspaces` (createWorkspace) - `GET /v1/workspaces/{workspaceId}` (getWorkspace): Read the workspace, its owner, and the signed-in person's other workspaces. - `PATCH /v1/workspaces/{workspaceId}` (renameWorkspace): Rename a workspace. - `DELETE /v1/workspaces/{workspaceId}` (deleteWorkspace): Permanently delete an owned workspace and queue physical object cleanup. --- # Email Marketing & Automation with AI | Banger Canonical URL: https://bangermail.com/ Language: English Reference updated: 2026-10-17 > Email marketing & automation your AI runs, for online stores and every business that keeps in touch with its customers. Start free, or book a free setup call. ## Email marketing & automation so easy, it feels unfair. Win new customers and keep the ones you have, with emails that reach the inbox, hands-on support from real people and a fair price. ## Everything Klaviyo does and more. Newsletters, cart reminders, welcome emails, signup forms, order receipts and a shared inbox for your team. Ask your AI in plain words, or click through it yourself. These are example requests from the landing page. Workflows involving external systems require the corresponding integrations and permissions. - Banger AI: Plan our fall launch. Write it, pick who gets it, make it look like us. - Campaigns: Tell everyone who bought in the last year about the 20% sale. It ends Sunday. - Journeys: When someone leaves a cart, remind them an hour later. - Transactional email: Send a receipt every time someone places an order. - Mailboxes: Put support@ in Banger so the whole team can reply. - Audiences: Find customers who haven’t been back in two months. - Signup forms: Add a popup that gives 10% off for joining the list. - A/B tests: Test two subject lines and send the winner to everyone else. - Automatic translation: Send it to each customer in their own language. - Reports: How did last week’s campaign do, and what should we send next? ## No reason to keep paying 6x more for email marketing. At 10,000 contacts, each sent 4 marketing and 2 transactional emails a month. List prices checked October 11 and 12, 2026. ## Moving from Mailchimp or Klaviyo? We’ll carry the boxes. Your AI moves your contacts, lists, unsubscribes and automations from Mailchimp or Klaviyo in minutes. Rather do it with a person? Book a call and we’ll move you for free. ## A free email marketing setup, with your AI connected. On your free setup call we connect ChatGPT or Claude to Banger, show you the prompts that run your email, and send your first campaign together. ## Product reference Banger combines company mailboxes, transactional email, lifecycle Journeys, and marketing Broadcasts in one system. Agents operate through MCP and programmatic interfaces; people use the visual web app at https://app.bangermail.com/ to inspect, edit, review, and take over. Banger does not currently offer standalone Banger desktop or mobile apps. ### Workspaces and products A workspace is the access boundary. Products organize individual businesses, stores, brands, newsletters, or applications within it. Agents can list products, create or update a product, read company context, and inspect setup progress. Select the intended product before changing its content, domains, audience, or sending configuration. When several products exist, write operations need an unambiguous product target. ### Company mailboxes and shared inbox work Create native mailboxes on connected domains, inspect existing provider connections, list mailboxes and threads, read message bodies, search mail, and retrieve workspace work queues. Agents can summarize conversations, prepare replies, send from a selected mailbox, and mutate thread state. Labels and triage rules help organize incoming work: preview a rule, enable or disable it, apply it to past mail, inspect its actions, and undo supported triage changes. The mailbox is a real sending identity. Mail sent through a mailbox uses its actual address; it is not silently rewritten to a product's transactional subdomain. Inbound replies and outbound work remain available to the team in the web app. ### Domains and sending infrastructure Native domain tools create and inspect sending domains, provide verification state, verify required DNS records, and inspect domain activation proofs. Product-domain setup and migration workflows connect domains to the right product. Teams can inspect sending health and pause or resume sending lanes when necessary. A starter-mailbox flow supports onboarding and verification before a full domain setup. These authenticated infrastructure capabilities are part of Banger. They are separate from the retired public website domain-checker tool. ### Transactional and product email Send receipts, sign-in messages, alerts, confirmations, and other product notifications through the API or an agent. The email tool accepts recipient lists, subject, HTML or text, optional template/content inputs, and an idempotency key. Read the specific tool signature for required mailbox and reply-to fields. A successful submission is not proof of delivery. Inspect send records and delivery status to distinguish accepted, queued, delivered, bounced, or failed work. Banger applies identity readiness, suppression, allowance, and policy checks. Emails and signup forms carry no Banger watermark on any plan. ### Journeys and lifecycle automation Journeys connect product events and audience activity to email sequences. Use them for welcome, activation, nurture, reminders, retention, and win-back flows. Agents can create or register a keyed Journey, inspect and update its definition, preview and render messages, simulate execution, manage status, enroll contacts, and inspect executions. Managed API Journeys are the default for new registration. They carry source-language HTML, typed variables, and sample values; Banger prepares additional languages asynchronously. Existing code Journeys remain supported. A draft does not send anything. A Journey's first activation requires a human review of its sending setup. Subsequent execution remains bounded by the reviewed scope and saved policies. ### Marketing Broadcasts Broadcasts cover newsletters, launches, announcements, and other audience sends. Agents can create and update drafts, preview audiences, check readiness, schedule or send, and inspect recipients and timeline events. Pause, resume, cancel, archive, and delete operations have distinct meanings and should be selected intentionally. Before sending, inspect the actual audience, rendered content, sender, exclusions, schedule, and readiness result. A saved draft, an audience preview, and a scheduled send are different states. Agents and people work on the same product objects rather than maintaining separate copies of a campaign. ### Contacts, lists, segments, and imports Maintain contacts and custom fields, manage contact lists and list membership, and build reusable segments. Preview a segment to understand whom a rule selects before attaching it to a Broadcast or Journey. Contact import tools support mapping proposals, validation, import requests, and status inspection. Contact records and eligibility rules inform targeting; appearing in a list does not override suppression or sending policy. ### Signup forms Build inline forms, popups, bars, slide-ins, or hosted signup experiences. Forms can define fields and consent settings, with popup triggers such as delay, scrolling, and exit intent. Preview a form before using it and manage the form against its intended product and audience workflow. Creating a form is distinct from activating an email Journey for its subscribers. ### Brand, templates, assets, and visual design Read the saved brand before designing email. Reuse its colors, typography, tone, and footer details. Create, update, duplicate, and preview templates; generate or revise email designs; upload email images and assets; and render previews for review in a supported agent host. An unsaved design preview saves and sends nothing. Review the actual rendering and sample variables, then revise it before scheduling or activating the associated workflow. Tool results can provide preview artifacts or links when a client cannot display an embedded preview. ### Managed content, localization, and shared layouts Managed content separates editable email content from the application code that triggers it. Create and update content, render it with variables, inspect translations, review translated content, publish revisions, and restore earlier revisions. Product content settings govern localization behavior. Shared layouts provide reusable email structure. Inspect versions, preview approvals, and assess impact before publishing a layout that other content uses. Publishing content or a layout is a separate operation from editing a draft; inspect the affected messages and returned publication state. ### Experiments Test two to four variants of a subject, design, content, or from-name. Broadcasts can test on a sample first and send the winning variant to the remaining audience. Journey steps and automations can split continuously. Supported outcome signals include human-only opens, clicks, replies, and Journey goals. Agents can inspect experiments, recommend arms, decide or stop experiments, and manage split decisions. Automatic decisions use minimum samples and a confidence threshold; a configured deadline can promote the current leader even when the confidence threshold was not reached. Inspect the decision basis when interpreting a result. ### Communication policy and deliverability Product-wide policies coordinate recipient frequency caps, message spacing, and delivery windows across Journeys and Broadcasts. A read-only simulation can show how fixed requests would be scheduled without sending or reserving slots. Policy updates use concurrency checks. Urgent messages can bypass frequency caps, but not delivery suppression or expiry. Health and deliverability tools expose sending state, recent hard bounces and complaints, logs, and delivery outcomes. Suppression, unsubscribe handling, domain readiness, limits, and freeze state constrain execution independently of what an agent asks to do. ### Connections and incoming webhooks Inspect available connections, confirm setup, and query an authorized connection to use relevant business data in an email workflow. Incoming webhooks create an endpoint and durable connection that a Journey can reference. Inspect webhook state, test integrations, and check receipt evidence before treating the integration as working. Credentials are handled through private setup panels where supported, or the Banger web app. Creating an incoming webhook does not activate a Journey or prove that an event arrived. Webhook creation is not idempotent: repeating it can create another endpoint. Secret URLs and bearer tokens belong in the sending application's secure configuration. ### Permissions, review, and human control OAuth grants and API keys scope access to a workspace and permitted operations. Agents can inspect connected agents and API keys; authorized users can revoke access. The server enforces authorization independently of the language model. A tool being described in this document does not guarantee it is available to every connection. Current action behavior allows draft and send operations to execute directly under the applicable policy; the first Journey activation requires human review. Stricter saved policies still apply. Do not assume that every send waits for approval, or that an agent can bypass a required review. Read readiness, policy, approval, and execution results for the concrete action. ### Billing and support Billing tools report the current plan, usage, sending allowances, storage, and available pricing, and can open upgrade or billing-management flows. Use those live results and the pricing page for current limits rather than relying on fixed numbers in this reference. Agents can submit feedback, report a bug, suggest a feature, and attach supporting material through the corresponding tools. ## Agent access and developer interfaces The remote MCP endpoint is `https://api.bangermail.com/mcp`. Connect through a supported Banger integration, authorize the intended workspace, and grant the required scopes. The [client setup guide](https://bangermail.com/banger-mcp/) covers Claude, Claude Code, ChatGPT, Codex, and other MCP clients. Clients such as Cursor, Hermes, and OpenClaw need compatible remote MCP and authentication support; setup and embedded UI support vary by client. Use MCP for agent-driven discovery and operations, the HTTP API for application integration, and the CLI/SDK surfaces where available in your environment. This documentation does not imply that an internal package name is publicly installable. - [All 274 MCP tools and typed inputs](https://bangermail.com/mcp.md) - [API authentication, examples, and transport](https://bangermail.com/api.md) - [MCP client setup](https://bangermail.com/banger-mcp/) - [Complete product, API, and MCP reference in one file](https://bangermail.com/llms-full.txt) ## Open source: Bangerverse Bangerverse is Banger's open-source home for companion apps, integrations, and email templates. Fork a project, customize it with your agent, contribute an improvement, or use its integration contract to build something new. - [Pulse](https://github.com/bangermail/bangerverse/tree/main/apps/pulse): a beta desktop companion for macOS, Windows, and Linux with watched-mailbox alerts and one-time-code copying. It keeps a short recent-alert list in memory and does not store email bodies. Pulse is a companion project, not a standalone Banger desktop email app. - [mailG](https://github.com/bangermail/bangerverse/tree/main/apps/mailg): a beta Gmail-style web inbox for reading, composing, labeling, starring, and archiving Banger mail. Fork and customize the UI; check the project's README for current authentication and rollout requirements. - [Email templates](https://github.com/bangermail/bangerverse/tree/main/templates): 70 templates across eight styles, with briefs and responsive, email-safe HTML that can be adapted to a brand's colors and fonts. - [Integration contract](https://github.com/bangermail/bangerverse/blob/main/docs/integration-contract.md): guidance for applications built around Banger. - [Repository and contributions](https://github.com/bangermail/bangerverse) - [License](https://github.com/bangermail/bangerverse/blob/main/LICENSE): MIT unless a project specifies otherwise. Bangerverse contains open-source projects around Banger. It does not contain the hosted Banger server or the complete hosted web application. ## Documentation scope This product reference was assembled on 2026-09-29 from the landing-page source, Banger's connected MCP tool catalog, repository integration documentation, and the public Bangerverse README. Availability depends on workspace access, permissions, product setup, plan, and client support. The live MCP catalog and operation responses take precedence over this static snapshot. Canonical site: https://bangermail.com/ Web app: https://app.bangermail.com/ Pricing: https://bangermail.com/pricing/ Trust and security: https://bangermail.com/trust/ Privacy: https://bangermail.com/privacy/ Terms: https://bangermail.com/terms/ Contact: support@team.bangermail.com ## Frequently asked questions ### What is Banger? Banger is email marketing your AI runs, for any business that keeps in touch with its customers: online stores, service businesses, local shops and apps. Ask ChatGPT, Claude or Grok for a launch campaign, a welcome series or a win-back, and Banger builds it in your brand and sends it from your own domain. You review everything in the Banger web app before it goes out. ### How is Banger different from Klaviyo or Mailchimp? You get the same campaigns, automated Journeys, signup forms and A/B tests, but you set them up by asking your AI instead of clicking through builders. And you pay a fraction: at 10,000 contacts, Banger costs $24 a month, against $150 for Klaviyo and $155 for Mailchimp. ### Will my emails land in the inbox? Banger is built so they do. Your emails go out from your own domain on Amazon SES, with SPF, DKIM and DMARC set up for you, and every marketing email has a one-click unsubscribe. A hard bounce or a spam complaint takes that address off future sends. Banger warns you when complaints pass 0.08% and pauses sending above 0.3%, the limit Gmail and Yahoo set for bulk senders, so a bad list can’t keep hurting your domain. ### How much does Banger cost? You can start free: 500 emails a month, up to 100 a day, with no credit card and no time limit. Premium is $20 a month billed yearly, or $24 month to month, and includes 100,000 emails a month with no daily cap. Contacts and mailboxes are unlimited, and every feature is on every plan. ### Can you move my email from Klaviyo or Mailchimp? Yes, for free. Your AI can move your contacts, lists, unsubscribes and automations in minutes, or book a free setup call and our team does it with you. Nothing changes on your domain until you approve it. ### Does Banger work with Shopify, WooCommerce and other stores? Yes. Banger connects to any store through webhooks or SMTP, so orders, signups and abandoned carts can trigger your emails. Shopify, WooCommerce, BigCommerce, PrestaShop, Wix and Squarespace all work this way. ### Can Banger recover abandoned carts? Yes. Ask your AI for a cart reminder and Banger sends it when someone leaves a cart behind. You decide the timing and whether it includes a discount. ### Do I need to know how to use AI? No. Book a free setup call and we connect ChatGPT, Claude or Grok to Banger with you, show you the prompts that run your email, and send your first campaign together. ### Which AI apps work with Banger? ChatGPT, Claude and Grok, plus any other app that supports MCP. Add Banger to the one you already use, sign in, and start asking. ### Can I see and change what my AI sends? Yes. Everything your AI builds shows up in the Banger web app, where you and your team can review it, edit it or pause it before and after it sends. ### Is my data used to train AI models? No. Banger does not sell your data or use your email content to train models. Personally identifiable information is removed before any call to an AI provider. ## Start free today Join hundreds of businesses that stopped overpaying for email. [Start for free](https://app.bangermail.com/) · [Pricing](https://bangermail.com/pricing/) · [AI-readable index](https://bangermail.com/llms.txt) --- # Banger API guide Canonical URL: https://bangermail.com/api.md Reference date: 2026-10-15 API origin: `https://api.bangermail.com` Remote MCP endpoint: `https://api.bangermail.com/mcp` Banger exposes company email operations through HTTP and remote MCP. Use the [product guide](https://bangermail.com/index.md) for capabilities and the [complete MCP reference](https://bangermail.com/mcp.md) for all 274 tool descriptions and exact typed inputs. ## Authentication and workspace selection Remote MCP supports OAuth 2.1 authorization code with S256 PKCE. A compatible client discovers Banger's protected-resource and authorization-server metadata, opens the Banger authorization flow, and receives credentials after the user chooses and authorizes access. Passwords, email verification codes, and session cookies belong in the private authentication flow. Scripts and supported non-interactive integrations can use workspace API keys. Store a key in an environment variable such as `BANGER_API_KEY`, outside source control. Send it with `Authorization: Bearer `. The email gateway below uses a workspace API key. An MCP credential binds the caller to a workspace and scopes. MCP tool arguments do not accept `workspace_id`; product-scoped operations can accept `product_id`. The tool catalog is filtered by granted scopes, and underlying operations enforce authorization again. Representative scopes include `mail:read`, `mail:write`, `mail:send`, `contacts:read`, `contacts:write`, `campaigns:read`, `campaigns:write`, `campaigns:send`, `automation:read`, `automation:execute`, and connection-management scopes. Request the permissions your integration needs. Revocation and missing scope can invalidate previously working operations. ## Send an email over HTTP The `POST /emails` gateway accepts a Resend-compatible email body. It requires `from`, `to`, `subject` and `reply_to`, plus HTML or plain text. The sender must be authorized and ready to send. Product email has exactly one Reply-To address, where replies reach a person: without one, or with two, the gateway returns 422 `product_reply_to_required`. Optional fields include cc, bcc, headers, tags, and attachments according to the gateway contract. Recipient fields (`to`, `cc`, `bcc`, `reply_to`) take one address or a list. Each entry is `"pat@example.com"`, `"Pat Lee "`, or `{ "email": "pat@example.com", "name": "Pat Lee" }`. This example sends an email when executed. Replace the illustrative addresses with an authorized sender and intended recipient. ```sh curl https://api.bangermail.com/emails \ -H "Authorization: Bearer $BANGER_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: receipt-order-123-v1" \ -d '{ "from": "billing@your-verified-domain.com", "to": "customer@example.com", "reply_to": "support@your-verified-domain.com", "subject": "Your receipt", "text": "Thank you. Your order has been received." }' ``` An accepted response contains an `id`. Acceptance is not delivery confirmation. Follow the send using delivery records and status tools. Keep the same idempotency key when retrying the same logical request; use a different key for a genuinely new send. Do not silently alter a payload while reusing its identity. The send belongs to one product. A product API key sends as its own product and needs no product header; sending `X-Banger-Product-Id` with another product's id returns 403 `api_key_product_mismatch`. A workspace key or OAuth credential in a workspace with more than one active product must send `X-Banger-Product-Id`, otherwise the gateway returns 409 `product_required`. An archived product returns 404 `product_not_found`. The mailbox-based MCP send interface has its own schema, including a mailbox ID and reply-to. Do not copy REST gateway fields into an MCP call without checking the tool definition. ## Send an event `POST /v1/workspaces/{workspaceId}/events` sends one custom event, such as `signup` or `trial_started`, into a product's Journeys. It needs an API key with `automation:execute`. A product API key already names its product; other credentials send `X-Banger-Product-Id` when the workspace has more than one active product. This example can start Journeys that send email when executed. ```sh curl https://api.bangermail.com/v1/workspaces/$BANGER_WORKSPACE_ID/events \ -H "Authorization: Bearer $BANGER_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "type": "trial_started", "id": "trial-4821", "email": "customer@example.com", "name": "Pat Lee", "attributes": { "plan": "pro", "seats": 5 } }' ``` - `type` (required) is the event name Journey triggers and goals match: letters, digits, and `_ . : -`, up to 120 characters. - `id` identifies the event in your system. Without it, the `Idempotency-Key` header is the id; one of the two is required (`400 missing_event_id`). - `email` and `name` describe the person the event is about. `occurred_at` is an ISO 8601 time and defaults to when Banger receives the event. - `attributes` holds up to 50 text (500 characters at most), number, or true/false values that Journey conditions and email content can read. - `connection_id` is optional; see below. The first event creates the product's **Banger API events** incoming webhook. It appears in the webhook list, and its `connection_id` is what a Journey's event trigger or goal names, together with the event type. To drive Journeys already built on another source, such as a Stripe webhook, send that source's `connection_id`; it must be an active incoming webhook of the same product (`404 webhook_not_found` otherwise). From there an event is handled exactly like one posted to a webhook URL. Active Journeys whose trigger matches enroll the person at `email`, or the Journey's configured audience when it is set to enroll one; Journeys whose goal matches stop that person's runs. Events start only Journeys that are already approved and active, and those Journeys send email. An accepted event returns `202`: ```json { "data": { "accepted": true, "duplicate": false, "connection_id": "6f9a…", "sequence_enrollments_created": 1, "sequence_enrollments_stopped": 0, "sequence_matches_ignored": 0, "sequence_goals_predating_enrollment": 0 } } ``` `sequence_matches_ignored` counts matching Journeys that could not use the event, such as one that enrolls a person when the event has no `email`. Retrying with the same id and body returns `duplicate: true` and runs nothing again; reusing an id for a different body returns `409 webhook_event_id_reused`. When the Banger API events webhook is disabled, events return `409 api_events_disabled` until it is turned back on. Bodies are limited to 512 KiB. MCP clients send events with `banger_send_event`, whose `event_id` becomes the idempotency key. ## MCP transport Banger uses stateless remote MCP over HTTP POST with JSON-RPC 2.0. Supported methods include `initialize`, `notifications/initialized`, `ping`, `tools/list`, and `tools/call`. Send one message per POST with: - `Authorization: Bearer ` - `Content-Type: application/json` - `Accept: application/json, text/event-stream` - The negotiated `MCP-Protocol-Version` after initialization. Responses are JSON; notifications receive an accepted response. The server does not maintain an SSE stream: GET returns 405. Batching is unsupported and request bodies are limited to 256 KiB. The transport does not depend on a persistent `MCP-Session-Id`. Let an MCP client handle initialization, OAuth, and protocol negotiation. Once initialized, tool discovery uses this JSON-RPC body: ```json { "jsonrpc": "2.0", "id": 1, "method": "tools/list", "params": {} } ``` A read-only product-discovery call uses: ```json { "jsonrpc": "2.0", "id": 2, "method": "tools/call", "params": { "name": "banger_list_products", "arguments": {} } } ``` Use public `banger_...` tool names, not a particular host application's connector namespace. Inspect the live schema before constructing write calls. ## Common integration workflows ### Product onboarding Discover the existing workspace/product setup, select the intended product, and inspect the onboarding state. Configure a domain or starter mailbox, follow the private setup steps, verify readiness, and inspect an activation proof before claiming the domain can send. Relevant tools: `banger_list_products`, `banger_onboarding_open_setup`, `banger_onboarding_get_state`, the per-step `banger_onboarding_*` tools (such as `banger_onboarding_set_domain` and `banger_onboarding_verify_dns`), `banger_create_native_sending_domain`, `banger_verify_native_sending_domain`, and `banger_get_domain_activation_proof`. ### Transactional email and Journeys Use the email gateway for a direct application send. A Journey email names its Journey by a key your code chooses, such as `welcome`. Your code sends one Journey email with `POST /v1/workspaces/{workspaceId}/journeys/{key}/send`, or with `POST /v1/workspaces/{workspaceId}/transactional-sends` and the key in `"journey"`, and an `Idempotency-Key` header. A send without a key is refused with `422 journey_key_required`. A key Banger has not seen yet records a new Journey from that email and sends it, so the call carries the whole email (`mailbox_id`, `subject`, and `body_html` or `body_text`); claim that Journey later to manage its content in Banger. To create the Journey first instead, `POST /v1/workspaces/{workspaceId}/journeys` with `trigger.kind` `"api"` and `api.key`. Every email step sets `config.delivery_class`: `"product"` for transactional email or `"broadcast"` for marketing, which needs the product Brand's company name and mailing address. A step without it is refused with `400 journey_delivery_class_required`. By default Banger holds its email (`api.content_mode` `"managed"`: the step names a design or managed content, and each send supplies variables); with `"code"`, each send carries the whole email. Its first activation needs a person's review: request it with `POST /v1/workspaces/{workspaceId}/approvals` and `{ "action_kind": "sequence.activate", "payload": { "sequence_id": "" } }`, and someone approves it in Banger under Approvals. Until then, sends with its key return `409 journey_review_required`, and `POST /journeys/{journeyId}/status` with `active` returns `403 governed_review_required`. Paths that take `{journeyId}` take the Journey's id, a UUID; only the send takes the key. Each call has one recipient in `to`. Recipient fields (`to`, `cc`, `bcc`, `reply_to`) accept `"pat@example.com"`, `"Pat Lee "`, `{ "email": "pat@example.com", "name": "Pat Lee" }`, or a list of these, here, in governed actions and in `POST /emails`. Replies go to the Journey's mailbox unless you set `reply_to`; an empty `reply_to` list also means the mailbox. Product email has exactly one Reply-To address, so two addresses are refused with `422 product_reply_to_required`. To attach files, such as a receipt or an invoice, add `attachments`: up to 20 objects with a `filename` and the file's base64 `content`, plus an optional `content_type` such as `application/pdf` and an optional `content_id` that the HTML can show inline as `cid:`. Their base64 content may total 10 MiB, about 7.5 MiB of files. Managed and code Journeys both accept them. Banger checks each file when you call, so one it could not deliver is refused with a 400 (or `413 attachments_too_large`) and nothing is recorded for the recipient. Governed actions (`POST /approvals` with `transactional.send`) refuse attachments with `400 attachments_require_direct_send`, because a reviewer cannot see them. Retry an accepted or deferred call with the same idempotency key and payload to read its result; Banger never sends it twice. A refused call (any 4xx) records nothing for the recipient, so fix the payload and send again with a new idempotency key. While a recipient's earlier email is still scheduled by your communication policy or a translation wait, a different request for that recipient returns `409 journey_send_changed_while_deferred` and names when it is due; retry the original request or wait for it to send. To enroll explicit contacts over HTTP, `POST /v1/workspaces/{workspaceId}/journeys/{journeyId}/enroll` with `{ "contact_ids": [...] }` (1–2,000 ids), `campaigns:send` and an `Idempotency-Key`. It is an alias of `POST /approvals` with `action_kind: "sequence.enroll"`: it returns the same approval, and the same key returns the same approval from either route. Relevant tools: `banger_register_api_journey`, `banger_render_journey`, `banger_preview_journey_approval`, `banger_activate_journey`, `banger_enroll_journey_contacts`, and `banger_list_journey_executions`. ### Broadcast preparation and delivery Create a draft, select a list or segment, preview the audience, render and review the email, and check readiness. Send or schedule only the intended revision. Inspect recipients and timeline records after execution. Relevant tools: `banger_create_broadcast`, `banger_preview_broadcast_audience`, `banger_check_broadcast_readiness`, `banger_schedule_broadcast`, `banger_send_broadcast`, and `banger_list_broadcast_timeline`. ### Event integration Create an incoming webhook for an approved product integration. Obtain its credentials through the private credential panel or the Banger web app; configure the source application; send a test event; inspect receipt evidence; then use the returned connection in a Journey trigger. Creating the endpoint alone does not activate the Journey. To send events from your own code instead, use `POST /events` (see [Send an event](#send-an-event)); no webhook setup is needed. Relevant tools: `banger_create_incoming_webhook`, `banger_create_outgoing_webhook`, `banger_list_webhooks`, `banger_test_webhook`, `banger_set_webhook_status`, `banger_delete_webhook`, and `banger_send_event`. To stop a webhook and keep it, disable it: `PATCH /v1/workspaces/{workspaceId}/webhooks/{id}` with `{ "status": "disabled" }`, and `{ "status": "active" }` turns it back on. `DELETE` on the same path removes it for good, so its name can be used again. An incoming webhook a Journey still uses as a trigger or goal can't be deleted: the 409 `webhook_in_use` error lists those Journeys. ### Outgoing webhooks An outgoing webhook sends signed Banger events to your HTTPS endpoint, for one product. Create it on the Webhooks page, with `POST /v1/workspaces/{workspaceId}/webhooks` (`kind: "outbound"`), or with `banger_create_outgoing_webhook`. The signing secret is shown once. Two kinds of events are available: - **Activity events** tell you something changed, so you can re-read it: `mail.changed`, `send.changed`, `campaign.changed` (Broadcast), `audience.changed`, `approval.changed`, `automation.changed`, `domain.changed`, and the sender-reputation events `sending.warning`, `sending.lane_paused`, `sending.domain_paused`, `sending.mailbox_paused`, `sending.workspace_frozen` and `sending.resumed`. A new outgoing webhook gets these unless you choose `event_types`. - **Specific events** carry the ids an automation acts on, one event per occurrence. They are sent only when you list them: - `mail.received`: a new email arrived in a mailbox (mailbox, thread and message ids, sender, subject, and the Banger send it replies to, if any). - `mail.sent`: a mailbox sent an email (ids, recipients, subject). - `send.delivered`, `send.bounced`, `send.complained`: the outcome for one recipient of a Product, Broadcast or Journey email (send id, Journey or Broadcast id, bounce type, and the recipient's address when they are a contact). `send.delivered` is high volume. - `journey.enrolled`, `journey.completed`, `journey.exited`: a person started, finished or left a Journey (Journey, enrollment, contact and address, and the reason). `*` subscribes to everything, including `send.delivered`. ```json { "id": "7c0c2b0e-5f1e-4d55-9c7a-2f4b1d9e6a10", "type": "mail.received", "created_at": "2026-10-07T20:21:16.000Z", "workspace_id": "…", "product_id": "…", "data": { "mailbox_id": "…", "mailbox_address": "support@your-domain.com", "thread_id": "…", "message_id": "…", "subject": "Question about order 1492", "received_at": "2026-10-07T20:21:15.000Z", "from": { "email": "customer@example.com", "name": "Pat Lee" }, "in_reply_to_send_id": null } } ``` Events include people's addresses and subject lines so an automation can route them, never email bodies, snippets, headers or attachments: read those through the API with the ids given. Outgoing webhooks belong to the workspace and need the `automation:execute` scope to create. Every request carries `banger-webhook-id` (the delivery), `banger-webhook-timestamp` (Unix seconds) and `banger-webhook-signature: v1,`, where the signature is base64url(HMAC-SHA256(signing secret, `"."`)). Verify it against the raw body before trusting the event. Answer with any 2xx within 10 seconds; otherwise Banger retries up to 12 attempts with exponential backoff and honours `Retry-After`. An event can arrive more than once or out of order, so deduplicate on its `id`. ## Operational rules - Check the response's actual state. A draft is not sent, an accepted operation is not delivered, and an endpoint's existence is not evidence that an event arrived. - Use idempotency keys where the operation requires them. Do not blindly retry non-idempotent creation operations, including webhook or API-key creation. - Preserve revision and optimistic-concurrency fields where required. Reload and reconcile conflicting edits instead of overwriting another person's work. - Preview and readiness operations are separate from send, publish, schedule, activate, and enroll operations. - The first Journey activation requires human review. Other operations follow their applicable saved policies; the server's current result determines whether execution is allowed or awaiting review. - Recipient suppression, expiry, limits, and domain readiness remain enforced even when an agent requests execution. - Handle credentials through private setup flows. Inspect authentication and authorization failures before retrying a mutation. - Use delivery status, logs, and sending-health tools to investigate failures. ## REST coverage and interface availability The repository's HTTP contract includes workspace and mailbox management, messages and threads, drafts, contacts and segments, templates, Journeys, campaigns/Broadcasts, send records, connections, and delivery diagnostics. These interfaces share product state with the visual app and MCP. This guide documents the email gateway and current MCP surface concretely. Every HTTP route, with its fields and refusals, is in the [API reference](https://bangermail.com/docs/api/) and its [OpenAPI document](https://bangermail.com/openapi.json); an unknown route answers `404 not_found` with those links. CLI and SDK package availability should be verified before installation; internal package names are not public installation instructions. - [MCP client setup](https://bangermail.com/banger-mcp/) - [MCP tool schemas](https://bangermail.com/mcp.md) - [Bangerverse integration contract](https://github.com/bangermail/bangerverse/blob/main/docs/integration-contract.md) - [Product reference](https://bangermail.com/index.md) --- # Banger MCP tool reference Canonical URL: https://bangermail.com/mcp.md Schema snapshot: 2026-11-10. This reference contains all 303 tools exposed by the connected Banger catalog at the time of generation. A live MCP `tools/list` response is authoritative for the connected workspace, permissions, and server version. These are interface definitions, not customer data. Remote endpoint: `https://api.bangermail.com/mcp`. Authenticate through your client's Banger OAuth connection or a supported scoped API key. See the [product guide](https://bangermail.com/index.md) and [API guide](https://bangermail.com/api.md). ## Reading this reference Tool names below use their public `banger_` names; connector-specific namespace prefixes have been removed. Input signatures use TypeScript notation: `?` marks optional fields, string unions list accepted values, and comments explain constraints. `CallToolResult` is the MCP result envelope. Check returned errors and status before claiming an action succeeded. Sending tools can send real email; preview and readiness tools are separate operations. ## Tool index - [banger_activate_journey](#banger_activate_journey) - [banger_add_contact_list_members](#banger_add_contact_list_members) - [banger_add_product_domain](#banger_add_product_domain) - [banger_add_thread_label](#banger_add_thread_label) - [banger_archive_broadcast](#banger_archive_broadcast) - [banger_archive_journey](#banger_archive_journey) - [banger_archive_thread](#banger_archive_thread) - [banger_assign_thread](#banger_assign_thread) - [banger_cancel_broadcast](#banger_cancel_broadcast) - [banger_check_broadcast_readiness](#banger_check_broadcast_readiness) - [banger_claim_journey](#banger_claim_journey) - [banger_complete_feedback_attachment](#banger_complete_feedback_attachment) - [banger_confirm_connection](#banger_confirm_connection) - [banger_connect_shopify_store](#banger_connect_shopify_store) - [banger_contact_support](#banger_contact_support) - [banger_convert_journey_to_managed](#banger_convert_journey_to_managed) - [banger_create_api_key](#banger_create_api_key) - [banger_create_broadcast](#banger_create_broadcast) - [banger_create_contact_field](#banger_create_contact_field) - [banger_create_contact_list](#banger_create_contact_list) - [banger_create_email_lane](#banger_create_email_lane) - [banger_create_experiment](#banger_create_experiment) - [banger_create_incoming_webhook](#banger_create_incoming_webhook) - [banger_create_journey](#banger_create_journey) - [banger_create_label](#banger_create_label) - [banger_create_layout](#banger_create_layout) - [banger_create_mail_draft](#banger_create_mail_draft) - [banger_create_managed_content](#banger_create_managed_content) - [banger_create_native_mailbox](#banger_create_native_mailbox) - [banger_create_native_sending_domain](#banger_create_native_sending_domain) - [banger_create_oauth_client](#banger_create_oauth_client) - [banger_create_outgoing_webhook](#banger_create_outgoing_webhook) - [banger_create_product](#banger_create_product) - [banger_create_segment](#banger_create_segment) - [banger_create_signup_form](#banger_create_signup_form) - [banger_create_starter_mailbox](#banger_create_starter_mailbox) - [banger_create_template](#banger_create_template) - [banger_create_triage_rule](#banger_create_triage_rule) - [banger_decide_experiment](#banger_decide_experiment) - [banger_decide_partner_request](#banger_decide_partner_request) - [banger_decide_split](#banger_decide_split) - [banger_delete_broadcast](#banger_delete_broadcast) - [banger_delete_label](#banger_delete_label) - [banger_delete_mailbox](#banger_delete_mailbox) - [banger_delete_native_sending_domain](#banger_delete_native_sending_domain) - [banger_delete_segment](#banger_delete_segment) - [banger_delete_triage_rule](#banger_delete_triage_rule) - [banger_delete_webhook](#banger_delete_webhook) - [banger_deliverability_summary](#banger_deliverability_summary) - [banger_duplicate_template](#banger_duplicate_template) - [banger_enroll_journey_contacts](#banger_enroll_journey_contacts) - [banger_forward_email](#banger_forward_email) - [banger_generate_email_design](#banger_generate_email_design) - [banger_get_approval](#banger_get_approval) - [banger_get_billing](#banger_get_billing) - [banger_get_brand](#banger_get_brand) - [banger_get_broadcast](#banger_get_broadcast) - [banger_get_communication_policy](#banger_get_communication_policy) - [banger_get_company_context](#banger_get_company_context) - [banger_get_contact](#banger_get_contact) - [banger_get_contact_import](#banger_get_contact_import) - [banger_get_contact_list](#banger_get_contact_list) - [banger_get_content_settings](#banger_get_content_settings) - [banger_get_content_translations](#banger_get_content_translations) - [banger_get_daily_summary](#banger_get_daily_summary) - [banger_get_delivery_status](#banger_get_delivery_status) - [banger_get_domain_activation_proof](#banger_get_domain_activation_proof) - [banger_get_experiment](#banger_get_experiment) - [banger_get_figma_file_summary](#banger_get_figma_file_summary) - [banger_get_figma_launch_brief](#banger_get_figma_launch_brief) - [banger_get_figma_nodes](#banger_get_figma_nodes) - [banger_get_github_changelog_brief](#banger_get_github_changelog_brief) - [banger_get_hubspot_customer_brief](#banger_get_hubspot_customer_brief) - [banger_get_incoming_webhook_credentials](#banger_get_incoming_webhook_credentials) - [banger_get_journey](#banger_get_journey) - [banger_get_layout](#banger_get_layout) - [banger_get_layout_approval_preview](#banger_get_layout_approval_preview) - [banger_get_layout_impact](#banger_get_layout_impact) - [banger_get_mailchimp_migration](#banger_get_mailchimp_migration) - [banger_get_managed_content](#banger_get_managed_content) - [banger_get_message_body](#banger_get_message_body) - [banger_get_native_sending_domain](#banger_get_native_sending_domain) - [banger_get_notion_page](#banger_get_notion_page) - [banger_get_sending_health](#banger_get_sending_health) - [banger_get_signup_form](#banger_get_signup_form) - [banger_get_slack_channel_history](#banger_get_slack_channel_history) - [banger_get_starter_mailbox_proof](#banger_get_starter_mailbox_proof) - [banger_get_template](#banger_get_template) - [banger_get_thread](#banger_get_thread) - [banger_get_transactional_send](#banger_get_transactional_send) - [banger_get_triage_usage](#banger_get_triage_usage) - [banger_get_workspace](#banger_get_workspace) - [banger_get_zendesk_user](#banger_get_zendesk_user) - [banger_list_api_keys](#banger_list_api_keys) - [banger_list_approvals](#banger_list_approvals) - [banger_list_bounces](#banger_list_bounces) - [banger_list_broadcast_recipients](#banger_list_broadcast_recipients) - [banger_list_broadcast_timeline](#banger_list_broadcast_timeline) - [banger_list_campaigns](#banger_list_campaigns) - [banger_list_connected_agents](#banger_list_connected_agents) - [banger_list_connections](#banger_list_connections) - [banger_list_contact_fields](#banger_list_contact_fields) - [banger_list_contact_imports](#banger_list_contact_imports) - [banger_list_contact_lists](#banger_list_contact_lists) - [banger_list_contacts](#banger_list_contacts) - [banger_list_content_publications](#banger_list_content_publications) - [banger_list_email_assets](#banger_list_email_assets) - [banger_list_email_lanes](#banger_list_email_lanes) - [banger_list_experiments](#banger_list_experiments) - [banger_list_figma_comments](#banger_list_figma_comments) - [banger_list_github_commits](#banger_list_github_commits) - [banger_list_github_issues](#banger_list_github_issues) - [banger_list_github_notifications](#banger_list_github_notifications) - [banger_list_github_releases](#banger_list_github_releases) - [banger_list_github_repositories](#banger_list_github_repositories) - [banger_list_google_calendar_events](#banger_list_google_calendar_events) - [banger_list_hubspot_companies](#banger_list_hubspot_companies) - [banger_list_hubspot_contacts](#banger_list_hubspot_contacts) - [banger_list_hubspot_deals](#banger_list_hubspot_deals) - [banger_list_journey_executions](#banger_list_journey_executions) - [banger_list_journey_people](#banger_list_journey_people) - [banger_list_journeys](#banger_list_journeys) - [banger_list_labels](#banger_list_labels) - [banger_list_layout_versions](#banger_list_layout_versions) - [banger_list_layouts](#banger_list_layouts) - [banger_list_linear_issues](#banger_list_linear_issues) - [banger_list_logs](#banger_list_logs) - [banger_list_mailboxes](#banger_list_mailboxes) - [banger_list_mailchimp_audiences](#banger_list_mailchimp_audiences) - [banger_list_mailchimp_campaigns](#banger_list_mailchimp_campaigns) - [banger_list_mailchimp_members](#banger_list_mailchimp_members) - [banger_list_mailchimp_reports](#banger_list_mailchimp_reports) - [banger_list_mailchimp_segments](#banger_list_mailchimp_segments) - [banger_list_mailchimp_templates](#banger_list_mailchimp_templates) - [banger_list_managed_content](#banger_list_managed_content) - [banger_list_native_sending_domains](#banger_list_native_sending_domains) - [banger_list_notion_blocks](#banger_list_notion_blocks) - [banger_list_oauth_clients](#banger_list_oauth_clients) - [banger_list_partners](#banger_list_partners) - [banger_list_products](#banger_list_products) - [banger_list_provider_connections](#banger_list_provider_connections) - [banger_list_segments](#banger_list_segments) - [banger_list_sends](#banger_list_sends) - [banger_list_shopify_stores](#banger_list_shopify_stores) - [banger_list_signup_forms](#banger_list_signup_forms) - [banger_list_slack_channels](#banger_list_slack_channels) - [banger_list_snowflake_queries](#banger_list_snowflake_queries) - [banger_list_starters](#banger_list_starters) - [banger_list_suggested_labels](#banger_list_suggested_labels) - [banger_list_suppressions](#banger_list_suppressions) - [banger_list_templates](#banger_list_templates) - [banger_list_threads](#banger_list_threads) - [banger_list_triage_actions](#banger_list_triage_actions) - [banger_list_triage_rules](#banger_list_triage_rules) - [banger_list_webhooks](#banger_list_webhooks) - [banger_list_work](#banger_list_work) - [banger_list_workspace_members](#banger_list_workspace_members) - [banger_mark_thread_read](#banger_mark_thread_read) - [banger_mark_thread_spam](#banger_mark_thread_spam) - [banger_move_thread](#banger_move_thread) - [banger_onboarding_add_inboxes](#banger_onboarding_add_inboxes) - [banger_onboarding_choose_delivery](#banger_onboarding_choose_delivery) - [banger_onboarding_confirm_dns_saved](#banger_onboarding_confirm_dns_saved) - [banger_onboarding_continue_from_ideas](#banger_onboarding_continue_from_ideas) - [banger_onboarding_continue_to_inboxes](#banger_onboarding_continue_to_inboxes) - [banger_onboarding_defer_receiving](#banger_onboarding_defer_receiving) - [banger_onboarding_discover_brand](#banger_onboarding_discover_brand) - [banger_onboarding_discover_domain](#banger_onboarding_discover_domain) - [banger_onboarding_finish](#banger_onboarding_finish) - [banger_onboarding_finish_for_now](#banger_onboarding_finish_for_now) - [banger_onboarding_get_ideas](#banger_onboarding_get_ideas) - [banger_onboarding_get_state](#banger_onboarding_get_state) - [banger_onboarding_open_setup](#banger_onboarding_open_setup) - [banger_onboarding_pick_idea](#banger_onboarding_pick_idea) - [banger_onboarding_prepare_domain](#banger_onboarding_prepare_domain) - [banger_onboarding_prepare_receiving](#banger_onboarding_prepare_receiving) - [banger_onboarding_save_brand](#banger_onboarding_save_brand) - [banger_onboarding_send_agent_test](#banger_onboarding_send_agent_test) - [banger_onboarding_send_first](#banger_onboarding_send_first) - [banger_onboarding_set_domain](#banger_onboarding_set_domain) - [banger_onboarding_set_scale](#banger_onboarding_set_scale) - [banger_onboarding_skip_agent](#banger_onboarding_skip_agent) - [banger_onboarding_skip_brand](#banger_onboarding_skip_brand) - [banger_onboarding_skip_domain](#banger_onboarding_skip_domain) - [banger_onboarding_skip_first_send](#banger_onboarding_skip_first_send) - [banger_onboarding_skip_ideas](#banger_onboarding_skip_ideas) - [banger_onboarding_skip_inboxes](#banger_onboarding_skip_inboxes) - [banger_onboarding_use_hosted_address](#banger_onboarding_use_hosted_address) - [banger_onboarding_verify_dns](#banger_onboarding_verify_dns) - [banger_open_billing_portal](#banger_open_billing_portal) - [banger_open_contacts_file](#banger_open_contacts_file) - [banger_open_email_file](#banger_open_email_file) - [banger_open_studio](#banger_open_studio) - [banger_pause_broadcast](#banger_pause_broadcast) - [banger_pause_journey](#banger_pause_journey) - [banger_pause_native_sending_lane](#banger_pause_native_sending_lane) - [banger_pay_with_agent](#banger_pay_with_agent) - [banger_pick_mailbox](#banger_pick_mailbox) - [banger_pick_segment](#banger_pick_segment) - [banger_pick_starter](#banger_pick_starter) - [banger_plan_email_lane](#banger_plan_email_lane) - [banger_prepare_email_image_upload](#banger_prepare_email_image_upload) - [banger_prepare_feedback_attachment](#banger_prepare_feedback_attachment) - [banger_preview_broadcast_audience](#banger_preview_broadcast_audience) - [banger_preview_broadcast_coverage](#banger_preview_broadcast_coverage) - [banger_preview_email_design](#banger_preview_email_design) - [banger_preview_journey](#banger_preview_journey) - [banger_preview_journey_approval](#banger_preview_journey_approval) - [banger_preview_mailbox_deletion](#banger_preview_mailbox_deletion) - [banger_preview_product_deletion](#banger_preview_product_deletion) - [banger_preview_segment](#banger_preview_segment) - [banger_preview_signup_form](#banger_preview_signup_form) - [banger_preview_template](#banger_preview_template) - [banger_preview_triage_rule](#banger_preview_triage_rule) - [banger_propose_contact_import_mapping](#banger_propose_contact_import_mapping) - [banger_publish_layout](#banger_publish_layout) - [banger_publish_managed_content](#banger_publish_managed_content) - [banger_reactivate_mailbox](#banger_reactivate_mailbox) - [banger_read_settings](#banger_read_settings) - [banger_recommend_arms](#banger_recommend_arms) - [banger_register_api_journey](#banger_register_api_journey) - [banger_remove_contact_list_members](#banger_remove_contact_list_members) - [banger_remove_partner](#banger_remove_partner) - [banger_remove_thread_label](#banger_remove_thread_label) - [banger_rename_workspace](#banger_rename_workspace) - [banger_render_figma_images](#banger_render_figma_images) - [banger_render_journey](#banger_render_journey) - [banger_render_managed_content](#banger_render_managed_content) - [banger_reply_email](#banger_reply_email) - [banger_report_bug](#banger_report_bug) - [banger_request_contact_import](#banger_request_contact_import) - [banger_request_domain_migration](#banger_request_domain_migration) - [banger_request_email_lane_migration](#banger_request_email_lane_migration) - [banger_restore_content_revision](#banger_restore_content_revision) - [banger_restore_layout_version](#banger_restore_layout_version) - [banger_restore_product](#banger_restore_product) - [banger_restore_thread](#banger_restore_thread) - [banger_resume_broadcast](#banger_resume_broadcast) - [banger_resume_native_sending_lane](#banger_resume_native_sending_lane) - [banger_resume_sending](#banger_resume_sending) - [banger_return_journey_to_draft](#banger_return_journey_to_draft) - [banger_review_content_translation](#banger_review_content_translation) - [banger_revise_email_design](#banger_revise_email_design) - [banger_revoke_api_key](#banger_revoke_api_key) - [banger_revoke_connected_agent](#banger_revoke_connected_agent) - [banger_revoke_oauth_client](#banger_revoke_oauth_client) - [banger_run_google_analytics_report](#banger_run_google_analytics_report) - [banger_run_snowflake_query](#banger_run_snowflake_query) - [banger_run_triage_on_past_mail](#banger_run_triage_on_past_mail) - [banger_save_broadcast_variants](#banger_save_broadcast_variants) - [banger_schedule_broadcast](#banger_schedule_broadcast) - [banger_search_mail](#banger_search_mail) - [banger_search_notion](#banger_search_notion) - [banger_search_slack_messages](#banger_search_slack_messages) - [banger_send_broadcast](#banger_send_broadcast) - [banger_send_broadcast_test](#banger_send_broadcast_test) - [banger_send_daily_summary_now](#banger_send_daily_summary_now) - [banger_send_email](#banger_send_email) - [banger_send_event](#banger_send_event) - [banger_set_member_role](#banger_set_member_role) - [banger_set_product_setup](#banger_set_product_setup) - [banger_set_spending_limit](#banger_set_spending_limit) - [banger_set_thread_work_status](#banger_set_thread_work_status) - [banger_set_triage_rule_status](#banger_set_triage_rule_status) - [banger_set_webhook_status](#banger_set_webhook_status) - [banger_show_email_preview](#banger_show_email_preview) - [banger_simulate_communication_policy](#banger_simulate_communication_policy) - [banger_star_thread](#banger_star_thread) - [banger_start_domain_activation_proof](#banger_start_domain_activation_proof) - [banger_start_mailchimp_migration](#banger_start_mailchimp_migration) - [banger_start_upgrade](#banger_start_upgrade) - [banger_stop_experiment](#banger_stop_experiment) - [banger_submit_feedback](#banger_submit_feedback) - [banger_suggest_feature](#banger_suggest_feature) - [banger_suggest_recipients](#banger_suggest_recipients) - [banger_suppress_address](#banger_suppress_address) - [banger_test_webhook](#banger_test_webhook) - [banger_trash_thread](#banger_trash_thread) - [banger_undo_triage_action](#banger_undo_triage_action) - [banger_unsubscribe_contact](#banger_unsubscribe_contact) - [banger_update_brand_footer](#banger_update_brand_footer) - [banger_update_broadcast](#banger_update_broadcast) - [banger_update_communication_policy](#banger_update_communication_policy) - [banger_update_contact_attributes](#banger_update_contact_attributes) - [banger_update_contact_field](#banger_update_contact_field) - [banger_update_content_settings](#banger_update_content_settings) - [banger_update_daily_summary](#banger_update_daily_summary) - [banger_update_journey](#banger_update_journey) - [banger_update_label](#banger_update_label) - [banger_update_layout](#banger_update_layout) - [banger_update_mailbox](#banger_update_mailbox) - [banger_update_managed_content](#banger_update_managed_content) - [banger_update_product](#banger_update_product) - [banger_update_settings](#banger_update_settings) - [banger_update_signup_form](#banger_update_signup_form) - [banger_update_template](#banger_update_template) - [banger_update_triage_rule](#banger_update_triage_rule) - [banger_upload_email_asset](#banger_upload_email_asset) - [banger_upload_email_image](#banger_upload_email_image) - [banger_upload_feedback_attachment](#banger_upload_feedback_attachment) - [banger_upsert_contact](#banger_upsert_contact) - [banger_validate_contact_import](#banger_validate_contact_import) - [banger_verify_native_sending_domain](#banger_verify_native_sending_domain) ## banger_activate_journey Activate or resume one saved Journey for automatic email delivery. Requires the existing human sending review; otherwise returns a pending review request. Does not accept a workflow, operation selector or arbitrary action. Sending requires human review and is limited to the saved definition and audience scope. exec tool declaration: ```ts declare const tools: { banger_activate_journey(args: { // Retry key for this activation request. Use 16-128 characters, such as a UUID. idempotency_key: string; // Journey identifier. journey_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_add_contact_list_members Add existing product contacts to a product list by identifier; consent and suppression are preserved. Safe retries return canonical membership read-back. exec tool declaration: ```ts declare const tools: { banger_add_contact_list_members(args: { // Identifiers of existing contacts in this product, up to 1000, as listed with the product's contacts. contact_ids: Array; // Retry key (1-256 characters): repeating the call with the same key and arguments returns the first result instead of acting twice; reusing the key with different arguments is refused. idempotency_key: string; // Contact list identifier, as listed with the product's contact lists. list_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_add_product_domain Record a domain for this product and use its first reported domain as an initial brand-discovery source. This does not configure sending or change DNS; several products may report the same domain. exec tool declaration: ```ts declare const tools: { banger_add_product_domain(args: { // Domain the product uses, such as example.com. domain: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_add_thread_label Add one label to a thread; its other labels stay. exec tool declaration: ```ts declare const tools: { banger_add_thread_label(args: { // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. idempotency_key: string; // Label to add, as listed with the workspace's labels. label_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Thread identifier. thread_id: string; }): Promise; }; ``` ## banger_archive_broadcast Archive a Broadcast (archived=true) to hide it from the Broadcast list while keeping its recipients, statistics, Logs, and unsubscribe links, or restore it (archived=false). Applies to Broadcasts that sent; unsent ones can be deleted instead. Not allowed while scheduled, sending, or paused. exec tool declaration: ```ts declare const tools: { banger_archive_broadcast(args: { // true archives the Broadcast; false restores it to the Broadcast list. archived: boolean; // Broadcast identifier, as listed with the product's Broadcasts. broadcast_id: string; // Request key (1-256 characters). Repeating the call with the same archived value leaves the Broadcast in that state. idempotency_key: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_archive_journey Archive one Journey and stop its future steps. Preserve its history. exec tool declaration: ```ts declare const tools: { banger_archive_journey(args: { // Journey identifier. journey_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_archive_thread Archive a thread out of the inbox, or bring it back with archived=false. Nothing is deleted. exec tool declaration: ```ts declare const tools: { banger_archive_thread(args: { // true archives it (default); false returns it to the inbox. archived?: boolean; // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. idempotency_key: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Thread identifier. thread_id: string; }): Promise; }; ``` ## banger_assign_thread Assign a thread to one teammate, replacing any current assignee, or unassign it with identity_id null. exec tool declaration: ```ts declare const tools: { banger_assign_thread(args: { // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. idempotency_key: string; // Teammate to assign, or null to unassign. identity_id: string | null; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Thread identifier. thread_id: string; }): Promise; }; ``` ## banger_cancel_broadcast Cancel a draft, scheduled, sending, or paused Broadcast. Irreversible: a cancelled Broadcast cannot be resumed or sent again, and pending recipients are dropped (recipients already sent stay sent). Pausing is the reversible alternative. Returns the Broadcast read-back (status cancelled). exec tool declaration: ```ts declare const tools: { banger_cancel_broadcast(args: { // Broadcast identifier, as listed with the product's Broadcasts. broadcast_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_check_broadcast_readiness Read actionable blockers for footer identity/address, canonical Broadcast route, consent/suppression, selected audience, personalization, sending allowance, and automatic or human approval requirements. Does not send test messages or freeze recipients. Send-time controls remain authoritative. exec tool declaration: ```ts declare const tools: { banger_check_broadcast_readiness(args: { // Broadcast identifier, as listed with the product's Broadcasts. broadcast_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_claim_journey Name and configure a Journey Banger discovered from raw API sends. Saving a draft sends nothing and needs no review; a Journey's first activation needs one human review of its sending setup. exec tool declaration: ```ts declare const tools: { banger_claim_journey(args: { // Activation on claim is not supported: true is refused with journey_review_required, and a claimed Journey is saved as a draft. activate?: boolean; // managed: Banger holds the email content and each send supplies variables; code: each send supplies the complete email content. from_sample uses managed. content_mode: "code" | "managed"; // Sending lane for the Journey's email: product or broadcast. delivery_class: "product" | "broadcast"; // Turn changing spans in stored sends into managed template fields. from_sample?: boolean; // Discovered Journey identifier. journey_id: string; // Sender mailbox. mailbox_id: string; // Name for the claimed Journey. name: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Managed design. template_id?: string; // With from_sample, the detected changing spans to keep: each literal text and the field name it becomes (lowercase letters, digits, underscores). Omit to keep every detected field. variables?: Array<{ literal: string; name: string; }>; }): Promise; }; ``` ## banger_complete_feedback_attachment Verify that a file uploaded to its signed URL exists with its declared size and media format, and mark the attachment ready. Only ready attachments can be submitted. Up to five files per report within 24 hours; attachments belong to the uploading user and workspace and cannot be reused on another report. exec tool declaration: ```ts declare const tools: { banger_complete_feedback_attachment(args: { // Generate one UUID per file and reuse it on retry. attachment_id: string; }): Promise; }; ``` ## banger_confirm_connection Reconcile the connection checkpoint when an authorized OAuth connection still appears pending. Normal OAuth authorization completes the checkpoint automatically. Idempotent; changes no mailbox, DNS, sending, Journey, Broadcast, or billing state, and returns no credentials. exec tool declaration: ```ts declare const tools: { banger_confirm_connection(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_connect_shopify_store Start connecting a Shopify store to this product. Returns authorize_url: a Shopify page the store owner opens to approve Banger; nothing connects until they approve there, within 10 minutes. On approval Banger receives the store's checkouts, orders and customers, keeps each shopper's Shopify email marketing consent, and saves three draft Journeys (cart reminder, welcome, after an order) that send nothing until a person turns them on. Only shoppers who opted into marketing in Shopify enter them. Not idempotent: each call starts a new approval link. exec tool declaration: ```ts declare const tools: { banger_connect_shopify_store(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // The store's myshopify.com address (my-store.myshopify.com), its handle (my-store), or a Shopify admin URL. shop: string; }): Promise; }; ``` ## banger_contact_support Send a message to Banger support. A person on the Banger team reads it and replies by email to the signed-in person's verified address, usually the same day. Suited to questions about using Banger, account or billing help, and problems that persist after retrying; bug reports and feature ideas have their own feedback tools. The workspace, plan and connected client are attached automatically. Returns status and reply_to, the address the reply goes to. exec tool declaration: ```ts declare const tools: { banger_contact_support(args: { // The exact error message Banger returned, when there is one. error_text?: string; // The question or problem in plain words, including what was tried. message: string; }): Promise; }; ``` ## banger_convert_journey_to_managed One-way conversion of a paused or draft legacy Journey using HTML/Liquid already prepared by your migration skill. Supply contract only for a single-email Journey, or step_contents with exactly one contract per email step, including split arms. Banger does not import or execute TSX/MJML. Creates managed drafts and requests publication review; nothing is sent. exec tool declaration: ```ts declare const tools: { banger_convert_journey_to_managed(args: { // Prepared content for a Journey with a single email step; not combined with step_contents. contract?: { configured_locales?: Array; fallback_locale?: string; layout_id?: string; localization_policy?: { manual_review?: boolean; }; samples?: { [key: string]: { }; }; source: { body_html: string; layout?: string; preheader?: string; subject: string; variables: { [key: string]: { }; }; variants?: { [key: string]: { body_html: string; body_text?: string; layout?: string; preheader?: string; subject: string; }; }; }; source_locale?: string; translations?: { [key: string]: { [key: string]: string; }; }; }; // Journey version from its latest read; the conversion is rejected if the Journey changed since. expected_version: number; // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. idempotency_key: string; // Journey identifier, as listed with the product's Journeys. journey_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // One prepared content contract per email step, including split arms; not combined with contract. step_contents?: Array<{ contract: { configured_locales?: Array; fallback_locale?: string; layout_id?: string; localization_policy?: { manual_review?: boolean; }; samples?: { [key: string]: { }; }; source: { body_html: string; layout?: string; preheader?: string; subject: string; variables: { [key: string]: { }; }; variants?: { [key: string]: { body_html: string; body_text?: string; layout?: string; preheader?: string; subject: string; }; }; }; source_locale?: string; translations?: { [key: string]: { [key: string]: string; }; }; }; step_id: string; }>; }): Promise; }; ``` ## banger_create_api_key Issue a product-scoped API key with only the scopes approved for this integration. The one-time token appears in the private credential card attached to this tool result in an MCP Apps host, outside model context; it cannot be reopened from the Banger website. The result also links to the Banger app's API keys section. Without an MCP Apps host, keys are created in the Banger app. When the key can send mail, the result also lists the SMTP settings (host, ports, username) for apps that only send over SMTP, such as Supabase, Auth0 or WordPress; the token is the SMTP password. Does not verify or activate an integration. Not idempotent: each call issues another key; a key whose token was lost can be revoked. exec tool declaration: ```ts declare const tools: { banger_create_api_key(args: { // Optional future expiry timestamp. expires_at?: string; // Name that identifies the key and its integration in the API key list. name: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // Permissions the key grants, such as mail:send or contacts:read. A key with mail:send can also be used as an SMTP password. scopes: Array<"mail:read" | "mail:write" | "mail:send" | "contacts:read" | "contacts:write" | "campaigns:read" | "campaigns:write" | "campaigns:send" | "automation:read" | "automation:execute" | "connections:read" | "connections:use" | "connections:admin" | "workspace:admin">; }): Promise; }; ``` ## banger_create_broadcast Create an editable Broadcast draft from source-only managed content or a saved product design and mailbox. Managed source creates a reviewed draft and queues missing languages for free translation. Each recipient gets it in their own language: readers of a language still translating get it once their translation is ready, and are skipped (error_code translation_failed, translation_awaiting_review or translation_still_preparing) if it is not ready within a day of sending. Empty audience drafts are allowed; sends stay blocked until eligible recipients and a published source are ready. Omit mailbox_id to use the existing product default sender, preferring the chosen custom-domain address. Requires a retry key and returns canonical read-back. Saving a draft sends nothing and needs no review; a Journey's first activation needs one human review of its sending setup. exec tool declaration: ```ts declare const tools: { banger_create_broadcast(args: { // Recipients: all_subscribed for every subscribed contact, and/or contact_ids, list_ids and segment_ids of this product. Unsubscribed and suppressed contacts are excluded. audience?: { all_subscribed?: boolean; contact_ids?: Array; list_ids?: Array; segment_ids?: Array; }; // Values for the design's content slots, keyed by slot name (each up to 20000 characters), merged over the design's saved content. content_overrides?: { [key: string]: string; }; // How long after its send time the Broadcast may still go out, in seconds (1-604800); defaults to 604800 (7 days). expires_after_seconds?: number; // Lowercase part before the @ on the product's sending address, such as "hello". Empty uses the mailbox's own local part. Not used when send_as is mailbox. from_local_part?: string; // Sender name recipients see beside the From address, such as "Ines from Acme". Empty uses the mailbox's display name, then the company name. from_name?: string; // Retry key (1-256 characters): repeating the call with the same key and arguments returns the first result instead of acting twice; reusing the key with different arguments is refused. idempotency_key: string; // Mailbox that sends the Broadcast (sender and reply address), as listed with the workspace's mailboxes. Omitted on create, the product's default sender is used; omitted on update, the current mailbox is kept. mailbox_id?: string; // Source-only managed content contract (source copy, locales, samples), saved as new managed content for this Broadcast; missing languages are queued for translation. Cannot be combined with template_id, managed_content_id, content_overrides or subject_variants. managed_content?: { configured_locales?: Array; fallback_locale?: string; layout_id?: string; localization_policy?: { manual_review?: boolean; }; samples?: { [key: string]: { }; }; source: { body_html: string; layout?: string; preheader?: string; subject: string; variables: { [key: string]: { }; }; variants?: { [key: string]: { body_html: string; body_text?: string; layout?: string; preheader?: string; subject: string; }; }; }; source_locale?: string; translations?: { [key: string]: { [key: string]: string; }; }; }; // Existing managed content to send, as listed with the product's managed content. Cannot be combined with template_id. managed_content_id?: string; // Broadcast name, 1-200 characters. name: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // Name of the managed_content sample used to render the returned preview; defaults to the first sample. sample_name?: string; // Zero-based index into subject_variants of the subject line sent. selected_subject_variant?: number; // Which address it leaves from. lane (the default): the product's sending address, such as tiago@tx.example.com. mailbox: the mailbox's own address, such as tiago@team.example.com, for a personal note from a person. Sending as the mailbox requires its domain to be verified for sending. Where the product has no separate sending address, both leave from the mailbox. send_as?: "lane" | "mailbox"; // Up to 8 subject lines, each up to 998 characters; selected_subject_variant picks the one sent. subject_variants?: Array; // Saved design to send, as listed with the product's templates. Cannot be combined with managed content. template_id?: string; }): Promise; }; ``` ## banger_create_contact_field Declare a contact field before data arrives, so imports, forms and the API store it in the right type under a clear label. key defaults from the label ("Team size" becomes team_size). choice and choices fields can list their allowed options. exec tool declaration: ```ts declare const tools: { banger_create_contact_field(args: { // What the field means, up to 500 characters. description?: string; // Request key (1-256 characters), sent as the request's Idempotency-Key header. idempotency_key: string; // Attribute key the values are stored under, up to 40 characters; derived from the label when omitted. key?: string; // Human-readable field name, 1-80 characters (for example "Team size"). label: string; // Allowed options of a choice or choices field, up to 50, each up to 80 characters. options?: Array; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // Value type: text, number, boolean, date, choice (one option) or choices (several options). type: "text" | "number" | "boolean" | "date" | "choice" | "choices"; }): Promise; }; ``` ## banger_create_contact_list Create one product contact list with safe retries and canonical read-back. Does not import or subscribe contacts. exec tool declaration: ```ts declare const tools: { banger_create_contact_list(args: { // What the list is for, up to 2000 characters. description?: string; // Retry key (1-256 characters): repeating the call with the same key and arguments returns the first result instead of acting twice; reusing the key with different arguments is refused. idempotency_key: string; // List name, 1-200 characters. name: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_create_email_lane Prepare one chosen lane and its exact DNS bundle, without extra sibling lanes or DNS changes. Mail is the default connection for receiving and all email types. Product and Broadcast are optional dedicated sending lanes. domain is the company domain; from_domain is the exact root or subdomain. Existing MX, SPF, DKIM, and DMARC are preserved. Conflicts at Banger’s receiving or return-path names require a signed-in administrator's migration review. dns_bundle.status reports whether the complete provider records are prepared. Pending status may mean DNS propagation. exec tool declaration: ```ts declare const tools: { banger_create_email_lane(args: { // Company domain, such as example.com. domain: string; // Exact hostname: example.com or a subdomain such as news.example.com. from_domain: string; // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. Use 16-128 characters, such as a UUID. idempotency_key: string; // Lane to check or add: mailbox (Mail: receiving and mailbox sending), product, or broadcast. lane: "mailbox" | "product" | "broadcast"; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Legacy compatibility field; no confirmation is required. Existing email policies are preserved. root_dmarc_confirmed?: boolean; // Provider route hostname for the Product or Broadcast lane; for the lane being added, a hostname other than from_domain is refused. route_domains?: { broadcast?: string; product?: string; }; // Sending provider for the Product and Broadcast lanes: banger (default) or resend. route_providers?: { broadcast?: "banger" | "resend"; product?: "banger" | "resend"; }; }): Promise; }; ``` ## banger_create_experiment Test 2-4 variants of a subject, design, content, or from-name on a Broadcast (subject_kind campaign, subject_id = campaign id), a journey step (sequence_step, subject_id = ':'), or an automation rule (automation_rule, subject_id = rule id). Broadcasts can test on a sample_percent first and send the winner to the rest; journeys and automations split continuously. Winners are judged on human-only opens, clicks, replies, or the journey goal. With decision.mode auto, the winner is promoted as soon as every arm reaches min_sample_per_arm and the leader clears decision.confidence (default 0.95); if that has not happened by decision.after_hours, the current leader is promoted anyway and the test records decision_basis deadline. exec tool declaration: ```ts declare const tools: { banger_create_experiment(args: { // Percent per variant; defaults to an even split. allocation?: Array; // How the winner is picked: mode manual (default) or auto. With auto, after_hours (default 4) is the deadline and confidence (0.8-0.99, default 0.95) the bar. decision?: { after_hours?: number; confidence?: number; mode?: "manual" | "auto"; }; // What differs between variants; each variant sets the matching field. dimension: "subject" | "design" | "content" | "from_name"; // Optional maximum complaint and unsubscribe rates, as fractions between 0 and 1; a variant above either is flagged as tripping a guardrail. guardrails?: { max_complaint_rate?: number; max_unsubscribe_rate?: number; }; // Sends each variant needs before a confident decision; defaults to 100. min_sample_per_arm?: number; // Experiment name shown with its results. name: string; // Metric the winner is judged on; defaults to human_click. primary_metric?: "human_open" | "human_click" | "reply" | "conversion"; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Broadcasts only: share of the audience that receives the test; the rest waits for the winner. sample_percent?: number; // The tested item: the campaign id, ':' for a Journey step, or the automation rule id. subject_id: string; // What is tested: campaign (a Broadcast), sequence_step (a Journey step), or automation_rule. subject_kind: "campaign" | "sequence_step" | "automation_rule"; // The 2-4 versions to compare. variants: Array<{ content?: { [key: string]: string; }; from_name?: string; key?: string; label?: string; subject?: string; template_id?: string; }>; }): Promise; }; ``` ## banger_create_incoming_webhook Create an incoming endpoint and its durable Banger connection for an approved product integration. Returns connection_id for Journey triggers. The private credential panel shows a secret URL, or a public URL with a separate Authorization: Bearer token; credentials stay outside model context. Requires an MCP Apps host; Banger's Webhooks page offers the same. Supabase auth hooks use the secure Banger setup page. Does not activate Journeys or prove event receipt. Not idempotent: each call creates another webhook. exec tool declaration: ```ts declare const tools: { banger_create_incoming_webhook(args: { // Webhook name shown on the Webhooks page. name: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // Non-secret source settings for Zendesk or Intercom; omit for other sources. source_config?: { [key: string]: unknown; }; // Source identifier, such as custom, stripe, or shopify. Defaults to custom. Supabase auth hooks use Banger's secure setup page. source_key?: string; }): Promise; }; ``` ## banger_create_journey Save one draft Journey definition. This only stores configuration; activation and enrollment are separate operations. Supports only email, wait, contact-condition and split records; step names are customer-facing. A monitored wait is kind=wait with config={amount:3,unit:"days",until:{name:"Registration completed",path:"attributes.registered",operator:"equals",value:true},on_met:"continue"}; on_met is required: continue (skip the following reminder email and proceed) or end_journey (complete this Journey), and the reminder email is the following sibling step. A contact without the field has not reached the milestone, so the reminder sends; integrations only need to report what happened. Checks use current contact data about once per minute. Milestones map to verified contact data, not eligibility flags. Each person enters once by default; trigger.config.once_per_person=false lets people re-enter after they finish, optionally after trigger.config.reentry_days. An email step config takes one content source, the same shapes a Broadcast stores: template_id (a saved design) with content_overrides filling its slots; or the step's own design as subject, body_html, body_text and content_overrides; or managed_content_id. Every email step needs delivery_class: product (transactional) or broadcast (marketing). Drafts may leave a button link empty; activation and send report it. Saving a draft sends nothing and needs no review; a Journey's first activation needs one human review of its sending setup. exec tool declaration: ```ts declare const tools: { banger_create_journey(args: { // How the product's code reaches this Journey: key names it in API calls; content_mode is code (the call carries each email) or managed (Banger keeps the content; this cannot be undone); identity is what Banger matches a call against. api?: { content_mode?: "code" | "managed"; identity?: string; key?: string; }; // policy (the default): the workspace's sending policy decides which emails wait for review. required: every email waits for a person's approval, and a rejection ends that person's Journey. approval_mode?: "policy" | "required"; // Who may enter: every subscribed contact (the default), or the contacts, lists and segments named. audience?: { all_subscribed?: boolean; contact_ids?: Array; list_ids?: Array; segment_ids?: Array; }; // Optional note on what this Journey is for, shown in Banger. description?: string; // When a person leaves early: on a reply, an unsubscribe or a suppression (each on by default), or on the event named. exit?: { event?: string; on_reply?: boolean; on_suppression?: boolean; on_unsubscribe?: boolean; }; // The Journey's default part before the @ on the product's sending address, such as "hello"; an email step may set its own. Empty uses the mailbox's own local part. Not used by emails that send as the mailbox. from_local_part?: string; // What counts as success: none, a reply, a conversion, or the event named in config.event. goal?: { config?: { event?: string; }; connection_id?: string; kind?: "none" | "event" | "reply" | "conversion"; }; // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. Use 16-128 characters, such as a UUID. idempotency_key: string; // The Journey's default sender mailbox, which also receives replies; an email step may name its own. Without one, Banger picks the onboarding sender, then an active custom mailbox, then the hosted one. mailbox_id?: string; // Optional source-managed email content: source-language subject and HTML with typed variables, samples, and locale settings; Banger prepares the other languages. managed_content?: { configured_locales?: Array; fallback_locale?: string; layout_id?: string; localization_policy?: { manual_review?: boolean; }; samples?: { [key: string]: { }; }; source: { body_html: string; layout?: string; preheader?: string; subject: string; variables: { [key: string]: { }; }; variants?: { [key: string]: { body_html: string; body_text?: string; layout?: string; preheader?: string; subject: string; }; }; }; source_locale?: string; translations?: { [key: string]: { [key: string]: string; }; }; }; // Journey name, shown in Banger. name: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Saved email, wait, contact-condition and A/B split definitions. Saving these records does not execute them. No arbitrary action, tool, code, URL, or command execution is supported. steps: Array<{ config: { body_html?: string; body_text?: string; content_overrides?: { [key: string]: string; }; delivery_class: "product" | "broadcast"; expires_after_seconds?: number; from_local_part?: string; from_name?: string; mailbox_id?: string; managed_content?: { configured_locales?: Array; fallback_locale?: string; layout_id?: string; localization_policy?: { manual_review?: boolean; }; samples?: { [key: string]: { }; }; source: { body_html: string; layout?: string; preheader?: string; subject: string; variables: { [key: string]: { }; }; variants?: { [key: string]: { body_html: string; body_text?: string; layout?: string; preheader?: string; subject: string; }; }; }; source_locale?: string; translations?: { [key: string]: { [key: string]: string; }; }; }; managed_content_id?: string; managed_source_revision_id?: string; managed_variant_key?: string; product_message_type?: string; send_as?: "lane" | "mailbox"; subject?: string; template_id?: string; }; id?: string; kind: "email"; name: string; position?: number; } | { config: { amount: number; on_met?: "continue" | "end_journey"; unit: "minutes" | "hours" | "days"; until?: { name: string; operator: "equals" | "not_equals" | "contains" | "exists"; path: string; value?: string | number | boolean; }; }; id?: string; kind: "wait"; name: string; position?: number; } | { config: { operator: "equals" | "not_equals" | "exists" | "not_exists" | "contains"; path: string; value?: string | number | boolean; }; id?: string; kind: "condition"; name: string; position?: number; } | { arms: Array<{ allocation: number; key: "A" | "B" | "C" | "D"; label?: string; steps: Array<{ config: { body_html?: string; body_text?: string; content_overrides?: { [key: string]: string; }; delivery_class: "product" | "broadcast"; expires_after_seconds?: number; from_local_part?: string; from_name?: string; mailbox_id?: string; managed_content?: { configured_locales?: Array; fallback_locale?: string; layout_id?: string; localization_policy?: { manual_review?: boolean; }; samples?: { [key: string]: { }; }; source: { body_html: string; layout?: string; preheader?: string; subject: string; variables: { [key: string]: { }; }; variants?: { [key: string]: { body_html: string; body_text?: string; layout?: string; preheader?: string; subject: string; }; }; }; source_locale?: string; translations?: { [key: string]: { [key: string]: string; }; }; }; managed_content_id?: string; managed_source_revision_id?: string; managed_variant_key?: string; product_message_type?: string; send_as?: "lane" | "mailbox"; subject?: string; template_id?: string; }; id?: string; kind: "email"; name: string; position?: number; } | { config: { amount: number; on_met?: "continue" | "end_journey"; unit: "minutes" | "hours" | "days"; until?: { name: string; operator: "equals" | "not_equals" | "contains" | "exists"; path: string; value?: string | number | boolean; }; }; id?: string; kind: "wait"; name: string; position?: number; } | { config: { operator: "equals" | "not_equals" | "exists" | "not_exists" | "contains"; path: string; value?: string | number | boolean; }; id?: string; kind: "condition"; name: string; position?: number; }>; }>; config: { decision_mode?: "manual" | "automatic"; decision_window_weeks?: number; metric?: "delivered" | "replied" | "goal_reached" | "human_opened" | "human_clicked"; min_sample_per_arm?: number; }; id?: string; kind: "split"; name: string; position?: number; }>; // What starts the Journey for a person: kind, the connection_id and config it needs, and optional contact conditions. trigger: { conditions?: Array<{ operator: "equals" | "not_equals" | "exists" | "not_exists" | "contains"; path: string; value?: string | number | boolean; }>; config?: { email_path?: string; event?: string; every?: number; mailbox_id?: string; name_path?: string; once_per_person?: boolean; recipient_mode?: "audience" | "contact"; reentry_days?: number; time?: string; unit?: "days" | "weeks" | "months"; }; connection_id?: string; kind?: "manual" | "contact_created" | "audience_joined" | "event" | "schedule" | "inbound_email" | "email_replied" | "api"; }; }): Promise; }; ``` ## banger_create_label Create a Banger label in one mailbox. suggestion_id creates a suggested label (auto-set turns on when the plan's Triage rule amount has room). Optionally sets emoji and auto_set. Creating an existing name returns the existing label. Banger labels are not synced to Gmail. exec tool declaration: ```ts declare const tools: { banger_create_label(args: { // The label's auto-set rule. Needs a description and/or exact conditions when enabled. Enabled rules count toward the plan's Triage rule amount. auto_set?: { description?: string; enabled: boolean; exact_conditions?: { excludes_words?: Array; from?: Array; has_attachment?: boolean; has_words?: Array; subject_contains?: Array; to?: Array; }; }; // CSS color such as #3b82f6. color?: string; // What the label means, for people. description?: string; // One emoji shown before the name. emoji?: string; // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. idempotency_key: string; // Mailbox identifier. mailbox_id: string; // Label name, up to 120 characters. Required unless suggestion_id is given. name?: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Identifier of a suggested label. suggestion_id?: string; }): Promise; }; ``` ## banger_create_layout Create a shared layout draft. Without html it is seeded from the existing product brand. The HTML contains exactly one {{ content }} slot. Does not publish. exec tool declaration: ```ts declare const tools: { banger_create_layout(args: { // Layout HTML with exactly one {{ content }} slot; when omitted, the layout is seeded from the product brand. html?: string; // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. idempotency_key: string; // Internal layout name, 1-200 characters. name: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // BCP 47 locale the layout's text is written in, such as en. source_locale?: string; // The layout's text in the source locale, keyed by message key (up to 1000 keys). source_messages?: { [key: string]: string; }; // Supplied layout message catalogs keyed by locale (up to 100), each mapping the source message keys to translated text. translations?: { [key: string]: { [key: string]: string; }; }; }): Promise; }; ``` ## banger_create_mail_draft Save an email draft in one mailbox, as a person would in Mailboxes: recipients, subject and body, optionally as a reply in an existing thread. Nothing is sent; the draft waits in the mailbox until someone sends it. exec tool declaration: ```ts declare const tools: { banger_create_mail_draft(args: { // Bcc recipients. One address or "Name ", or a list of up to 500 addresses or { email, name } objects. bcc?: string | Array; // HTML body. body_html?: string; // Plain-text body. body_text?: string; // Cc recipients. One address or "Name ", or a list of up to 500 addresses or { email, name } objects. cc?: string | Array; // Mailbox the draft belongs to and would send from. mailbox_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Subject line. subject?: string; // Thread the draft replies in. Omit for a new conversation. thread_id?: string; // Recipients. One address or "Name ", or a list of up to 500 addresses or { email, name } objects. to?: string | Array; }): Promise; }; ``` ## banger_create_managed_content Create source-only managed content. Nothing is sent or published. Missing configured languages are queued for free background translation, so not every variant needs to be supplied. exec tool declaration: ```ts declare const tools: { banger_create_managed_content(args: { // Source content: subject, body HTML and typed variables, with optional layout, locales, samples and supplied translations. contract: { configured_locales?: Array; fallback_locale?: string; layout_id?: string; localization_policy?: { manual_review?: boolean; }; samples?: { [key: string]: { }; }; source: { body_html: string; layout?: string; preheader?: string; subject: string; variables: { [key: string]: { }; }; variants?: { [key: string]: { body_html: string; body_text?: string; layout?: string; preheader?: string; subject: string; }; }; }; source_locale?: string; translations?: { [key: string]: { [key: string]: string; }; }; }; // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. idempotency_key: string; // Internal name of the managed content, 1-200 characters. name: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_create_native_mailbox Create an idempotent native mailbox on a workspace sending domain. It remains pending until the domain, stream, and inbound MX are verified. exec tool declaration: ```ts declare const tools: { banger_create_native_mailbox(args: { // Sender name shown with the mailbox address, such as "Acme Support". display_name?: string; // Banger-native sending domain identifier. domain_id: string; // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. Use 16-128 characters, such as a UUID. idempotency_key: string; // Address part before the @, such as hello for hello@. local_part: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_create_native_sending_domain Low-level setup of a company domain for Banger sending and receiving. Defaults to simple setup: one mailbox domain for receiving and sending, including Broadcasts and Journeys from selected mailbox addresses; guided onboarding keeps the same saved choices and DNS plan (mailbox_mode, mailbox_prefix). Advanced setup uses separate lane domains: domain is the company's root domain (example.com), and Banger derives Mailboxes at mail., Product at tx., Broadcast at broadcast.; lane_prefixes customizes them (lane_prefixes.mailbox hello gives @hello.example.com), and mailbox_mode migrate keeps Mailboxes on the exact root domain. Existing DMARC and authentication at the From domain are preserved; a missing DMARC policy gets a non-enforcing record. Creation is blocked only by conflicting MX, SPF, or CNAME records at Banger’s receiving or return-path names; website A, AAAA, or verification TXT records leave it unblocked, and the error names the conflicting records. Replacing existing email setup requires a migration request authorized by a signed-in administrator in Banger's Approvals panel; agent claims, chat consent, and confirmation fields are not authorization. External routes require the exact discovered provider and an active product connection. exec tool declaration: ```ts declare const tools: { banger_create_native_sending_domain(args: { // banger, or an existing provider key returned by discovery. broadcast_route?: string; // Company root domain, such as example.com. domain: string; // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. Use 16-128 characters, such as a UUID. idempotency_key: string; // Optional subdomain labels, one per lane, applied under the root domain. Defaults: mailbox mail, product tx, broadcast broadcast. lane_prefixes?: { broadcast?: string; mailbox?: string; product?: string; }; // subdomain puts Mailboxes on a subdomain and preserves existing domain mail. Simple setup defaults to the root if no prefix is supplied; advanced defaults to a subdomain. migrate puts Mailboxes on the exact root domain (@example.com); omit lane_prefixes.mailbox with it. mailbox_mode?: "subdomain" | "migrate"; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // banger, or an existing provider key returned by discovery. product_route?: string; // Legacy compatibility field; no confirmation is required. Existing email policies are preserved. root_dmarc_confirmed?: boolean; // simple (default, and what guided onboarding uses) provisions only mailboxes for receiving and sending, including Broadcasts and Journeys from their exact addresses. With no mailbox_mode or prefix, simple uses the root; existing email DNS blocks creation until an available subdomain is chosen or a migration is approved. Guided onboarding's choose_identity step adds provider detection and checked suggestions. advanced preserves separate sending domains. setup_mode?: "simple" | "advanced"; }): Promise; }; ``` ## banger_create_oauth_client Create a client ID and client secret for an agent platform that adds Banger as a custom MCP server with OAuth, such as Gemini Enterprise. The gemini_enterprise preset (the default) uses Google's redirect URI; custom takes the platform's HTTPS redirect URIs. Each member who connects through the client signs in to Banger and approves it, and acts with their own role in this workspace. The result lists the client ID and the values for the platform's form (server URL, authorization URL, token URL, scopes); the one-time secret appears in the private credential card attached to this result in an MCP Apps host, outside model context, and can also be created in Banger's Settings, Connected apps. Not idempotent: each call creates another client; revoke one whose secret was lost. exec tool declaration: ```ts declare const tools: { banger_create_oauth_client(args: { // Shown in Connected apps. Defaults to Gemini Enterprise for that preset. name?: string; // Defaults to gemini_enterprise. preset?: "gemini_enterprise" | "custom"; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Custom preset only: the platform's HTTPS OAuth redirect URIs. redirect_uris?: Array; }): Promise; }; ``` ## banger_create_outgoing_webhook Create an outbound endpoint that receives signed Banger events for one product, as the Webhooks page does. event_types picks the events; omit it for the default activity events. Specific events (mail.received, mail.sent, send.delivered, send.bounced, send.complained, journey.enrolled, journey.completed, journey.exited) carry the ids an automation needs and are sent only when chosen. The private credential panel shows the signing secret once; it stays outside model context. Requires an MCP Apps host; Banger's Webhooks page offers the same. Not idempotent: each call creates another webhook, and each name is unique per product. exec tool declaration: ```ts declare const tools: { banger_create_outgoing_webhook(args: { // Public HTTPS URL that receives the events. endpoint_url: string; // Events to send. * sends every event, including the high-volume send.delivered. event_types?: Array<"*" | "mail.changed" | "send.changed" | "campaign.changed" | "audience.changed" | "approval.changed" | "automation.changed" | "domain.changed" | "sending.warning" | "sending.lane_paused" | "sending.domain_paused" | "sending.mailbox_paused" | "sending.workspace_frozen" | "sending.resumed" | "mail.received" | "mail.sent" | "send.delivered" | "send.bounced" | "send.complained" | "journey.enrolled" | "journey.completed" | "journey.exited" | "custom">; // Webhook name shown on the Webhooks page; unique within the product. name: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_create_product Create an isolated email operating scope for one product, store, brand, newsletter, or company, with its own audiences, domains, Mailboxes, Broadcasts and Journeys. exec tool declaration: ```ts declare const tools: { banger_create_product(args: { // Confirmed business context stored with the product as free-form JSON, such as primary_goal. context?: { [key: string]: unknown; }; // Short description of what the product does and who it is for. description?: string; // Domains assigned to this product. None is treated as primary. domains?: Array; // What the product is. kind?: "product" | "store" | "brand" | "newsletter" | "company" | "other"; // Product name as customers know it. name: string; // Public website URL of the product. website_url?: string | null; }): Promise; }; ``` ## banger_create_segment Save a product contact segment, with safe retries and canonical preview read-back. Does not create consent. filter.conditions are typed checks on contact fields (each contact field lists the operators its type allows): {field, op, value} with op is, is_not, contains, set, not_set, gt, gte, lt, lte (numbers and dates), within_days (dates, value = days), any_of (value = list), includes (several-choice fields). filter.match is all (default) or any. status and exact attributes also work. exec tool declaration: ```ts declare const tools: { banger_create_segment(args: { // Which contacts match: conditions (up to 20 {field, op, value} checks on contact fields), match (all or any), and optionally an exact status and attributes. filter: { attributes?: { [key: string]: unknown; }; conditions?: Array<{ field: string; op: "is" | "is_not" | "contains" | "set" | "not_set" | "gt" | "gte" | "lt" | "lte" | "within_days" | "any_of" | "includes"; value?: unknown; }>; match?: "all" | "any"; status?: "subscribed" | "unsubscribed" | "bounced" | "complained"; }; // Retry key (1-256 characters): repeating the call with the same key and arguments returns the first result instead of acting twice; reusing the key with different arguments is refused. idempotency_key: string; // Segment name, 1-200 characters. name: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_create_signup_form Signup forms grow a product list from the person's own site: inline card, popup (delay/scroll/exit-intent triggers), bar, corner slide-in, or a hosted page (a link for bios and posts). Widgets wear the product brand and email style, so signups get matching email. Double opt-in is on by default: a branded confirmation email is sent and people join the list only after confirming; consent evidence is recorded. Banger's own words (defaults left untouched, messages, the confirmation email, the confirmed page) appear in the visitor's language (English, Portuguese, Spanish, French, German), or in config.locale when set; copy the person writes stays exactly as written. config.fields adds up to 6 extra questions (text, select with options, or checkbox; optional required); answers are saved on the contact under each field's key (derived from the label when omitted), usable in segments and personalization. Bars ask for email and optionally a first name (config.collect_name); custom questions (config.fields) are not shown on bars. Forms can be created and set live only once the product has a verified sending domain (otherwise 409 verified_domain_required). Creates a form. list_id selects a list; list_name uses or creates a list by name (default "Newsletter"). config is partial: omitted settings use defaults for the kind; headline, body and button_label are the form's own copy. style empty follows the brand's email style. Returns embed_code and hosted_url. Requires a retry key. exec tool declaration: ```ts declare const tools: { banger_create_signup_form(args: { // Form copy, appearance and behaviour: text, image, layout, theme, style, popup triggers, extra questions (fields) and locale. Partial: omitted settings keep the saved values, or the kind's defaults on a new form. config?: { art?: "arcs" | "blocks" | "horizon" | "confetti" | "frame" | "bands" | "dots"; body?: string; button_label?: string; collect_name?: boolean; confirm_promise?: string; count_noun?: string; delay_seconds?: number; email_placeholder?: string; exit_intent?: boolean; eyebrow?: string; fields?: Array<{ key?: string; label: string; options?: Array; placeholder?: string; required?: boolean; type?: "text" | "select" | "checkbox"; }>; fine_print?: string; frequency_days?: number; headline?: string; image?: "none" | "photo" | "art"; image_url?: string; incentive?: string; layout?: "stacked" | "split"; locale?: string; name_placeholder?: string; position?: "bottom" | "top" | "right" | "left"; redirect_url?: string; scroll_percent?: number; show_count?: boolean; show_logo?: boolean; style?: "" | "brand" | "clarity" | "editorial" | "luxe" | "material" | "playful" | "bold" | "plain"; success_body?: string; success_headline?: string; theme?: "light" | "dark" | "brand" | "auto"; }; // true (the default for new forms) sends a confirmation email and adds people to the list only after they confirm; false adds them at once. double_opt_in?: boolean; // Retry key (1-256 characters): repeating the call with the same key and arguments returns the first result instead of acting twice; reusing the key with different arguments is refused. idempotency_key: string; // Form type: inline (card in the page), popup, bar, slide_in (corner) or page (hosted signup page). Defaults to inline when creating. kind: "inline" | "popup" | "bar" | "slide_in" | "page"; // Contact list that signups join, as listed with the product's contact lists. list_id?: string; // Name of the list signups join when list_id is omitted: an existing list with that name (case-insensitive), otherwise a new list. Defaults to "Newsletter" on a new form. list_name?: string; // Mailbox that sends the form's confirmation email, as listed with the workspace's mailboxes; defaults to the product's default sender. mailbox_id?: string; // Form name, up to 200 characters; a new form without one is named after its kind (for example "Popup form"). name?: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_create_starter_mailbox Create or resume a Banger-hosted mailbox without a company domain. create_new:true creates an additional mailbox. Its address is @bangermail.com when a name is given, otherwise a friendly word name such as quiet-maple-harbor. Every hosted mailbox can send only to itself, other hosted inboxes in the same product, and the workspace signup email, including To, Cc and Bcc; hosted inboxes in another product or workspace are not allowed. A connected custom domain is required to send to other recipients. exec tool declaration: ```ts declare const tools: { banger_create_starter_mailbox(args: { // true creates an additional hosted mailbox; otherwise the workspace's existing hosted mailbox is returned when there is one. create_new?: boolean; // Sender name shown with the mailbox address, such as "Acme Support". display_name?: string; // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. Use 16-128 characters, such as a UUID. idempotency_key: string; // Optional name before @bangermail.com. Taken or reserved names are refused. local_part?: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_create_template Save a reusable email design. {{placeholders}} mark fill-in content whose values go in content; recipient fields use {{first_name|there}} style placeholders with fallbacks. Designs carry the product brand. Nothing is sent. Saving a draft sends nothing and needs no review; a Journey's first activation needs one human review of its sending setup. exec tool declaration: ```ts declare const tools: { banger_create_template(args: { // Complete HTML of the email; may contain {{placeholders}}. body_html: string; // Plain-text version of the email. body_text?: string; // Fill-in values keyed by placeholder name, for example { headline: "Meet v2" }. content?: { [key: string]: string; }; // What kind of message the design is, so Product compose and agents can find it. message_kind?: "custom" | "receipt" | "verification" | "magic_link" | "password_reset" | "login_code" | "invite" | "security" | "policy_update" | "welcome" | "tips" | "trial_ending" | "review_request" | "win_back" | "plan_change" | "announcement" | "newsletter" | "digest" | "event" | "story" | "promotion" | "changelog" | "survey" | "notice" | "cart_recovery" | "order_update" | "restock" | "payment_failed" | "usage_alert" | "booking" | "milestone" | "referral" | "waitlist" | "reengagement" | "appeal"; // Design name shown in the design list. name: string; // starter when the design was made from the starter library (with starter_id), import when it came from another tool. Omitted, the design is recorded as made by an agent. origin?: "starter" | "import"; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Declared fill-in fields. Undeclared placeholders still become editable text slots. slots?: Array<{ help?: string; key: string; label?: string; type?: "text" | "paragraph" | "url" | "image"; }>; // ID of the starter the design was made from, as listed in the starter library. starter_id?: string; // Version of that starter. starter_version?: number; // Subject line; may contain {{placeholders}}. subject: string; }): Promise; }; ``` ## banger_create_triage_rule Create a Triage rule for incoming mail in one mailbox. When: description (judged by Jev), exact_conditions, and/or has_label_ids (all given have to hold). Then: actions (apply_label, archive, mark_read, star). Every plan has Triage; plans differ in how many rules can be on and how many emails are triaged per month. exec tool declaration: ```ts declare const tools: { banger_create_triage_rule(args: { // What happens to matching threads (1-8 actions): apply_label, archive, mark_read or star. actions: Array<{ label_id?: string; type: "apply_label" | "archive" | "mark_read" | "star"; }>; // Plain-language condition Jev judges, e.g. "a customer reporting a bug". It is read literally; exact conditions cover senders, numbers and dates. description?: string; // Whether the rule runs on incoming mail. Defaults to true. enabled?: boolean; // Exact conditions checked in code (like Gmail filters). All fields given have to hold. exact_conditions?: { excludes_words?: Array; from?: Array; has_attachment?: boolean; has_words?: Array; subject_contains?: Array; to?: Array; }; // Matches threads that already carry all of these labels. has_label_ids?: Array; // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. idempotency_key: string; // Mailbox identifier. mailbox_id: string; // Rule name, up to 120 characters. name: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_decide_experiment Ends a running experiment with the chosen arm. A sampled Broadcast then sends its remainder with the winner; journeys and automations keep sending only the winner. exec tool declaration: ```ts declare const tools: { banger_decide_experiment(args: { // Experiment identifier. experiment_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Why this variant won; recorded as the decision reason. reason?: string; // Key of the winning variant, such as a or b, as shown in the experiment's results. winner_key: string; }): Promise; }; ``` ## banger_decide_partner_request Answers a partner's request to work in the connected workspace. approve gives the partner access to mail, Journeys and Broadcasts (not billing, members or deleting anything) until the owner removes it; decline closes the request, and the same partner cannot ask this workspace again for 30 days. The partner's owners are emailed the answer. Repeating the same answer changes nothing; a request the partner withdrew cannot be answered. Requires the workspace owner. Returns the grant and the workspace's partners. exec tool declaration: ```ts declare const tools: { banger_decide_partner_request(args: { // approve gives the partner access; decline refuses it. decision: "approve" | "decline"; // The request's grant_id, as listed in the workspace's partners with status requested. grant_id: string; }): Promise; }; ``` ## banger_decide_split Promote one split arm and flatten it into the Journey's main path. exec tool declaration: ```ts declare const tools: { banger_decide_split(args: { // Key of the split arm to promote. arm_key: "A" | "B" | "C" | "D"; // Journey identifier. journey_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Split step identifier. step_id: string; }): Promise; }; ``` ## banger_delete_broadcast Permanently delete a Broadcast that has not sent to anyone (a draft, or one cancelled or failed before any recipient was sent) together with its own design. A Broadcast that sent cannot be deleted, only archived. A scheduled, sending, or paused Broadcast is refused until it is cancelled. Irreversible. exec tool declaration: ```ts declare const tools: { banger_delete_broadcast(args: { // Broadcast identifier, as listed with the product's Broadcasts. broadcast_id: string; // Request key (1-256 characters), sent as the request's Idempotency-Key header. idempotency_key: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_delete_label Delete a Banger label. Its auto-set rule is deleted with it, it is removed from threads, and other Triage rules stop applying it. exec tool declaration: ```ts declare const tools: { banger_delete_label(args: { // Label identifier. label_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_delete_mailbox Permanently deletes only the selected mailbox and its Banger messages, attachments, drafts, labels and triage. Requires the preview_token and exact confirm_address from the mailbox's deletion preview, once the person has reviewed its impact and dependent sending flows and explicitly confirmed the exact address; a mailbox whose state changed needs a new preview and a new confirmation. Cancels queued sends and unfinished Broadcasts, pauses dependent Journeys and signup forms, and keeps sending history and billing records. The domain, other mailboxes and Gmail's original inbox are kept. A confirmed request retried with the same idempotency_key deletes once. exec tool declaration: ```ts declare const tools: { banger_delete_mailbox(args: { // Exact mailbox address confirmed after explaining the preview. confirm_address: string; // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. idempotency_key: string; // Mailbox explicitly confirmed by the person. mailbox_id: string; // preview_token from the mailbox's deletion preview; it binds the deletion to the reviewed state. preview_token: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_delete_native_sending_domain Stop all Mailboxes, Product, and Broadcast delivery for one domain and queue Banger-owned provider teardown. Message history and audit records are preserved. The exact root domain is required as confirmation. exec tool declaration: ```ts declare const tools: { banger_delete_native_sending_domain(args: { // Exact root domain returned by Banger for this domain identifier. confirm_domain: string; // Banger-native sending domain identifier. domain_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_delete_segment Delete a product contact segment. Refused while a Broadcast that hasn't sent yet or a Journey that isn't archived still uses it as its audience; the error names them. Sent Broadcasts keep their frozen audience. Contacts are not deleted. exec tool declaration: ```ts declare const tools: { banger_delete_segment(args: { // Request key (1-256 characters), sent as the request's Idempotency-Key header. idempotency_key: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // Segment identifier, as listed with the product's segments. segment_id: string; }): Promise; }; ``` ## banger_delete_triage_rule Delete a Triage rule. A label's auto-set rule is removed by turning auto-set off or deleting the label. exec tool declaration: ```ts declare const tools: { banger_delete_triage_rule(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Triage rule identifier. rule_id: string; }): Promise; }; ``` ## banger_delete_webhook Permanently delete a webhook, as the Webhooks page does, so its name can be used again. An outbound endpoint's delivery history is deleted with it. An incoming webhook is deleted with its connection, and only while no Journey, archived ones included, has that connection as its trigger or goal; otherwise the webhook_in_use error lists those Journeys. Unlike disabling, deleting cannot be undone. Retrying after the webhook is gone returns deleted with replayed=true. exec tool declaration: ```ts declare const tools: { banger_delete_webhook(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // Webhook identifier, as listed with the workspace's webhooks. webhook_id: string; }): Promise; }; ``` ## banger_deliverability_summary Get computed delivery, bounce, complaint, open, and click aggregates since a timestamp. exec tool declaration: ```ts declare const tools: { banger_deliverability_summary(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Start of the period, as an ISO 8601 timestamp; defaults to 30 days ago. since?: string; }): Promise; }; ``` ## banger_duplicate_template Copy a saved design (template) into a new active design with the same subject, HTML, text, fill-in content, and slots, as the Designs page's Duplicate does. name defaults to " copy". Returns the new design. Not idempotent: each call creates another copy. exec tool declaration: ```ts declare const tools: { banger_duplicate_template(args: { // Name of the copy; defaults to " copy". name?: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Design (template) identifier to copy. template_id: string; }): Promise; }; ``` ## banger_enroll_journey_contacts Add the specified subscribed contacts to one saved Journey. This single enrollment operation can cause the reviewed email steps to send to those contacts asynchronously. Its inputs are limited to Journey and contact identifiers plus a retry key. Does not activate or edit the Journey; human review and audience scope checks remain enforced. Sending requires human review and is limited to the saved definition and audience scope. exec tool declaration: ```ts declare const tools: { banger_enroll_journey_contacts(args: { // Up to 2,000 subscribed contact identifiers, as listed with the product's contacts. contact_ids: Array; // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. Use 16-128 characters, such as a UUID. idempotency_key: string; // Journey identifier. journey_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_forward_email Forward one message from a thread, like Forward in the Mailboxes UI: a new email with the optional text note, a "Forwarded message" block (From, Date, Subject, To, Cc) and the original body, HTML included when the message has it. Attachments are not carried. Defaults to the thread's latest message and sends from the thread's mailbox; the subject becomes "Fwd: ". It goes through the same governed Mailbox send as any mailbox email. A queued execution is not proof of delivery. exec tool declaration: ```ts declare const tools: { banger_forward_email(args: { // Bcc recipients. One address or "Name ", or a list of up to 500 addresses or { email, name } objects. bcc?: string | Array; // Cc recipients. One address or "Name ", or a list of up to 500 addresses or { email, name } objects. cc?: string | Array; // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. idempotency_key: string; // Mailbox to send from; defaults to the thread's mailbox. mailbox_id?: string; // Message to forward; defaults to the thread's latest message. message_id?: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Reply-To address or addresses for the forwarded email. One address or "Name ", or a list of up to 500 addresses or { email, name } objects. reply_to?: string | Array; // Optional note above the forwarded message. text?: string; // Thread holding the message to forward. thread_id: string; // Recipients of the forwarded email. One address or "Name ", or a list of up to 500 addresses or { email, name } objects. to: string | Array; }): Promise; }; ``` ## banger_generate_email_design Have Banger's managed model (or a connected OpenAI/Anthropic connection) write a complete, on-brand email: subject options, text, and responsive HTML. Returns a proposal only; nothing is saved. exec tool declaration: ```ts declare const tools: { banger_generate_email_design(args: { // Who receives the email, in plain words. audience?: string; // What the email should achieve, who it is for, and the facts it includes. brief: string; // Optional OpenAI or Anthropic connection. Omit to use Banger's managed model. connection_id?: string; // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. idempotency_key: string; // Model name. Defaults to the connection's default model, or to Banger's managed model without a connection. model?: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Provider of connection_id; required with it. provider?: "openai" | "anthropic"; // Optional layout to keep: subject, body_text, body_html. starter?: { [key: string]: unknown; }; }): Promise; }; ``` ## banger_get_approval Read pending/approved/rejected state, immutable payload, blockers/reason, execution identifiers/results, and the human-review link. Agents cannot make human approval decisions. exec tool declaration: ```ts declare const tools: { banger_get_approval(args: { // Approval identifier, as returned by a send, schedule or import call or listed with the workspace's approvals. approval_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_get_billing The workspace's plan, subscription status, this month's sends against the plan (and today's against the Free daily cap), and storage used. Plans are Free and Premium (plan key starter). usagePricing: what Premium includes each month, the per-use rates past that (emails and storage; Triage is not charged and stops at what Premium includes) in the workspace's billing currency, the monthly spending limit, and, while usage charges run, thisMonth: this billing period's use and charge so far (a monthly subscription's period is its subscription period, billed on its renewal invoice; a yearly one's is the calendar month), spendLimitUsedPercent, nearSpendLimit (80% or more: the admins were emailed), reachedSpendLimit and usageStopped (at 100%, sending, Triage and storage growth past what Premium includes stop until periodEnd or a higher limit), and carriedOver (use from months under the minimum usage invoice of about US$2, waiting for the next invoice). switchOffer, when present, is the month free on a yearly plan this workspace gets for switching from Mailchimp, with the first-year price. exec tool declaration: ```ts declare const tools: { banger_get_billing(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_get_brand Read the brand kit email designs render with: logo, colors, fonts, tone, company name, and email_style (the visual style every email follows: brand, the Clarity layout in the brand's own fonts and colors, or a preset: clarity, editorial, luxe, material, playful, bold, plain). Reports which values came from the product, from domain discovery, or are still defaults. email_fonts reports, for the heading and body font, which font readers see in each major mail client: brand web fonts load in Apple Mail and Outlook for Mac, and other clients show the fallback. exec tool declaration: ```ts declare const tools: { banger_get_brand(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_get_broadcast Read the saved Broadcast content, source revision and translation state, sender and reply mailbox, audience, versions, statistics, and current state. exec tool declaration: ```ts declare const tools: { banger_get_broadcast(args: { // Broadcast identifier, as listed with the product's Broadcasts. broadcast_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_get_communication_policy Read the product-wide recipient frequency and delivery-window policy shared by Journeys and broadcasts. exec tool declaration: ```ts declare const tools: { banger_get_communication_policy(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_get_company_context Read the reviewed company profile, visual identity, and public email-stack discovery used by Banger agents. exec tool declaration: ```ts declare const tools: { banger_get_company_context(args: { // The exact product domain, when the product has several. domain?: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_get_contact Read one product contact: subscription status, all consent evidence and source history, list memberships, and suppression status/reason. Where a contact uses several addresses, it also returns each address with its own status, the conversations, events, Broadcasts and Journeys of all of them, and possible duplicates. exec tool declaration: ```ts declare const tools: { banger_get_contact(args: { // Contact identifier, as listed with the product's contacts. contact_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_get_contact_import Read canonical queued/running/completed/failed import status, processed/imported/invalid counts and errors. Queue acceptance is not import completion. exec tool declaration: ```ts declare const tools: { banger_get_contact_import(args: { // Bulk import identifier, as chosen when the import was requested or listed with the product's contact imports. import_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_get_contact_list Read an existing product contact list, membership and source history. exec tool declaration: ```ts declare const tools: { banger_get_contact_list(args: { // Contact list identifier, as listed with the product's contact lists. list_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_get_content_settings Read product source/configured languages, fallback chain, timezone, glossary and optional manual translation review. exec tool declaration: ```ts declare const tools: { banger_get_content_settings(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_get_content_translations Read translation coverage and preparation status for the current source revision. exec tool declaration: ```ts declare const tools: { banger_get_content_translations(args: { // Managed content identifier, as listed with the product's managed content or returned when it is created. content_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_get_daily_summary The person's daily summary email for this product: one email each morning to their sign-in address (send_to) with yesterday's day summary from Home (each label's emails, mail without a label, what went out, and any approvals or alerts to act on). It is on unless turned off, and a day with no new mail sends nothing. Returns enabled, send_hour (local hour), time_zone and where it came from (chosen, browser or default), weekdays_only, include_unlabeled, excluded_labels and last_sent_on. exec tool declaration: ```ts declare const tools: { banger_get_daily_summary(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_get_delivery_status Read the canonical provider attempt, provider message identifier, and terminal delivery state for one send intent. exec tool declaration: ```ts declare const tools: { banger_get_delivery_status(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Canonical send-intent identifier. send_intent_id: string; }): Promise; }; ``` ## banger_get_domain_activation_proof Read Banger's canonical Mailboxes, Product, and Broadcast send-and-receive evidence; status is running until it is complete or failed. DNS or provider UI state does not indicate readiness. exec tool declaration: ```ts declare const tools: { banger_get_domain_activation_proof(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_get_experiment Per-variant sends, human opens and clicks, replies, conversions, lift, and confidence, plus a suggested winner when the evidence supports one. A decided test carries decision_basis (confident = every arm sampled and the bar cleared; deadline = the auto-decision deadline arrived first and the leader was promoted below the bar; guardrail; manual), decision_confidence (the confidence actually reached), and decision_reason. exec tool declaration: ```ts declare const tools: { banger_get_experiment(args: { // Experiment identifier. experiment_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_get_figma_file_summary Read the connected Figma file's pages and frames. Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_get_figma_file_summary(args: { // The Figma connection to read, as listed with the workspace's managed connections. connection_id: string; // How deep to read the tree (1-3, default 2). depth?: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_get_figma_launch_brief Read the given frames of the connected Figma file with rendered images, as a brief for a launch email. Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_get_figma_launch_brief(args: { // The Figma connection to read, as listed with the workspace's managed connections. connection_id: string; // How deep to read each node (1-5, default 4). depth?: number; // Image format (default png). format?: "png" | "jpg" | "svg"; // 1-10 Figma node IDs, such as 12:34. node_ids: Array; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Image scale, 0.25-4 (default 2). scale?: number; }): Promise; }; ``` ## banger_get_figma_nodes Read specific nodes of the connected Figma file. Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_get_figma_nodes(args: { // The Figma connection to read, as listed with the workspace's managed connections. connection_id: string; // How deep to read each node (1-5, default 3). depth?: number; // 1-10 Figma node IDs, such as 12:34. node_ids: Array; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_get_github_changelog_brief Summarize one GitHub repository's releases and commits over a period, as a brief for a changelog email. Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_get_github_changelog_brief(args: { // Branch to read commits from. branch?: string; // How many to return (1-100, default 30). commit_limit?: number; // The GitHub connection to read, as listed with the workspace's managed connections. connection_id: string; // Include pre-releases (default false). include_prereleases?: boolean; // Repository owner (user or organization). owner: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // How many to return (1-20, default 5). release_limit?: number; // Repository name. repository: string; // Start of the period (ISO 8601). since?: string; // End of the period (ISO 8601). until?: string; }): Promise; }; ``` ## banger_get_hubspot_customer_brief Find the one HubSpot contact with this exact email and return it with its companies and deals. Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_get_hubspot_customer_brief(args: { // The HubSpot connection to read, as listed with the workspace's managed connections. connection_id: string; // How many to return (1-25, default 10). deal_limit?: number; // The customer's exact email address. email: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_get_incoming_webhook_credentials Reopen an existing incoming webhook in the private MCP panel, where its secret URL, or its public URL and separate Authorization: Bearer token, can be copied. Credentials stay outside model context. Requires a host with private MCP Apps rendering. Does not create, rotate, or activate anything; no secret-manager connection is needed. exec tool declaration: ```ts declare const tools: { banger_get_incoming_webhook_credentials(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // Existing incoming webhook identifier, as listed with the workspace's webhooks. webhook_id: string; }): Promise; }; ``` ## banger_get_journey Read one Journey's trigger, tree of steps, audience, goal, health, enrollments, and executions. exec tool declaration: ```ts declare const tools: { banger_get_journey(args: { // Journey identifier. journey_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_get_layout Read shared layout state and its current draft revision. exec tool declaration: ```ts declare const tools: { banger_get_layout(args: { // Shared layout identifier, as listed with the product's layouts. layout_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_get_layout_approval_preview Retrieve full before/after source-language renders for one content item in a grouped layout approval. Immutable revision hashes are checked against the bound review manifest; does not approve or publish. exec tool declaration: ```ts declare const tools: { banger_get_layout_approval_preview(args: { // Grouped layout approval identifier, as returned when the layout is published or listed with the workspace's approvals. approval_id: string; // Managed content item in the approval's affected email set. content_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // Name of a saved sample variable set to render; defaults to the content's first sample. sample?: string; }): Promise; }; ``` ## banger_get_layout_impact Inspect affected published content and active Journeys before grouped layout review. exec tool declaration: ```ts declare const tools: { banger_get_layout_impact(args: { // Shared layout identifier, as listed with the product's layouts. layout_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_get_mailchimp_migration Read the progress and report of a move from Mailchimp: status and phase (importing, copying_designs, finishing, completed, needs_new_key when Mailchimp rejected the API key and the move is paused, or disconnected when the connection was removed and what came over stays), how many contacts arrived (subscribed, unsubscribed, bounced), each audience's contact list, the contact fields made from merge fields, each segment and whether it became a segment or a static list (and why), the templates and campaigns copied as designs or needing a rebuild (and why), and the automations to rebuild as Journeys. exec tool declaration: ```ts declare const tools: { banger_get_mailchimp_migration(args: { // The Mailchimp connection to move from, as listed with the workspace's managed connections. Defaults to the product's only Mailchimp connection. connection_id?: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_get_managed_content Read the current managed content draft, source revision, supplied translations and translation preparation state. exec tool declaration: ```ts declare const tools: { banger_get_managed_content(args: { // Managed content identifier, as listed with the product's managed content or returned when it is created. content_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_get_message_body Read one message's full HTML body, rendered to readable text (default) or as the raw HTML. Covers bodies that thread reads truncated (body_text_truncated). Messages without an HTML body already carry their full body_text in the thread. exec tool declaration: ```ts declare const tools: { banger_get_message_body(args: { // text returns the body rendered to readable text; html returns the raw HTML. format?: "text" | "html"; // Maximum characters returned (1,000-500,000, default 200,000); longer bodies are cut and flagged truncated. max_chars?: number; // Message identifier within a thread. message_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_get_native_sending_domain Read one canonical Banger-native sending domain, its complete required DNS record set, and Banger-owned verification statuses. Pending can mean normal propagation; it is not permission to alter a correctly saved record. exec tool declaration: ```ts declare const tools: { banger_get_native_sending_domain(args: { // Banger-native sending domain identifier. domain_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_get_notion_page Read one Notion page's properties. Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_get_notion_page(args: { // The Notion connection to read, as listed with the workspace's managed connections. connection_id: string; // Notion page ID. page_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_get_sending_health Read Banger's sender-reputation state: whether the workspace is frozen, each sending domain's state, each lane's (Mailbox, Product, Broadcast) trailing 24-hour hard bounce and complaint rates and state (active, warning, paused), post-resume probation, and paused mailboxes. Each pause lists its reason, the top sources and recipient domains of its bounces and complaints, and whether a workspace admin may resume it now (resume.self_serve) or when (resume.resumable_at), or why not (review_required, resume_limit_reached). Also returns the enforced thresholds. This is the Sending health view in Banger. exec tool declaration: ```ts declare const tools: { banger_get_sending_health(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_get_signup_form Read one signup form: settings, list, embed code (a single script tag to paste before , or where an inline form should appear), hosted page URL, and results. Bars ask for email and optionally a first name (config.collect_name); custom questions (config.fields) are not shown on bars. exec tool declaration: ```ts declare const tools: { banger_get_signup_form(args: { // Signup form identifier, as listed with the product's signup forms. form_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_get_slack_channel_history Read recent messages from one channel of the connected Slack workspace. Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_get_slack_channel_history(args: { // The Slack channel ID. channel: string; // The Slack connection to read, as listed with the workspace's managed connections. connection_id: string; // Paging cursor from the previous page. cursor?: string; // How many to return (1-100, default 50). limit?: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_get_starter_mailbox_proof Read Banger's canonical starter-address round-trip status. exec tool declaration: ```ts declare const tools: { banger_get_starter_mailbox_proof(args: { // Starter mailbox identifier. mailbox_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_get_template Read one email design including its complete HTML, plain text, fill-in content, and the slots a person can edit. exec tool declaration: ```ts declare const tools: { banger_get_template(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Design (template) identifier. template_id: string; }): Promise; }; ``` ## banger_get_thread Get a thread with its messages and readable bodies. Messages that only have an HTML body are rendered into body_text (links kept as "label (url)", body_text_source = rendered_html). Long renders are cut per message and flagged with body_text_truncated; the full body is available per message. include_html also returns each message's raw body_html. triage_actions lists what Triage did to the thread and which rule did it. sender_verified = false marks a message whose sender passed neither SPF nor DKIM for its From domain, so its From address may be forged; sender_warning says the same in words. exec tool declaration: ```ts declare const tools: { banger_get_thread(args: { // Also return each message's raw HTML as body_html (capped, body_html_truncated when cut). include_html?: boolean; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Thread identifier. thread_id: string; }): Promise; }; ``` ## banger_get_transactional_send Read one sent email exactly as the person received it: subject, HTML and text body, headers, delivery state and provider correlation. language is the locale it went out in (null when the email is not translated), journey the Journey step and enrollment that sent it, experiment the variant. Accepts a Product send id or the send_intent_id of a Journey email from the Journey's people list. exec tool declaration: ```ts declare const tools: { banger_get_transactional_send(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // A Product send id, or a Journey email's send_intent_id. send_id: string; }): Promise; }; ``` ## banger_get_triage_usage Read this workspace's current Triage usage and limits: enabled rule count, emails checked this month, and resets_at (the first of next month UTC). At the monthly limit, new mail stays unsorted until the reset. This operation reads usage only; it does not process mail, change rules, or change the subscription. exec tool declaration: ```ts declare const tools: { banger_get_triage_usage(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_get_workspace The workspace this connection acts in: its id, name, where the name came from (name_source: signup, brand or user), the caller's role and the owner's email address. A connection is authorized for one workspace and learns nothing about the person's other workspaces; reaching another one takes a new Banger authorization for it. exec tool declaration: ```ts declare const tools: { banger_get_workspace(args: { }): Promise; }; ``` ## banger_get_zendesk_user Read one Zendesk user from the connected help desk. Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_get_zendesk_user(args: { // The Zendesk connection to read, as listed with the workspace's managed connections. connection_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // The Zendesk user ID. user_id: string; }): Promise; }; ``` ## banger_list_api_keys List product API key identifiers, names, prefixes, scopes, and expiry without revealing tokens. exec tool declaration: ```ts declare const tools: { banger_list_api_keys(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_list_approvals List canonical product approvals with state, blockers/reason, execution identifiers, and human-review links. No human approval action is exposed. exec tool declaration: ```ts declare const tools: { banger_list_approvals(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // Only approvals in this state; undecided returns pending and expired ones. Omitted, every approval is listed. status?: "pending" | "approved" | "rejected" | "cancelled" | "expired" | "undecided"; }): Promise; }; ``` ## banger_list_bounces List the recipients behind the deliverability summary's bounce and complaint counts: address (null when Banger cannot name it; the domain is still given), outcome (hard_bounce, soft_bounce or complaint), when, the email's subject and Journey or Broadcast, and whether future sends already skip the address. Newest first, up to 100. send_intent_id identifies the send. exec tool declaration: ```ts declare const tools: { banger_list_bounces(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Start of the period, as an ISO 8601 timestamp; defaults to 30 days ago. since?: string; }): Promise; }; ``` ## banger_list_broadcast_recipients Read paginated queued, sent, delivered, failed, skipped, bounced, and complained recipient outcomes. skipped with error_code translation_failed, translation_awaiting_review or translation_still_preparing means their language's translation was not ready within a day of sending, and says why. Provider acceptance is sent; delivered requires a delivery event and does not prove inbox placement. exec tool declaration: ```ts declare const tools: { banger_list_broadcast_recipients(args: { // Broadcast identifier, as listed with the product's Broadcasts. broadcast_id: string; // Pagination cursor: page.next_cursor from the previous page. Omitted, the first page is returned. cursor?: string; // Recipients per page, 1-100; defaults to 50. limit?: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // Only recipients with this outcome. Omitted, all recipients are listed. status?: "pending" | "queued" | "sent" | "delivered" | "failed" | "skipped" | "bounced" | "complained"; }): Promise; }; ``` ## banger_list_broadcast_timeline Read canonical Broadcast audit, approval, queue, and provider-event timeline. Provider acceptance is not inbox delivery. exec tool declaration: ```ts declare const tools: { banger_list_broadcast_timeline(args: { // Broadcast identifier, as listed with the product's Broadcasts. broadcast_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_list_campaigns List the workspace's Broadcast messages and their current state. Archived Broadcasts are hidden; pass archived=true to list only those. exec tool declaration: ```ts declare const tools: { banger_list_campaigns(args: { // List only archived Broadcasts. archived?: boolean; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_list_connected_agents List the AI assistants (ChatGPT, Claude, Codex and other MCP clients) that can act for this workspace, with identifiers and when each was connected and last active. exec tool declaration: ```ts declare const tools: { banger_list_connected_agents(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_list_connections List product and business data sources whose credentials are managed by Banger. Client-owned MCP servers are intentionally not included. exec tool declaration: ```ts declare const tools: { banger_list_connections(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_list_contact_fields List this product's contact fields: key, label, what it means (description), type (text, number, boolean, date, choice, choices), choices, where it came from (system, form, import, api, event, discovered, person, agent), how many contacts have a value, and the segment operators it supports. Values live in contact attributes under the key and personalize as {{attributes.key|fallback}}. Keys nobody declared are added as discovered fields the first time data carries them and can be renamed or retyped. exec tool declaration: ```ts declare const tools: { banger_list_contact_fields(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_list_contact_imports List canonical product bulk import jobs and validation/processing status. exec tool declaration: ```ts declare const tools: { banger_list_contact_imports(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_list_contact_lists List existing contact lists within this product. Lists select contacts; membership does not establish consent. exec tool declaration: ```ts declare const tools: { banger_list_contact_lists(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_list_contacts List or search workspace contacts with cursor pagination. A contact is a person: email is their primary address, and where they use several, addresses lists each with its own subscription status, attributes merge their fields, and each carries when they were last active. search filters by email address or display name (case-insensitive substring, e.g. "@acme.com" or "maya"); omit it to list everyone. exec tool declaration: ```ts declare const tools: { banger_list_contacts(args: { // Pagination cursor: page.next_cursor from the previous response. Omit for the first page. cursor?: string; // Page size (1-100, default 50). limit?: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Alias of search. query?: string; // Case-insensitive substring of the contact's email address or display name. search?: string; }): Promise; }; ``` ## banger_list_content_publications List immutable managed content publications and their source revision identifiers. exec tool declaration: ```ts declare const tools: { banger_list_content_publications(args: { // Managed content identifier, as listed with the product's managed content or returned when it is created. content_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_list_email_assets List this product's uploaded email images and immutable public HTTPS URLs. exec tool declaration: ```ts declare const tools: { banger_list_email_assets(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_list_email_lanes Read configured Mail, Product, and Broadcast lanes and the effective hostname for each purpose. Product and Broadcast use default Mail until a dedicated lane is active. Pending lanes preserve the working route. default_sender is an existing active address, preferring the chosen onboarding sender and custom domains. exec tool declaration: ```ts declare const tools: { banger_list_email_lanes(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_list_experiments List experiments, optionally for one Broadcast, journey step, or automation rule. Decided tests include decision_basis (confident, deadline, guardrail, or manual), decision_confidence, and decision_reason; a deadline decision means the winner was picked at the auto-decision deadline without reaching the confidence bar. exec tool declaration: ```ts declare const tools: { banger_list_experiments(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Only experiments in this status. status?: "running" | "decided" | "stopped"; // Only experiments on this item: a campaign id, ':', or an automation rule id. subject_id?: string; // Only experiments on this kind of item. subject_kind?: "campaign" | "sequence_step" | "automation_rule"; }): Promise; }; ``` ## banger_list_figma_comments List the comments on the connected Figma file. Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_list_figma_comments(args: { // Return comment text as Markdown (default true). as_markdown?: boolean; // The Figma connection to read, as listed with the workspace's managed connections. connection_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_list_github_commits List one GitHub repository's commits. Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_list_github_commits(args: { // Only items updated after this time (ISO 8601). after?: string; // The GitHub connection to read, as listed with the workspace's managed connections. connection_id: string; // How many to return (1-100, default 50). limit?: number; // Repository owner (user or organization). owner: string; // Page number. page?: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Repository name. repository: string; // Only items in this state, such as open or closed. state?: string; }): Promise; }; ``` ## banger_list_github_issues List the GitHub issues assigned to the connected account. Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_list_github_issues(args: { // Only items updated after this time (ISO 8601). after?: string; // The GitHub connection to read, as listed with the workspace's managed connections. connection_id: string; // How many to return (1-100, default 50). limit?: number; // Page number. page?: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Only items in this state, such as open or closed. state?: string; }): Promise; }; ``` ## banger_list_github_notifications List the connected GitHub account's notifications. Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_list_github_notifications(args: { // Only items updated after this time (ISO 8601). after?: string; // The GitHub connection to read, as listed with the workspace's managed connections. connection_id: string; // How many to return (1-100, default 50). limit?: number; // Page number. page?: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Only items in this state, such as open or closed. state?: string; }): Promise; }; ``` ## banger_list_github_releases List one GitHub repository's releases. Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_list_github_releases(args: { // Only items updated after this time (ISO 8601). after?: string; // The GitHub connection to read, as listed with the workspace's managed connections. connection_id: string; // How many to return (1-100, default 50). limit?: number; // Repository owner (user or organization). owner: string; // Page number. page?: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Repository name. repository: string; // Only items in this state, such as open or closed. state?: string; }): Promise; }; ``` ## banger_list_github_repositories List the repositories the connected GitHub account can see. Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_list_github_repositories(args: { // Only items updated after this time (ISO 8601). after?: string; // The GitHub connection to read, as listed with the workspace's managed connections. connection_id: string; // How many to return (1-100, default 50). limit?: number; // Page number. page?: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Only items in this state, such as open or closed. state?: string; }): Promise; }; ``` ## banger_list_google_calendar_events List events from the connected Google Calendar, by default those updated in the last 48 hours. Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_list_google_calendar_events(args: { // The Google Calendar connection to read, as listed with the workspace's managed connections. connection_id: string; // How many events (1-250, default 100). max_results?: number; // Order by last update (default) or start time (needs single_events). order_by?: "updated" | "start_time"; // Paging token from the previous page. page_token?: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Free-text search of event fields. query?: string; // Include cancelled events (default false). show_deleted?: boolean; // Expand recurring events into instances (default true). single_events?: boolean; // Only events starting before this time (RFC 3339). time_max?: string; // Only events ending after this time (RFC 3339). time_min?: string; // Only events updated after this time (RFC 3339); default 48 hours ago. updated_min?: string; }): Promise; }; ``` ## banger_list_hubspot_companies List HubSpot CRM companies from the connected account. Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_list_hubspot_companies(args: { // Paging cursor from the previous page. after?: string; // The HubSpot connection to read, as listed with the workspace's managed connections. connection_id: string; // How many to return (1-100, default 50). limit?: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Comma-separated HubSpot properties to include. properties?: string; }): Promise; }; ``` ## banger_list_hubspot_contacts List HubSpot CRM contacts from the connected account. Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_list_hubspot_contacts(args: { // Paging cursor from the previous page. after?: string; // The HubSpot connection to read, as listed with the workspace's managed connections. connection_id: string; // How many to return (1-100, default 50). limit?: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Comma-separated HubSpot properties to include. properties?: string; }): Promise; }; ``` ## banger_list_hubspot_deals List HubSpot CRM deals from the connected account. Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_list_hubspot_deals(args: { // Paging cursor from the previous page. after?: string; // The HubSpot connection to read, as listed with the workspace's managed connections. connection_id: string; // How many to return (1-100, default 50). limit?: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Comma-separated HubSpot properties to include. properties?: string; }): Promise; }; ``` ## banger_list_journey_executions Read durable wait, send, split, completion, and failure receipts for a Journey. exec tool declaration: ```ts declare const tools: { banger_list_journey_executions(args: { // Journey identifier. journey_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_list_journey_people List the people in one Journey, newest entry first: where each person stands (in progress, finished, goal reached, exited by reply, unsubscribe or suppression, or failed) and, for every email step, whether it is pending, translating (waiting for the person's language), skipped (error_code translation_failed, translation_awaiting_review or translation_still_preparing: why the translation was not ready in time; none when the milestone was reached first), failed, or sent with its delivery outcome (queued, sent, delivered, opened, clicked, replied, bounced, complained). Counts per state and per step (sent, skipped, failed, on it now) cover the whole Journey. paths names the split arm each person took. A sent email carries send_intent_id (the id that reads back, as a Product send, the exact message the person received), language (the locale they got it in, or wait for while translating) and variant_key when the step runs an experiment. exec tool declaration: ```ts declare const tools: { banger_list_journey_people(args: { // With step_id: now = on the step right now; received = sent this email. at?: "now" | "received"; // Pagination cursor: page.next_cursor from the previous response. Omit for the first page. cursor?: string; // Journey identifier. journey_id: string; // Page size (1-200, default 50). limit?: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Search email address or name. query?: string; // Only people in this state. state?: "in_progress" | "finished" | "goal_reached" | "exited" | "failed"; // Only people on this step: on it right now, or sent this email (see at). step_id?: string; }): Promise; }; ``` ## banger_list_journeys List every automated product email Journey, including unclaimed API sends, filters, health, and results. exec tool declaration: ```ts declare const tools: { banger_list_journeys(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Case-insensitive search of Journey names and descriptions. q?: string; // Only Journeys in this status; discovered means found from raw API sends and not yet claimed. status?: "draft" | "discovered" | "active" | "paused" | "archived"; // true lists only Journeys that contain a split (A/B test) step. testing?: boolean; // Only Journeys with this trigger: manual, contact_created, audience_joined, event, schedule, inbound_email, email_replied, or api. trigger_kind?: string; }): Promise; }; ``` ## banger_list_labels List a mailbox's labels with emoji, color, description, source (banger or provider), and auto_set (the label's auto-set rule, if any). Gmail/system labels are read-only. exec tool declaration: ```ts declare const tools: { banger_list_labels(args: { // Mailbox identifier. mailbox_id?: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_list_layout_versions Read immutable layout revision history. exec tool declaration: ```ts declare const tools: { banger_list_layout_versions(args: { // Shared layout identifier, as listed with the product's layouts. layout_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_list_layouts List versioned shared product layouts. exec tool declaration: ```ts declare const tools: { banger_list_layouts(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_list_linear_issues List issues from the connected Linear workspace. Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_list_linear_issues(args: { // Paging cursor from the previous page. after?: string; // The Linear connection to read, as listed with the workspace's managed connections. connection_id: string; // How many to return (1-100, default 50). limit?: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Only issues of this Linear team. team_id?: string; }): Promise; }; ``` ## banger_list_logs List the product's merged sent and received email timeline, newest first, with cursor pagination and operational filters. SMTP attempts Banger refused appear as rejected entries with the reply the client got and its smtp_ reference. exec tool declaration: ```ts declare const tools: { banger_list_logs(args: { // Pagination cursor: page.next_cursor from the previous response. Omit for the first page. cursor?: string; // out for sent mail, in for received mail, all (default) for both. direction?: "all" | "out" | "in"; // First calendar date to include. from?: string; // Page size (1-100, default 50). limit?: number; // Only entries for this product mailbox. mailbox_id?: string; // Only entries from this source. origin?: "journey" | "broadcast" | "mailbox" | "api" | "agent" | "smtp"; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Search subject or sender/recipient address, an smtp_ reference, or a bgr_ key prefix. query?: string; // Only entries in this delivery or receipt state. status?: "queued" | "sent" | "delivered" | "bounced" | "complained" | "opened" | "clicked" | "replied" | "received" | "failed" | "rejected"; // Last calendar date to include. to?: string; }): Promise; }; ``` ## banger_list_mailboxes List the work mailboxes visible to this workspace API key. exec tool declaration: ```ts declare const tools: { banger_list_mailboxes(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_list_mailchimp_audiences List the Mailchimp account's audiences (lists). Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_list_mailchimp_audiences(args: { // Only items created after this time (ISO 8601). after?: string; // The Mailchimp connection to read, as listed with the workspace's managed connections. connection_id: string; // How many to return (1-100, default 50). limit?: number; // How many to skip, for paging. offset?: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Only items in this Mailchimp status. status?: string; }): Promise; }; ``` ## banger_list_mailchimp_campaigns List the Mailchimp account's campaigns. Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_list_mailchimp_campaigns(args: { // Only items created after this time (ISO 8601). after?: string; // The Mailchimp connection to read, as listed with the workspace's managed connections. connection_id: string; // How many to return (1-100, default 50). limit?: number; // How many to skip, for paging. offset?: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Only items in this Mailchimp status. status?: string; }): Promise; }; ``` ## banger_list_mailchimp_members List the members (contacts) of one Mailchimp audience. Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_list_mailchimp_members(args: { // Only items created after this time (ISO 8601). after?: string; // The Mailchimp connection to read, as listed with the workspace's managed connections. connection_id: string; // How many to return (1-100, default 50). limit?: number; // The Mailchimp audience (list) ID. list_id: string; // How many to skip, for paging. offset?: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Only items in this Mailchimp status. status?: string; }): Promise; }; ``` ## banger_list_mailchimp_reports List the Mailchimp account's campaign reports. Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_list_mailchimp_reports(args: { // Only items created after this time (ISO 8601). after?: string; // The Mailchimp connection to read, as listed with the workspace's managed connections. connection_id: string; // How many to return (1-100, default 50). limit?: number; // How many to skip, for paging. offset?: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Only items in this Mailchimp status. status?: string; }): Promise; }; ``` ## banger_list_mailchimp_segments List the segments of one Mailchimp audience. Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_list_mailchimp_segments(args: { // Only items created after this time (ISO 8601). after?: string; // The Mailchimp connection to read, as listed with the workspace's managed connections. connection_id: string; // How many to return (1-100, default 50). limit?: number; // The Mailchimp audience (list) ID. list_id: string; // How many to skip, for paging. offset?: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Only items in this Mailchimp status. status?: string; }): Promise; }; ``` ## banger_list_mailchimp_templates List the Mailchimp account's email templates. Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_list_mailchimp_templates(args: { // Only items created after this time (ISO 8601). after?: string; // The Mailchimp connection to read, as listed with the workspace's managed connections. connection_id: string; // How many to return (1-100, default 50). limit?: number; // How many to skip, for paging. offset?: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Only items in this Mailchimp status. status?: string; }): Promise; }; ``` ## banger_list_managed_content List product-scoped managed email drafts and publication identities, continuing with next_cursor. Does not send or change content. exec tool declaration: ```ts declare const tools: { banger_list_managed_content(args: { // next_cursor from the previous page; omit for the first page. cursor?: string; // Maximum items per page, 1-100; defaults to 50. limit?: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_list_native_sending_domains List canonical Banger-native sending domains, provisioning checkpoints, and the complete required DNS record set (host, type, value, priority, and verification status). TTL is omitted: the DNS provider's default or any accepted value works. Pending after correct entry normally means propagation. Readiness is reported only by Banger's statuses. exec tool declaration: ```ts declare const tools: { banger_list_native_sending_domains(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_list_notion_blocks Read the content blocks inside one Notion page or block. Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_list_notion_blocks(args: { // Notion page or block ID. block_id: string; // The Notion connection to read, as listed with the workspace's managed connections. connection_id: string; // How many to return (1-100, default 50). limit?: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Paging cursor from the previous page. start_cursor?: string; }): Promise; }; ``` ## banger_list_oauth_clients List the OAuth clients (client ID and secret) this workspace created for agent platforms that connect with them, such as Gemini Enterprise: name, client ID, redirect URIs, how many people are connected through each, and the server, authorization and token URLs and scopes to enter on the platform. Secrets are not included. exec tool declaration: ```ts declare const tools: { banger_list_oauth_clients(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_list_partners The partners (agencies and affiliates on Banger Partners) that asked to work in the connected workspace, and those with access: each one's grant_id, name, kind (agency or affiliate), contact email, number of people, status (requested or active), who asked and when, and when the owner approved. A partner with access can work in mail, Journeys and Broadcasts, but not billing, members or deleting anything. Requires the workspace owner. exec tool declaration: ```ts declare const tools: { banger_list_partners(args: { }): Promise; }; ``` ## banger_list_products List the workspace's products, stores, brands, newsletters, and their setup progress. With one active product, product_id is optional; with several, operational writes require the product_id of the target product. exec tool declaration: ```ts declare const tools: { banger_list_products(args: { }): Promise; }; ``` ## banger_list_provider_connections Inspect the workspace's Banger-native and customer-owned provider connections. exec tool declaration: ```ts declare const tools: { banger_list_provider_connections(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_list_segments List existing product contact segments and their canonical filters. exec tool declaration: ```ts declare const tools: { banger_list_segments(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_list_sends List canonical Product and Broadcast send intents with provider state so an agent can verify what actually happened. exec tool declaration: ```ts declare const tools: { banger_list_sends(args: { // Number of most recent send intents to return (1-100, default 50). limit?: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_list_shopify_stores List the Shopify stores connected to this workspace: shop domain, store name, status (active or uninstalled), the connection_id their Journeys start from, and the store events Banger subscribed to. available is false when the Shopify app is not offered in this environment. exec tool declaration: ```ts declare const tools: { banger_list_shopify_stores(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_list_signup_forms Signup forms grow a product list from the person's own site: inline card, popup (delay/scroll/exit-intent triggers), bar, corner slide-in, or a hosted page (a link for bios and posts). Widgets wear the product brand and email style, so signups get matching email. Double opt-in is on by default: a branded confirmation email is sent and people join the list only after confirming; consent evidence is recorded. Banger's own words (defaults left untouched, messages, the confirmation email, the confirmed page) appear in the visitor's language (English, Portuguese, Spanish, French, German), or in config.locale when set; copy the person writes stays exactly as written. config.fields adds up to 6 extra questions (text, select with options, or checkbox; optional required); answers are saved on the contact under each field's key (derived from the label when omitted), usable in segments and personalization. Bars ask for email and optionally a first name (config.collect_name); custom questions (config.fields) are not shown on bars. Forms can be created and set live only once the product has a verified sending domain (otherwise 409 verified_domain_required). Lists this product's forms with embed code, hosted link, views, signups, confirmations, subscribers and conversion rate. exec tool declaration: ```ts declare const tools: { banger_list_signup_forms(args: { // Include archived forms; defaults to false. include_archived?: boolean; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_list_slack_channels List the channels of the connected Slack workspace. Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_list_slack_channels(args: { // The Slack connection to read, as listed with the workspace's managed connections. connection_id: string; // Paging cursor from the previous page. cursor?: string; // How many to return (1-100, default 50). limit?: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_list_snowflake_queries List the queries approved for the connected Snowflake account: id, name and row limit. Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_list_snowflake_queries(args: { // The Snowflake connection to read, as listed with the workspace's managed connections. connection_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_list_starters 70 designed email starters rendered in this product's brand, grouped by kind of business (saas, shop, creator, services, local, community) and customer stage (onboarding, activation, revenue, retention, publish, account). Every starter renders in the brand's style (brand, the default: Clarity in the brand's own fonts and colors) or any of seven presets (clarity, editorial, luxe, material, playful, bold, plain; via style). Each has a brief: its one job, when to send it, the metric to watch, the mechanic that makes it convert, subject lines to A/B test, and what to keep or avoid when rewriting. The list is compact and defaults to the product's own kind of business (business=all for everything); with id it returns one starter's body_html with fillable slots (image slots start on hand-picked photos or brand art). Saved designs record starter_id and starter_version. exec tool declaration: ```ts declare const tools: { banger_list_starters(args: { // Kind of business. Defaults to the product's kind. business?: "all" | "saas" | "shop" | "creator" | "services" | "local" | "community"; // product = account and order mail without an unsubscribe link. category?: "product" | "lifecycle" | "broadcast"; // One starter's id; returns it with body_html. id?: string; // Include body_html for every listed starter (large). include_html?: boolean; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Only starters for this customer stage. stage?: "onboarding" | "activation" | "revenue" | "retention" | "publish" | "account"; // Visual style. brand (the default) is the clean Clarity layout in the brand's own fonts and colors; the other seven are designed presets with their own type, in the brand's colors. Every starter works in every style. Starters follow the brand's email_style unless you pass style; change it with the brand. style?: "brand" | "clarity" | "editorial" | "luxe" | "material" | "playful" | "bold" | "plain"; }): Promise; }; ``` ## banger_list_suggested_labels List ready-made labels (name, emoji, color, auto-set description) with a suggestion_id each and whether each is already in the mailbox. exec tool declaration: ```ts declare const tools: { banger_list_suggested_labels(args: { // Mailbox identifier. mailbox_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_list_suppressions List workspace suppressions. Marketing unsubscribes block Broadcasts and Journeys but permit transactional API and SMTP mail. Hard bounces, complaints and manual or provider suppressions block all mail. Each row has the address hash (not the address itself), the reason (unsubscribe, hard_bounce, complaint or manual) and when it was added. Newest first, up to 1000. exec tool declaration: ```ts declare const tools: { banger_list_suppressions(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_list_templates List reusable email designs (templates) with their fill-in content, declared slots, and status. exec tool declaration: ```ts declare const tools: { banger_list_templates(args: { // true also lists archived designs. include_archived?: boolean; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_list_threads List a cursor-paginated page of threads from one workspace mailbox view. participants is the latest sender; recipients is the To list of the mailbox's latest sent message (who a Sent thread went to). sender_unverified = true marks a thread whose latest sender passed neither SPF nor DKIM, so its From address may be forged. exec tool declaration: ```ts declare const tools: { banger_list_threads(args: { // Pagination cursor: page.next_cursor from the previous response. Omit for the first page. cursor?: string; // Optional label filter. label_id?: string; // Page size (1-100, default 50). limit?: number; // Optional mailbox filter. mailbox_id?: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Mailbox folder to list; defaults to inbox. view?: "inbox" | "sent" | "drafts" | "archive" | "trash" | "spam" | "all"; }): Promise; }; ``` ## banger_list_triage_actions What Triage did and why: each action (apply_label, archive, mark_read, star) with its rule, thread, and whether it was undone. Filter by mailbox, thread, or rule. exec tool declaration: ```ts declare const tools: { banger_list_triage_actions(args: { // Maximum actions to return, newest first, 1-200. Defaults to 50. limit?: number; // Mailbox identifier. mailbox_id?: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Triage rule identifier. rule_id?: string; // Thread identifier. thread_id?: string; }): Promise; }; ``` ## banger_list_triage_rules List a mailbox's Triage rules (When -> Then). Labels' auto-set rules belong to their label and are listed here only with include_auto_set=true. exec tool declaration: ```ts declare const tools: { banger_list_triage_rules(args: { // Also list labels' auto-set rules. Defaults to false. include_auto_set?: boolean; // Mailbox identifier. mailbox_id?: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_list_webhooks List incoming webhook connections and outbound endpoints, including connection_id, status, last_received_at, errors, and recent test deliveries. Credentials are not returned. exec tool declaration: ```ts declare const tools: { banger_list_webhooks(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_list_work List the shared Work queue across every mailbox in the workspace. exec tool declaration: ```ts declare const tools: { banger_list_work(args: { // Pagination cursor: page.next_cursor from the previous response. Omit for the first page. cursor?: string; // Page size (1-100, default 50). limit?: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Work status to list; defaults to open. status?: "open" | "waiting" | "done"; }): Promise; }; ``` ## banger_list_workspace_members The people in the connected workspace: each member's id, email, display name, role (owner, admin, member or viewer) and status, plus pending invitations. actorId is the user id of the person this connection acts for; a member's id identifies them for a role change. exec tool declaration: ```ts declare const tools: { banger_list_workspace_members(args: { }): Promise; }; ``` ## banger_mark_thread_read Mark every message in a thread read, or unread with read=false. exec tool declaration: ```ts declare const tools: { banger_mark_thread_read(args: { // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. idempotency_key: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // true marks it read (default); false marks it unread. read?: boolean; // Thread identifier. thread_id: string; }): Promise; }; ``` ## banger_mark_thread_spam Move a thread to spam, or back out of spam with spam=false. exec tool declaration: ```ts declare const tools: { banger_mark_thread_spam(args: { // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. idempotency_key: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // true marks it spam (default); false marks it not spam. spam?: boolean; // Thread identifier. thread_id: string; }): Promise; }; ``` ## banger_move_thread Move a thread to one label, like moving it to a folder: it leaves the inbox and its previous folder. exec tool declaration: ```ts declare const tools: { banger_move_thread(args: { // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. idempotency_key: string; // Label to move the thread to. label_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Thread identifier. thread_id: string; }): Promise; }; ``` ## banger_onboarding_add_inboxes Create inboxes on the saved domain from local names, such as hello and support. They stay pending until verification succeeds. Hosted mailboxes send only to themselves, the signup address, or other hosted mailboxes in the same product. Part of the guided setup shared with the Banger web app; repeating it resumes saved progress. exec tool declaration: ```ts declare const tools: { banger_onboarding_add_inboxes(args: { // 1-25 inbox names without @domain, such as hello and support. addresses: Array; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_onboarding_choose_delivery Choose what Banger does for the domain: simple (the default: Banger sends and receives on the chosen mailbox address), send_only (Banger sends; the current inbox provider keeps receiving), or send_and_receive (Banger sends and also receives, set up separately). Changing it restarts DNS progress. Part of the guided setup shared with the Banger web app; repeating it resumes saved progress. exec tool declaration: ```ts declare const tools: { banger_onboarding_choose_delivery(args: { // How Banger handles mail for the domain. choice: "simple" | "send_only" | "send_and_receive"; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_onboarding_confirm_dns_saved Record that the person saved every prepared DNS record at their DNS provider, before verification. Part of the guided setup shared with the Banger web app; repeating it resumes saved progress. exec tool declaration: ```ts declare const tools: { banger_onboarding_confirm_dns_saved(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_onboarding_continue_from_ideas Record that the person has seen the ideas and move on to the first send. The drafts stay saved. Part of the guided setup shared with the Banger web app; repeating it resumes saved progress. exec tool declaration: ```ts declare const tools: { banger_onboarding_continue_from_ideas(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_onboarding_continue_to_inboxes Move on to adding inboxes while DNS verification continues; does not mark verification complete. Part of the guided setup shared with the Banger web app; repeating it resumes saved progress. exec tool declaration: ```ts declare const tools: { banger_onboarding_continue_to_inboxes(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_onboarding_defer_receiving Keep the current inbox provider receiving mail for now. Receiving can be set up later. Part of the guided setup shared with the Banger web app; repeating it resumes saved progress. exec tool declaration: ```ts declare const tools: { banger_onboarding_defer_receiving(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_onboarding_discover_brand Read the company website to fill in the brand kit: name, logo, wordmark, colors and fonts. website_url saves the address to read first; without it the saved website is read. Part of the guided setup shared with the Banger web app; repeating it resumes saved progress. exec tool declaration: ```ts declare const tools: { banger_onboarding_discover_brand(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Company website, as a full https URL. website_url?: string; }): Promise; }; ``` ## banger_onboarding_discover_domain Have Banger's backend inspect public DNS and the company website. Returns the authoritative DNS provider, existing email services, and the canonical recommended connection plan. Discovery does not indicate DNS readiness. exec tool declaration: ```ts declare const tools: { banger_onboarding_discover_domain(args: { // Company domain to inspect, such as example.com. domain: string; }): Promise; }; ``` ## banger_onboarding_finish Mark setup finished once the chosen delivery is verified. Part of the guided setup shared with the Banger web app; repeating it resumes saved progress. exec tool declaration: ```ts declare const tools: { banger_onboarding_finish(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_onboarding_finish_for_now Finish setup for now with a Banger-hosted address and come back to the domain later. Needs the brand saved or skipped. Part of the guided setup shared with the Banger web app; repeating it resumes saved progress. exec tool declaration: ```ts declare const tools: { banger_onboarding_finish_for_now(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_onboarding_get_ideas Read the business's website and prepare 1-3 campaigns and 1-3 Journeys it should be sending, written for it in its brand, each with a conservative gain estimate built from the site's own prices. Each idea is saved once as a draft: a Broadcast draft or a Journey draft that needs approval before it runs. Asking again returns the same ideas; refresh rewrites them. Sends nothing. Part of the guided setup shared with the Banger web app; repeating it resumes saved progress. exec tool declaration: ```ts declare const tools: { banger_onboarding_get_ideas(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Write the ideas again from the website instead of returning the saved ones. refresh?: boolean; }): Promise; }; ``` ## banger_onboarding_get_state Reads the workspace's server-owned onboarding state (current step, lesson, progress, domain options and DNS guide) for progress checks, without opening the setup screens. The workspace comes from this MCP credential, not from model input. details=true adds full step detail. exec tool declaration: ```ts declare const tools: { banger_onboarding_get_state(args: { // true adds full detail: product, brand, starter Journey and Broadcast, domain discovery, and DNS records. details?: boolean; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_onboarding_open_setup Starts or resumes Banger onboarding: opens Banger's setup (the same screens as the web app) in MCP Apps hosts and returns the same saved state, including the current lesson, for text-only clients. task opens one part: business, identity, or sending. The Banger web app shows the same onboarding on Home until it is complete. exec tool declaration: ```ts declare const tools: { banger_onboarding_open_setup(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Part of setup to open: business (brand and context), identity (domain and address), or sending (DNS and inboxes). Omit to open the current step. task?: "business" | "identity" | "sending"; }): Promise; }; ``` ## banger_onboarding_pick_idea Choose which campaign idea the first send uses, by the key the ideas list gives it. Part of the guided setup shared with the Banger web app; repeating it resumes saved progress. exec tool declaration: ```ts declare const tools: { banger_onboarding_pick_idea(args: { // The campaign idea's key. key: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_onboarding_prepare_domain Prepare the exact DNS records for the chosen domain and register it with Banger's email sending provider. Existing authentication and DMARC policies are kept; a missing policy gets a non-enforcing DMARC record. Creates no inboxes; those are added by name once the records are saved. Sends no email and changes no DNS records itself. Part of the guided setup shared with the Banger web app; repeating it resumes saved progress. exec tool declaration: ```ts declare const tools: { banger_onboarding_prepare_domain(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Legacy compatibility field; no confirmation is required. Existing email policies are preserved. root_dmarc_confirmed?: boolean; }): Promise; }; ``` ## banger_onboarding_prepare_receiving Prepare the DNS records for Banger to receive mail for the chosen domain. Creates no inboxes. Changes no DNS records itself. Part of the guided setup shared with the Banger web app; repeating it resumes saved progress. exec tool declaration: ```ts declare const tools: { banger_onboarding_prepare_receiving(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_onboarding_save_brand Save the company's brand and business context: company name, primary goal, website and brand kit values (logo, wordmark, colors, fonts, footer address, email style). With no fields it accepts the brand Banger already found. Logo and wordmark links are copied to Banger's own image hosting. Sends no email. Part of the guided setup shared with the Banger web app; repeating it resumes saved progress. exec tool declaration: ```ts declare const tools: { banger_onboarding_save_brand(args: { // Brand kit values. Colors are #rrggbb; URLs are https. Empty string clears a value. brand?: { accent_color?: string; background_color?: string; body_font_family?: string; company_name?: string; email_style?: "brand" | "clarity" | "editorial" | "luxe" | "material" | "playful" | "bold" | "plain"; footer_address?: string; heading_font_family?: string; logo_url?: string; muted_text_color?: string; primary_color?: string; surface_color?: string; text_color?: string; tone?: string; website_url?: string; wordmark_url?: string; }; // Company name. company_name?: string; // What the company mainly wants email to do, such as welcome new customers. primary_goal?: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Company website, as a full https URL. website_url?: string; }): Promise; }; ``` ## banger_onboarding_send_agent_test Sends one diagnostic email to the canonical hosted mailbox to test this connection. Optional: OAuth authorization itself completes the agent-connection checkpoint. exec tool declaration: ```ts declare const tools: { banger_onboarding_send_agent_test(args: { }): Promise; }; ``` ## banger_onboarding_send_first Send the picked campaign idea, once, to the person's own signup address only, from their Banger address, so they can see it in their inbox. Reaches nobody else. Sends from Banger's shared domain until their own domain is connected. Part of the guided setup shared with the Banger web app; repeating it resumes saved progress. exec tool declaration: ```ts declare const tools: { banger_onboarding_send_first(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_onboarding_set_domain Check the company domain's public DNS and website, then save it with the mailbox route: root (addresses on the domain itself) or subdomain (with its prefix). When the domain already carries email and no route is given, the first free subdomain is chosen and the existing email is kept. Choosing a different domain restarts DNS progress. Changes no DNS records and creates no inboxes. In a workspace that has not started setup, a call without the confirmation value saves nothing and returns the plan with that value. Part of the guided setup shared with the Banger web app; repeating it resumes saved progress. exec tool declaration: ```ts declare const tools: { banger_onboarding_set_domain(args: { // The confirmation value returned with the plan, once the person agreed to this domain. confirmation?: string; // Company domain, such as example.com. domain: string; // Addresses on the domain itself (root) or on a subdomain. mailbox_route?: "root" | "subdomain"; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Subdomain prefix, such as mail, with mailbox_route subdomain. subdomain?: string; }): Promise; }; ``` ## banger_onboarding_set_scale Save roughly how many orders, signups, customers, subscribers, leads or members the business gets a month (the question the ideas ask), and re-size every estimate with it. Rewrites no email. Part of the guided setup shared with the Banger web app; repeating it resumes saved progress. exec tool declaration: ```ts declare const tools: { banger_onboarding_set_scale(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // About how many a month. value: number; }): Promise; }; ``` ## banger_onboarding_skip_agent Move past the step that connects an AI app; the finish-setup banner keeps offering it. Connecting through this server already counts as connected. Part of the guided setup shared with the Banger web app; repeating it resumes saved progress. exec tool declaration: ```ts declare const tools: { banger_onboarding_skip_agent(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_onboarding_skip_brand Skip the Brand step for now without marking the brand reviewed. It can be saved later. With no website saved, the ideas step is skipped too and the first send uses a test email. Part of the guided setup shared with the Banger web app; repeating it resumes saved progress. exec tool declaration: ```ts declare const tools: { banger_onboarding_skip_brand(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_onboarding_skip_domain Skip Your domain until the person comes back to it. Choosing a domain later clears the skip. Part of the guided setup shared with the Banger web app; repeating it resumes saved progress. exec tool declaration: ```ts declare const tools: { banger_onboarding_skip_domain(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_onboarding_skip_first_send Skip sending the first campaign to the person. Nothing is sent. Part of the guided setup shared with the Banger web app; repeating it resumes saved progress. exec tool declaration: ```ts declare const tools: { banger_onboarding_skip_first_send(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_onboarding_skip_ideas Skip the ideas step. Saved drafts are kept. Part of the guided setup shared with the Banger web app; repeating it resumes saved progress. exec tool declaration: ```ts declare const tools: { banger_onboarding_skip_ideas(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_onboarding_skip_inboxes Finish the domain step without creating inboxes. Inboxes can be added later. Part of the guided setup shared with the Banger web app; repeating it resumes saved progress. exec tool declaration: ```ts declare const tools: { banger_onboarding_skip_inboxes(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_onboarding_use_hosted_address Continue with a Banger-hosted address instead of the company domain for now. The domain can be connected later. Part of the guided setup shared with the Banger web app; repeating it resumes saved progress. exec tool declaration: ```ts declare const tools: { banger_onboarding_use_hosted_address(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_onboarding_verify_dns Check the saved DNS records in public DNS and update verification. Records may take time to propagate; pending is not an error. Changes no DNS records. Part of the guided setup shared with the Banger web app; repeating it resumes saved progress. exec tool declaration: ```ts declare const tools: { banger_onboarding_verify_dns(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_open_billing_portal Returns a Stripe billing portal link where a person can switch between monthly and yearly, update the card, see invoices (including monthly usage invoices) or cancel. For a workspace Shopify bills (billing.provider is shopify), returns the store's billing page in its Shopify admin. Requires workspace admin. exec tool declaration: ```ts declare const tools: { banger_open_billing_portal(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_open_contacts_file Show a CSV file opened in ChatGPT as a contact list: its columns, sample rows and how Banger would map them onto contacts. Reads only; importing is a separate step. exec tool declaration: ```ts declare const tools: { banger_open_contacts_file(args: { // The file the person attached in ChatGPT: its name and the resource to read it from. file: { name: string; resourceUri: string; }; }): Promise; }; ``` ## banger_open_email_file Show an .eml email file opened in ChatGPT: sender, recipients, date, subject and the rendered message. Reads only. exec tool declaration: ```ts declare const tools: { banger_open_email_file(args: { // The file the person attached in ChatGPT: its name and the resource to read it from. file: { name: string; resourceUri: string; }; }): Promise; }; ``` ## banger_open_studio Show a Journey, Broadcast or email design in Banger Studio, where the person sees it and edits it with ChatGPT. Without kind and id it follows what was changed most recently. exec tool declaration: ```ts declare const tools: { banger_open_studio(args: { // The Journey, Broadcast or email design (template) id. id?: string; // What to show: a Journey, a Broadcast or an email design. kind?: "journey" | "broadcast" | "email"; // The product it belongs to. Defaults to the workspace's default product. product_id?: string; }): Promise; }; ``` ## banger_pause_broadcast Pause a scheduled or sending Broadcast. Recipients already sent stay sent; nobody else is sent to until it is resumed. Returns the Broadcast read-back (status paused). Retrying on an already paused Broadcast returns its current state. exec tool declaration: ```ts declare const tools: { banger_pause_broadcast(args: { // Broadcast identifier, as listed with the product's Broadcasts. broadcast_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_pause_journey Pause one Journey, stopping future scheduled steps. Messages already sent cannot be recalled. exec tool declaration: ```ts declare const tools: { banger_pause_journey(args: { // Journey identifier. journey_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_pause_native_sending_lane Pause exactly one Mailboxes, Product, or Broadcast lane. Its DNS and the other lanes are left unchanged. exec tool declaration: ```ts declare const tools: { banger_pause_native_sending_lane(args: { // Banger-native sending domain identifier. domain_id: string; // Delivery lane on this domain: mailbox (Mailboxes), product, or broadcast. lane: "mailbox" | "product" | "broadcast"; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_pay_with_agent Buys prepaid Premium time with a Stripe Shared Payment Token the person approved in their wallet (for example Link). The token is granted to the network_id for exactly the amount_cents listed for the chosen option in the billing read's agent_payment offer; each token pays once. The workspace moves to Premium immediately and stays on it for the prepaid months; prepaid time has no usage charges, so it stops at what Premium includes. A workspace switching from Mailchimp pays a month less for its first year; the offer's amount_cents already includes that, and the result's discount says so. Requires workspace admin. exec tool declaration: ```ts declare const tools: { banger_pay_with_agent(args: { // month = 1 month; year = 12 months for the price of 10. interval: "month" | "year"; // The plan to buy prepaid time on: premium. plan_key: "premium"; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // The spt_… token granted to Banger's network_id for exactly the option's amount_cents. shared_payment_token: string; }): Promise; }; ``` ## banger_pick_mailbox Let the person choose which active Banger mailbox an email is sent from. Returns the chosen mailbox's id and address, or the options. Where the client shows forms the person picks from a native list; elsewhere the options are returned. exec tool declaration: ```ts declare const tools: { banger_pick_mailbox(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_pick_segment Let the person choose one of this product's saved contact segments, for example as a Broadcast audience. Returns the chosen segment's id and name, or the options. Where the client shows forms the person picks from a native list; elsewhere the options are returned. exec tool declaration: ```ts declare const tools: { banger_pick_segment(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_pick_starter Let the person choose one of Banger's starter designs for this product, filtered by business, stage or category. Returns the chosen starter's id and version, or the options. Where the client shows forms the person picks from a native list; elsewhere the options are returned. exec tool declaration: ```ts declare const tools: { banger_pick_starter(args: { // The kind of business the starters are for. business?: "all" | "saas" | "shop" | "creator" | "services" | "local" | "community"; // Product email, lifecycle Journey email, or Broadcast. category?: "product" | "lifecycle" | "broadcast"; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // The customer moment the email is for. stage?: "onboarding" | "activation" | "revenue" | "retention" | "publish" | "account"; }): Promise; }; ``` ## banger_plan_email_lane Read-only availability and DNS preflight for one exact hostname and Mail (mailbox), Product, or Broadcast. Supports the root or a subdomain. Returns existing lane identifiers, occupied hostname conflicts, detected email DNS, and records that conflict with the exact receiving or return-path names. Website records alone leave email setup available. exec tool declaration: ```ts declare const tools: { banger_plan_email_lane(args: { // Company domain, such as example.com. domain: string; // Exact hostname: example.com or a subdomain such as news.example.com. from_domain: string; // Lane to check or add: mailbox (Mail: receiving and mailbox sending), product, or broadcast. lane: "mailbox" | "product" | "broadcast"; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Legacy compatibility field; no confirmation is required. Existing email policies are preserved. root_dmarc_confirmed?: boolean; // Provider route hostname for the Product or Broadcast lane; for the lane being added, a hostname other than from_domain is refused. route_domains?: { broadcast?: string; product?: string; }; // Sending provider for the Product and Broadcast lanes: banger (default) or resend. route_providers?: { broadcast?: "banger" | "resend"; product?: "banger" | "resend"; }; }): Promise; }; ``` ## banger_prepare_email_image_upload Get a one-time link to upload an image file (PNG, JPEG, GIF or WebP, up to 2 MiB) for emails, without sending its bytes through this call. PUT the file to upload.url with upload.headers and no Banger credentials within 15 minutes, for example: curl -T hero.png -H "content-type: image/png" "". The PUT stores the image; public_url is its immutable public email URL from then on. A retried PUT to the same link returns the same image. exec tool declaration: ```ts declare const tools: { banger_prepare_email_image_upload(args: { // File name stored with the image, such as hero.png. filename: string; // Media type of the file. mime_type: "image/png" | "image/jpeg" | "image/gif" | "image/webp"; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // Exact size of the file in bytes; the upload has to match it. size_bytes: number; }): Promise; }; ``` ## banger_prepare_feedback_attachment Prepare a screenshot or video upload up to 25 MiB into private Linear storage. Returns a temporary signed upload.url and upload.headers; the file bytes are PUT to that URL with exactly those headers and no Banger credentials, from an HTTP client on the agent or server (browser uploads go through the Banger proxy). The upload is then completed to get attachment_id. status ready means the upload is already complete. exec tool declaration: ```ts declare const tools: { banger_prepare_feedback_attachment(args: { // Generate one UUID per file and reuse it on retry. attachment_id: string; // Original file name of the screenshot or video, such as checkout-error.png. filename: string; // Media type of the file: a PNG, JPEG, GIF or WebP image, or an MP4, WebM or QuickTime video. mime_type: "image/png" | "image/jpeg" | "image/gif" | "image/webp" | "video/mp4" | "video/webm" | "video/quicktime"; // Exact size of the file in bytes (up to 25 MiB); the completed upload has to match it. size_bytes: number; }): Promise; }; ``` ## banger_preview_broadcast_audience Read eligible recipient count/sample, exclusions with reasons, and missing personalization fields for existing contacts, lists, or segments. Optionally previews a saved Broadcast or design. Read-only: does not import contacts or freeze recipients. exec tool declaration: ```ts declare const tools: { banger_preview_broadcast_audience(args: { // Recipients to preview: all_subscribed, and/or contact_ids, list_ids and segment_ids of this product. Required without broadcast_id; with it, replaces the saved audience in the preview. audience?: { all_subscribed?: boolean; contact_ids?: Array; list_ids?: Array; segment_ids?: Array; }; // Saved Broadcast to preview with its own design and content, as listed with the product's Broadcasts. broadcast_id?: string; // Values for the design's content slots, keyed by slot name (each up to 20000 characters), merged over the design's saved content. Only without broadcast_id. content_overrides?: { [key: string]: string; }; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // Subject line whose personalization fields are checked, up to 10000 characters. Only without broadcast_id. subject?: string; // Saved design whose personalization fields are checked, as listed with the product's templates. Only without broadcast_id. template_id?: string; }): Promise; }; ``` ## banger_preview_broadcast_coverage Count, for each personalization field a design needs, how many contacts in an audience lack a value: the check the web runs before choosing an audience. Give the audience and a saved template_id, or the design's own subject, body_text, body_html and content. Returns required_variables, audience_count and gaps (each variable with missing_count and sample emails). Read-only. exec tool declaration: ```ts declare const tools: { banger_preview_broadcast_coverage(args: { // Recipients to check: all_subscribed, and/or contact_ids, list_ids and segment_ids of this product. audience: { all_subscribed?: boolean; contact_ids?: Array; list_ids?: Array; segment_ids?: Array; }; // HTML body whose fields are checked. body_html?: string; // Plain-text body whose fields are checked. body_text?: string; // Values for the design's content slots, keyed by slot name (each up to 20000 characters). content?: { [key: string]: string; }; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // Subject line whose fields are checked, up to 10000 characters. subject?: string; // Saved design whose fields are checked, as listed with the product's templates. template_id?: string; }): Promise; }; ``` ## banger_preview_email_design Render an unsaved email design with sample recipient values and optional audience placeholder checks. Placeholders are filled without restyling the HTML. Returns rendered subject, text, and HTML, plus font_rendering: for each font stack, the font each major mail client shows. Read-only; nothing is saved or sent. exec tool declaration: ```ts declare const tools: { banger_preview_email_design(args: { // Optional Broadcast audience: all_subscribed, list_ids, segment_ids, contact_ids. audience?: { [key: string]: unknown; }; // Complete HTML to render; may contain {{placeholders}}. body_html: string; // Plain-text version to render. body_text?: string; // Fill-in values keyed by placeholder name, for example { headline: "Meet v2" }. content?: { [key: string]: string; }; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Render for this existing contact. An unknown address returns sample_recipient_not_found; omit to use sample or audience values. sample_email?: string; // Subject line to render; may contain {{placeholders}}. subject: string; }): Promise; }; ``` ## banger_preview_journey Estimate the eligible audience and verify Journey activation readiness. Returns steps as a tree (a split keeps its arms, each with its own steps), plus emails: every email step including each split arm with its content source, subject, short text preview and blockers (for example a button without a link). Does not approve designs. exec tool declaration: ```ts declare const tools: { banger_preview_journey(args: { // Journey identifier. journey_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_preview_journey_approval Read what a person sees when reviewing a Journey activation or enrollment approval: every email rendered with sample values from the approval's bound review snapshot (not the live Journey), keyed by step position (arm steps as parent.arm.position), plus the audience lists with sizes, segments and trigger/goal connection names. Emails that cannot be drawn carry an error; unpublished managed emails are marked published=false. Read-only; does not approve. exec tool declaration: ```ts declare const tools: { banger_preview_journey_approval(args: { // Journey activation or enrollment approval identifier, as listed with the workspace's approvals. approval_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_preview_mailbox_deletion Before asking the person to confirm deletion, read the exact mailbox address, message and draft counts, dependent Broadcasts, Journeys and signup forms, and every impact statement. Explain these to the person. The preview_token binds deletion to this reviewed state. No mail is deleted by this tool. exec tool declaration: ```ts declare const tools: { banger_preview_mailbox_deletion(args: { // Mailbox to delete. mailbox_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_preview_product_deletion Read what deleting one product (a project in the Banger app) would remove: its mailboxes, sending domains, Journeys, Broadcasts, signup forms, contacts, API keys and webhooks, which product becomes the default, and every impact statement. Nothing is deleted. Agents cannot delete a product: only a signed-in person can, in Banger's Settings > General > Delete project. A deleted product stays restorable for 24 hours. last_product=true means it cannot be deleted at all. exec tool declaration: ```ts declare const tools: { banger_preview_product_deletion(args: { // Product to delete. product_id: string; }): Promise; }; ``` ## banger_preview_segment Read matching existing product contacts without importing or subscribing anyone. exec tool declaration: ```ts declare const tools: { banger_preview_segment(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // Segment identifier, as listed with the product's segments. segment_id: string; }): Promise; }; ``` ## banger_preview_signup_form Render a signup form as a complete HTML page on a sketched website, as visitors will see it, in the form or success state. Preview a saved form (form_id, optionally with unsaved kind/config changes) or unsaved settings (kind and config). Read-only. Bars ask for email and optionally a first name (config.collect_name); custom questions (config.fields) are not shown on bars. exec tool declaration: ```ts declare const tools: { banger_preview_signup_form(args: { // Form settings to preview, merged over the saved form's settings or the kind's defaults. config?: { art?: "arcs" | "blocks" | "horizon" | "confetti" | "frame" | "bands" | "dots"; body?: string; button_label?: string; collect_name?: boolean; confirm_promise?: string; count_noun?: string; delay_seconds?: number; email_placeholder?: string; exit_intent?: boolean; eyebrow?: string; fields?: Array<{ key?: string; label: string; options?: Array; placeholder?: string; required?: boolean; type?: "text" | "select" | "checkbox"; }>; fine_print?: string; frequency_days?: number; headline?: string; image?: "none" | "photo" | "art"; image_url?: string; incentive?: string; layout?: "stacked" | "split"; locale?: string; name_placeholder?: string; position?: "bottom" | "top" | "right" | "left"; redirect_url?: string; scroll_percent?: number; show_count?: boolean; show_logo?: boolean; style?: "" | "brand" | "clarity" | "editorial" | "luxe" | "material" | "playful" | "bold" | "plain"; success_body?: string; success_headline?: string; theme?: "light" | "dark" | "brand" | "auto"; }; // Saved signup form to preview, as listed with the product's signup forms. Omitted, kind and config describe an unsaved form. form_id?: string; // Form type to preview: inline, popup, bar, slide_in or page. Defaults to the saved form's kind, or inline. kind?: "inline" | "popup" | "bar" | "slide_in" | "page"; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // Screen to render: form (the default) or success (after signing up). state?: "form" | "success"; }): Promise; }; ``` ## banger_preview_template Render a design with sample or real recipient values and, when an audience is given, report which required placeholders that audience cannot fill (the same check a Broadcast review runs). Read-only. exec tool declaration: ```ts declare const tools: { banger_preview_template(args: { // Optional Broadcast audience: all_subscribed, list_ids, segment_ids, contact_ids. audience?: { [key: string]: unknown; }; // Fill-in values keyed by placeholder name, for example { headline: "Meet v2" }. content?: { [key: string]: string; }; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Render for this existing contact. An unknown address returns sample_recipient_not_found; omit to use sample or audience values. sample_email?: string; // Design (template) identifier. template_id: string; }): Promise; }; ``` ## banger_preview_triage_rule See which of the mailbox's recent threads a When would match, before saving it. Pass rule_id to preview a saved rule (including a label's auto-set), or an unsaved description / exact_conditions / has_label_ids. Read-only. exec tool declaration: ```ts declare const tools: { banger_preview_triage_rule(args: { // Plain-language condition Jev judges, e.g. "a customer reporting a bug". It is read literally; exact conditions cover senders, numbers and dates. description?: string; // Exact conditions checked in code (like Gmail filters). All fields given have to hold. exact_conditions?: { excludes_words?: Array; from?: Array; has_attachment?: boolean; has_words?: Array; subject_contains?: Array; to?: Array; }; // Matches threads that already carry all of these labels. has_label_ids?: Array; // How many recent threads to check. limit?: number; // Mailbox identifier. mailbox_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Preview a saved rule instead of an unsaved condition. rule_id?: string; }): Promise; }; ``` ## banger_propose_contact_import_mapping Map the columns of a CSV or another tool's export onto contacts, from each column's header and up to 8 distinct sample values (not the whole file). Returns, per column, a target (email, display_name, first_name, last_name, locale, time_zone, status, unsubscribed_flag, subscribed_flag, field with field_key and field_type, or ignore) with a confidence, plus review.needed and review.reasons. source is saved (this product imported the same columns before), ai, or rules. In import rows, status comes from the status column, and any unsubscribed_flag yes or subscribed_flag no makes the row unsubscribed. Locale values are BCP 47 tags (pt-BR, en). Read-only; creates no contacts. exec tool declaration: ```ts declare const tools: { banger_propose_contact_import_mapping(args: { // The file's columns, 1-100, each with its header name, up to 8 distinct sample values, and optionally filled (rows with a value) and rows (total rows). columns: Array<{ filled?: number; name: string; rows?: number; samples: Array; }>; // Name of the source file, used as context for the mapping, up to 500 characters. filename?: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_publish_layout Request human review of the exact shared layout and affected email set. Frozen broadcasts retain their existing layout. exec tool declaration: ```ts declare const tools: { banger_publish_layout(args: { // Layout version from its latest read; the change is rejected if the layout changed since. expected_version: number; // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. idempotency_key: string; // Shared layout identifier, as listed with the product's layouts. layout_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_publish_managed_content Request governed publication of the exact current source revision. Returns approval state; does not bypass human review. Automatic translations follow the saved translation review policy. exec tool declaration: ```ts declare const tools: { banger_publish_managed_content(args: { // Managed content identifier, as listed with the product's managed content or returned when it is created. content_id: string; // Managed content version from its latest read; the change is rejected if the content changed since. expected_version: number; // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. idempotency_key: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_reactivate_mailbox Resume sending for one mailbox that Banger paused for sender-reputation safety (status suspended, or a paused domain or lane it sends on). It resumes whatever pause holds the mailbox under the same rules as resuming sending: workspace admin only, 24 hours after a lane or domain pause, once per 30 days per domain, and not for a repeat pause or a frozen workspace, which need Banger review. acknowledge_recipient_complaint=true records the admin's acknowledgement and reason for the audit log. Retrying an already active mailbox is safe and returns it unchanged. exec tool declaration: ```ts declare const tools: { banger_reactivate_mailbox(args: { // True only after the person acknowledged the recipient complaint that suspended this mailbox and asked to resume sending. acknowledge_recipient_complaint: boolean; // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. idempotency_key: string; // Identifier of a suspended mailbox. mailbox_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // Why sending is being restored, in the person's words. Recorded in the audit log. reason: string; }): Promise; }; ``` ## banger_read_settings Read the settings ChatGPT shows on Banger's plugin page: email style, sending frequency and translation review for the workspace's default product. exec tool declaration: ```ts declare const tools: { banger_read_settings(args: { }): Promise; }; ``` ## banger_recommend_arms Estimate how many split arms the Journey's arrival volume can decide reliably. exec tool declaration: ```ts declare const tools: { banger_recommend_arms(args: { // Journey identifier. journey_id: string; // 1-based position of the planned split step. The estimate uses the Journey's arrivals over the last 28 days. position?: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_register_api_journey Register a keyed Journey. Managed is the default: managed_content carries source-language HTML, typed variables and samples, and Banger prepares other languages asynchronously for free. Existing code Journeys remain supported. Saving a draft sends nothing and needs no review; a Journey's first activation needs one human review of its sending setup. exec tool declaration: ```ts declare const tools: { banger_register_api_journey(args: { // Plain-text body of the Journey's email step. body_text?: string; // managed (default): Banger holds the email content and each send supplies variables and locale; code: each send supplies the complete email content. content_mode?: "code" | "managed"; // Sending lane for the Journey's email: product or broadcast. delivery_class: "product" | "broadcast"; // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. Use 16-128 characters, such as a UUID. idempotency_key: string; // Journey key that API sends use to name this Journey. key: string; // Sender mailbox. mailbox_id: string; // Source-managed email content: source-language subject and HTML with typed variables, samples, and locale settings; Banger prepares the other languages. managed_content?: { configured_locales?: Array; fallback_locale?: string; layout_id?: string; localization_policy?: { manual_review?: boolean; }; samples?: { [key: string]: { }; }; source: { body_html: string; layout?: string; preheader?: string; subject: string; variables: { [key: string]: { }; }; variants?: { [key: string]: { body_html: string; body_text?: string; layout?: string; preheader?: string; subject: string; }; }; }; source_locale?: string; translations?: { [key: string]: { [key: string]: string; }; }; }; // Journey name. name: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Subject of the Journey's email step. subject?: string; // Managed design. template_id?: string; }): Promise; }; ``` ## banger_remove_contact_list_members Remove existing product contacts from a product list by identifier; consent and suppression are preserved. Safe retries return canonical membership read-back. exec tool declaration: ```ts declare const tools: { banger_remove_contact_list_members(args: { // Identifiers of existing contacts in this product, up to 1000, as listed with the product's contacts. contact_ids: Array; // Retry key (1-256 characters): repeating the call with the same key and arguments returns the first result instead of acting twice; reusing the key with different arguments is refused. idempotency_key: string; // Contact list identifier, as listed with the product's contact lists. list_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_remove_partner Ends a partner's access to the connected workspace at once. The partner's owners are emailed; the partner can ask for access again later, and the owner answers that request like any other. Removing a partner that was already removed changes nothing. Requires the workspace owner. Returns the grant and the workspace's partners. exec tool declaration: ```ts declare const tools: { banger_remove_partner(args: { // The partner's grant_id, as listed in the workspace's partners with status active. grant_id: string; }): Promise; }; ``` ## banger_remove_thread_label Remove one label from a thread; its other labels stay. exec tool declaration: ```ts declare const tools: { banger_remove_thread_label(args: { // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. idempotency_key: string; // Label to remove. label_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Thread identifier. thread_id: string; }): Promise; }; ``` ## banger_rename_workspace Renames the connected workspace. The name is 1-80 characters after trimming and replaces any name taken from the confirmed brand; later brand changes keep it. Requires a workspace owner or admin. exec tool declaration: ```ts declare const tools: { banger_rename_workspace(args: { // The new workspace name. name: string; }): Promise; }; ``` ## banger_render_figma_images Have Figma render specific nodes of the connected file as images and return their temporary links. Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_render_figma_images(args: { // The Figma connection to read, as listed with the workspace's managed connections. connection_id: string; // Image format (default png). format?: "png" | "jpg" | "svg"; // 1-10 Figma node IDs, such as 12:34. node_ids: Array; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Image scale, 0.25-4 (default 2). scale?: number; }): Promise; }; ``` ## banger_render_journey Render a managed Journey email using the production renderer and saved samples when variables are omitted. Specify step_id for multi-email Journeys, including split branches. Returns HTML, text, locale and warnings without sending. exec tool declaration: ```ts declare const tools: { banger_render_journey(args: { // Which revision of the managed content to use: the current draft (default) or the published one. content_state?: "draft" | "published"; // Journey identifier, as listed with the product's Journeys. journey_id: string; // BCP 47 locale to render, such as pt-BR; defaults to the content's source locale. locale?: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // Name of a saved sample variable set from the content's samples; not combined with variables. Without either, the first saved sample is used. sample_set?: string; // Email step identifier within the Journey, as listed in the Journey's steps; optional when the Journey has exactly one email step. step_id?: string; // IANA time zone for date and time values, such as America/Sao_Paulo; defaults to the content's localization time zone. timezone?: string; // Variable values keyed by variable name; not combined with sample_set. variables?: { }; }): Promise; }; ``` ## banger_render_managed_content Render saved content with an explicit locale and either variables or a named sample. Uses the same renderer as sending; does not send or publish. exec tool declaration: ```ts declare const tools: { banger_render_managed_content(args: { // Managed content identifier, as listed with the product's managed content or returned when it is created. content_id: string; // BCP 47 locale to render, such as pt-BR; defaults to the content's source locale. locale?: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // Name of a saved sample variable set from the content's samples; not combined with variables. Without either, the first saved sample is used. sample_set?: string; // Source revision to render, as listed in the content's publication history; defaults to the current draft. source_revision_id?: string; // IANA time zone for date and time values, such as America/Sao_Paulo; defaults to the content's localization time zone. timezone?: string; // Variable values keyed by variable name; not combined with sample_set. variables?: { }; // Key of a variant in the content's source.variants; omit to render the base source. variant?: string; }): Promise; }; ``` ## banger_reply_email Reply in a thread, like Reply and Reply all in the Mailboxes UI. The reply goes out from the thread's mailbox, joins the thread with In-Reply-To/References set to its latest message, and takes the subject "Re: ". It goes to the latest message's Reply-To (or sender), or to that message's recipients when the mailbox sent it; reply_all adds everyone else on that message. Recipients exclude the mailbox's own addresses. In an SMS number's thread the reply is a text to the customer's number: plain text, up to 1,600 characters, no cc, bcc or html. In a WhatsApp number's thread it is a WhatsApp message: plain text, up to 4,096 characters, and only within 24 hours of the customer's last message. It goes through the same governed Mailbox send as any mailbox email. A queued execution is not proof of delivery. exec tool declaration: ```ts declare const tools: { banger_reply_email(args: { // Bcc recipients. One address or "Name ", or a list of up to 500 addresses or { email, name } objects. bcc?: string | Array; // Additional Cc recipients, added to any Cc that reply_all brings in. One address or "Name ", or a list of up to 500 addresses or { email, name } objects. cc?: string | Array; // HTML reply body. html?: string; // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. idempotency_key: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Also reply to the other To and Cc recipients of the latest message. reply_all?: boolean; // Reply-To address or addresses for the reply. One address or "Name ", or a list of up to 500 addresses or { email, name } objects. reply_to?: string | Array; // Plain-text reply body; text or html is required. text?: string; // Thread to reply in. thread_id: string; }): Promise; }; ``` ## banger_report_bug Report a problem with Banger v2: what happened and what was expected. Creates an internal Linear issue and alerts the Banger team in Slack. attachment_ids takes uploaded feedback attachments (screenshots or videos, up to 25 MiB each). submission_id is a UUID; retrying the same submission with the same submission_id does not create a duplicate. exec tool declaration: ```ts declare const tools: { banger_report_bug(args: { // Up to 5 completed feedback attachments (screenshots or videos) to include. attachment_ids?: Array; // The full report in plain words: what happened, what was expected, and any steps or context. description: string; // Unique ID for this submission; reuse on retry. submission_id: string; // One-line summary that becomes the issue title. title: string; }): Promise; }; ``` ## banger_request_contact_import Validate and queue a consent-valid bulk import, bound to exact rows/consent and a stable import identifier. Under the default policy it queues directly; saved stricter workspace policies still apply. Returns approval evidence; contacts are imported once canonical import status reports completion. exec tool declaration: ```ts declare const tools: { banger_request_contact_import(args: { // Confirms that every subscribed row's contact agreed to receive Broadcast email; subscribed rows are invalid unless this is true. consent_confirmed?: boolean; // Name of the source file, recorded with the import, 1-500 characters. filename: string; // Retry key (16-128 characters): repeating the call with the same key and arguments returns the same import approval instead of queueing the import twice. idempotency_key: string; // New UUID chosen by the caller that identifies this import and its status. import_id: string; // Contact list the imported contacts join, as listed with the product's contact lists. list_id?: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // Contacts to import, 1-5000 rows, each with email and status and optionally display_name, attributes and consent_evidence. Emails are unique within the rows. rows: Array<{ attributes?: { [key: string]: unknown; }; consent_evidence?: { observed_at?: string; reference?: string; source?: string; statement?: string; }; display_name?: string; email: string; status: "subscribed" | "unsubscribed" | "bounced" | "complained"; }>; }): Promise; }; ``` ## banger_request_domain_migration Prepare an immutable migration request in Banger's Approvals panel for a domain whose existing email DNS blocks direct setup, or for Mailboxes on a domain that already receives mail. Reads the current DNS and creates only a pending request: no domains, Mailboxes, provider configuration, or DNS changes. Takes the same root domain, lane_prefixes, and routes as sending-domain creation; mailbox_mode migrate keeps existing address spellings on the exact domain, subdomain reviews occupied lane subdomains. A signed-in administrator authorizes the request in the Banger panel; no tool and no chat consent can approve it. Banger applies the setup automatically when it is authorized. exec tool declaration: ```ts declare const tools: { banger_request_domain_migration(args: { // banger, or an existing provider key returned by discovery. broadcast_route?: string; // Company root domain, such as example.com. domain: string; // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. Use 16-128 characters, such as a UUID. idempotency_key: string; // Optional subdomain labels, one per lane, applied under the root domain. Defaults: mailbox mail, product tx, broadcast broadcast. lane_prefixes?: { broadcast?: string; mailbox?: string; product?: string; }; // subdomain puts Mailboxes on a subdomain and preserves existing domain mail. Simple setup defaults to the root if no prefix is supplied; advanced defaults to a subdomain. migrate puts Mailboxes on the exact root domain (@example.com); omit lane_prefixes.mailbox with it. mailbox_mode?: "subdomain" | "migrate"; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // banger, or an existing provider key returned by discovery. product_route?: string; // Legacy compatibility field; no confirmation is required. Existing email policies are preserved. root_dmarc_confirmed?: boolean; // simple (default, and what guided onboarding uses) provisions only mailboxes for receiving and sending, including Broadcasts and Journeys from their exact addresses. With no mailbox_mode or prefix, simple uses the root; existing email DNS blocks creation until an available subdomain is chosen or a migration is approved. Guided onboarding's choose_identity step adds provider detection and checked suggestions. advanced preserves separate sending domains. setup_mode?: "simple" | "advanced"; }): Promise; }; ``` ## banger_request_email_lane_migration Request the existing human migration review for one lane and exact hostname. No resources or DNS are changed. Only a signed-in administrator in Approvals may authorize replacement; chat consent and agent credentials cannot. exec tool declaration: ```ts declare const tools: { banger_request_email_lane_migration(args: { // Company domain, such as example.com. domain: string; // Exact hostname: example.com or a subdomain such as news.example.com. from_domain: string; // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. Use 16-128 characters, such as a UUID. idempotency_key: string; // Lane to check or add: mailbox (Mail: receiving and mailbox sending), product, or broadcast. lane: "mailbox" | "product" | "broadcast"; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Legacy compatibility field; no confirmation is required. Existing email policies are preserved. root_dmarc_confirmed?: boolean; // Provider route hostname for the Product or Broadcast lane; for the lane being added, a hostname other than from_domain is refused. route_domains?: { broadcast?: string; product?: string; }; // Sending provider for the Product and Broadcast lanes: banger (default) or resend. route_providers?: { broadcast?: "banger" | "resend"; product?: "banger" | "resend"; }; }): Promise; }; ``` ## banger_restore_content_revision Create a new draft from an earlier source revision. Does not publish or bypass review. exec tool declaration: ```ts declare const tools: { banger_restore_content_revision(args: { // Managed content identifier, as listed with the product's managed content or returned when it is created. content_id: string; // Managed content version from its latest read; the change is rejected if the content changed since. expected_version: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // Earlier source revision to copy into a new draft, as listed in the content's publication history. source_revision_id: string; }): Promise; }; ``` ## banger_restore_layout_version Copy a previous layout revision into a new draft; publishing it goes through the normal grouped review. exec tool declaration: ```ts declare const tools: { banger_restore_layout_version(args: { // Layout version from its latest read; the change is rejected if the layout changed since. expected_version: number; // Shared layout identifier, as listed with the product's layouts. layout_id: string; // Earlier layout revision to copy, as listed in the layout's version history. layout_revision_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_restore_product Bring back a product (a project in the Banger app) that a person deleted, within 24 hours of deleting it, while the product list still shows it with status "deleting" and a future delete_after. Its mailboxes, Journeys, signup forms, webhooks and integrations are switched back on; its Broadcasts stay paused until resumed, and emails that were queued when it was deleted are not resent. After delete_after it is deleted for good and cannot be restored. exec tool declaration: ```ts declare const tools: { banger_restore_product(args: { // Deleted product to restore. product_id: string; }): Promise; }; ``` ## banger_restore_thread Bring a thread back from the trash. exec tool declaration: ```ts declare const tools: { banger_restore_thread(args: { // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. idempotency_key: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Thread identifier. thread_id: string; }): Promise; }; ``` ## banger_resume_broadcast Resume a paused Broadcast. One paused before its send time goes back to waiting for that scheduled_at; one paused mid-send, or whose send time passed while paused, continues sending now to the recipients not yet sent. Returns the Broadcast read-back with status and scheduled_at. Retrying on a Broadcast already scheduled or sending returns its current state. exec tool declaration: ```ts declare const tools: { banger_resume_broadcast(args: { // Broadcast identifier, as listed with the product's Broadcasts. broadcast_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_resume_native_sending_lane Resume exactly one Mailboxes, Product, or Broadcast lane. Uses stored readiness to restore the lane and may queue provider provisioning. Resuming permits queued and future email delivery to external recipients. Other lanes are unchanged. exec tool declaration: ```ts declare const tools: { banger_resume_native_sending_lane(args: { // Banger-native sending domain identifier. domain_id: string; // Delivery lane on this domain: mailbox (Mailboxes), product, or broadcast. lane: "mailbox" | "product" | "broadcast"; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_resume_sending Resume one lane, domain or mailbox pause that Banger applied for sender-reputation safety; hold_id is the pause identifier from sending health. Workspace admin only. acknowledge_reputation_risk=true records that the admin reviewed the pause's rates and top bounce and complaint sources and fixed the cause (cleaned the list, removed unconsented recipients, secured a compromised mailbox). Allowed 24 hours after a lane or domain pause and once per 30 days per domain; a repeat pause or a frozen workspace needs Banger review and is refused. After a resume the lane sends in smaller batches for 24 hours, and held Broadcasts and Journeys continue on their own. Returns the released pause and the updated sending health. exec tool declaration: ```ts declare const tools: { banger_resume_sending(args: { // True only after the person reviewed the rates and sources, fixed the cause, and asked to resume. acknowledge_reputation_risk: boolean; // Pause identifier (hold.id) from sending health. hold_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // What was fixed, in the person's words. Recorded in the audit log. reason: string; }): Promise; }; ``` ## banger_return_journey_to_draft Return one Journey to draft so it no longer runs. exec tool declaration: ```ts declare const tools: { banger_return_journey_to_draft(args: { // Journey identifier. journey_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_review_content_translation Mark a pending translation reviewed after inspecting it, optionally supplying corrected strings. Requires the exact source revision and catalog hash from readback. Does not publish the source or overwrite ready translations. exec tool declaration: ```ts declare const tools: { banger_review_content_translation(args: { // Managed content identifier, as listed with the product's managed content or returned when it is created. content_id: string; // strings_sha256 of the pending translation, as returned when the content is read; the review is rejected if the translation changed since. expected_translation_sha256: string; // Locale of the pending translation, such as pt-BR. locale: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // Source revision the translation belongs to (the current draft or published revision), as returned when the content is read. source_revision_id: string; // Corrected message catalog for this locale, keyed by message key; when omitted, the pending strings are approved as they are. strings?: { [key: string]: string; }; }): Promise; }; ``` ## banger_revise_email_design Propose a revision of the supplied email according to an instruction, keeping the product brand and every placeholder. Returns a proposal only; nothing is saved. exec tool declaration: ```ts declare const tools: { banger_revise_email_design(args: { // Optional OpenAI or Anthropic connection. Omit to use Banger's managed model. connection_id?: string; // The email to revise: subject, body_text, body_html. current: { [key: string]: unknown; }; // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. idempotency_key: string; // What to change, in plain words, such as "make it shorter and friendlier". instruction: string; // Model name. Defaults to the connection's default model, or to Banger's managed model without a connection. model?: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Provider of connection_id; required with it. provider?: "openai" | "anthropic"; }): Promise; }; ``` ## banger_revoke_api_key Revoke an approved product API key by identifier, including an unused key whose one-time token was lost. Integrations using it immediately lose access. exec tool declaration: ```ts declare const tools: { banger_revoke_api_key(args: { // API key identifier. api_key_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_revoke_connected_agent Revoke one connected AI agent by identifier. It loses access within about 30 seconds and has to be connected again to come back. exec tool declaration: ```ts declare const tools: { banger_revoke_connected_agent(args: { // Agent connection identifier. agent_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_revoke_oauth_client Revoke one of the workspace's OAuth clients by client ID. Its secret stops working and every connection made through it loses access within about 30 seconds; the platform needs a new client to connect again. exec tool declaration: ```ts declare const tools: { banger_revoke_oauth_client(args: { // The client ID, from the workspace's list of OAuth clients. client_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_run_google_analytics_report Run one Google Analytics report for the connected property: chosen dimensions and metrics over a date range, optionally for one event or campaign. Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_run_google_analytics_report(args: { // Only this campaign. campaign_name?: string; // The Google Analytics connection to read, as listed with the workspace's managed connections. connection_id: string; // Up to 5 dimensions (default date and sessionCampaignName). dimensions?: Array<"date" | "defaultChannelGroup" | "eventName" | "firstUserCampaignName" | "firstUserMedium" | "firstUserSource" | "landingPagePlusQueryString" | "sessionCampaignName" | "sessionMedium" | "sessionSource">; // Last date, YYYY-MM-DD or today/yesterday (default today). end_date?: string; // Only this event. event_name?: string; // How many to return (1-1000, default 100). limit?: number; // Up to 10 metrics (default sessions, activeUsers and keyEvents). metrics?: Array<"activeUsers" | "engagedSessions" | "eventCount" | "ecommercePurchases" | "keyEvents" | "newUsers" | "sessions" | "totalRevenue" | "totalUsers">; // Rows to skip, for paging. offset?: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // First date, YYYY-MM-DD or a relative date such as 28daysAgo (default 28daysAgo). start_date?: string; }): Promise; }; ``` ## banger_run_snowflake_query Run one query approved for the connected Snowflake account and return its rows. Only approved, read-only queries run. Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_run_snowflake_query(args: { // The Snowflake connection to read, as listed with the workspace's managed connections. connection_id: string; // Rows to return, up to the query's own limit. limit?: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // The approved query's id. query_id: string; }): Promise; }; ``` ## banger_run_triage_on_past_mail Run the mailbox's Triage rules (or rule_ids) on threads from the last 1-90 days. Applies labels only unless include_other_actions is true (then archive/read/star too). exec tool declaration: ```ts declare const tools: { banger_run_triage_on_past_mail(args: { // How many days back to include threads by their last message, 1-90. Defaults to 30. days?: number; // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. idempotency_key: string; // Also archive, mark read and star, not only apply labels. Defaults to false. include_other_actions?: boolean; // Mailbox identifier. mailbox_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Only these Triage rules (default: all enabled). rule_ids?: Array; }): Promise; }; ``` ## banger_save_broadcast_variants Replace a draft Broadcast's emails with one to four complete versions, as the web saves an A/B design test or an email with automatic translation. With two or more versions the Broadcast sends each to an equal share of its audience. Also saves its name, mailbox_id and audience. Only an unsent draft can change; a Broadcast with managed content needs automatic_translation=true. exec tool declaration: ```ts declare const tools: { banger_save_broadcast_variants(args: { // Recipients: all_subscribed for every subscribed contact, and/or contact_ids, list_ids and segment_ids of this product. Unsubscribed and suppressed contacts are excluded. audience: { all_subscribed?: boolean; contact_ids?: Array; list_ids?: Array; segment_ids?: Array; }; // Translate the email into each recipient's language automatically. automatic_translation?: boolean; // Broadcast identifier, as listed with the product's Broadcasts. broadcast_id: string; // Retry key (1-256 characters): repeating the call with the same key and arguments returns the first result instead of acting twice; reusing the key with different arguments is refused. idempotency_key: string; // Mailbox that sends the Broadcast, as listed with the workspace's mailboxes. mailbox_id?: string; // Broadcast name, 1-200 characters. name: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // One to four complete emails, each with body_html and optionally subject, body_text and content slot values; may contain {{placeholders}}. variants: Array<{ body_html: string; body_text?: string; content?: { [key: string]: string; }; subject?: string; }>; }): Promise; }; ``` ## banger_schedule_broadcast Submit the exact saved Broadcast and design versions and recipient selection for sending at scheduled_at. Banger freezes eligible recipients and binds their snapshot to the approval. Requires an idempotency key; retries return the same approval/execution identifiers. Under the default policy the schedule executes directly; saved stricter policies may require human review in Approvals. Broadcasts send on the Broadcast lane, not as Product email. Until the product's domain is verified, Broadcasts go only to its Test list, from Banger's fixed sender. Sending readiness and stricter saved workspace policies are enforced. exec tool declaration: ```ts declare const tools: { banger_schedule_broadcast(args: { // Broadcast identifier, as listed with the product's Broadcasts. broadcast_id: string; // The design's current version, as returned when the Broadcast is checked for readiness (design_version); the call is refused if the design changed since. expected_design_version: number; // The Broadcast's current version, as returned when it is read (version) or checked for readiness (campaign_version); the call is refused if the Broadcast changed since. expected_version: number; // Retry key (16-128 characters): repeating the call with the same key and arguments returns the same approval and execution identifiers instead of submitting again. idempotency_key: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // The Broadcast's saved audience (all_subscribed, contact_ids, list_ids, segment_ids), restated; refused if it differs from the saved audience. recipient_selection: { all_subscribed?: boolean; contact_ids?: Array; list_ids?: Array; segment_ids?: Array; }; // Future send time, as an ISO 8601 date-time. scheduled_at: string; }): Promise; }; ``` ## banger_search_mail Search mail server-side across all mailboxes in the workspace, or within one mailbox. sender_unverified = true marks a thread whose latest sender passed neither SPF nor DKIM, so its From address may be forged. exec tool declaration: ```ts declare const tools: { banger_search_mail(args: { // Pagination cursor: page.next_cursor from the previous response. Omit for the first page. cursor?: string; // Page size (1-100, default 50). limit?: number; // Optional mailbox filter. mailbox_id?: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Search text matched against the workspace's mail. query: string; }): Promise; }; ``` ## banger_search_notion Search the pages the connected Notion integration can see. Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_search_notion(args: { // The Notion connection to read, as listed with the workspace's managed connections. connection_id: string; // How many to return (1-100, default 50). limit?: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Search text. query?: string; // Paging cursor from the previous page. start_cursor?: string; }): Promise; }; ``` ## banger_search_slack_messages Search messages in the connected Slack workspace. Runs only when the connection grants this credential the read. exec tool declaration: ```ts declare const tools: { banger_search_slack_messages(args: { // The Slack connection to read, as listed with the workspace's managed connections. connection_id: string; // Paging cursor from the previous page. cursor?: string; // How many to return (1-100, default 50). limit?: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Slack search query. query: string; }): Promise; }; ``` ## banger_send_broadcast Submit the exact saved Broadcast and design versions and recipient selection for sending now. Banger freezes eligible recipients and binds their snapshot to the approval. Requires an idempotency key; retries return the same approval/execution identifiers. Under the default policy the send executes directly; saved stricter policies may require human review in Approvals. Broadcasts send on the Broadcast lane, not as Product email. Until the product's domain is verified, Broadcasts go only to its Test list, from Banger's fixed sender. Sending readiness and stricter saved workspace policies are enforced. exec tool declaration: ```ts declare const tools: { banger_send_broadcast(args: { // Broadcast identifier, as listed with the product's Broadcasts. broadcast_id: string; // The design's current version, as returned when the Broadcast is checked for readiness (design_version); the call is refused if the design changed since. expected_design_version: number; // The Broadcast's current version, as returned when it is read (version) or checked for readiness (campaign_version); the call is refused if the Broadcast changed since. expected_version: number; // Retry key (16-128 characters): repeating the call with the same key and arguments returns the same approval and execution identifiers instead of submitting again. idempotency_key: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // The Broadcast's saved audience (all_subscribed, contact_ids, list_ids, segment_ids), restated; refused if it differs from the saved audience. recipient_selection: { all_subscribed?: boolean; contact_ids?: Array; list_ids?: Array; segment_ids?: Array; }; }): Promise; }; ``` ## banger_send_broadcast_test Send one test copy of a draft Broadcast to any address, as the web's Send a test does. Suppressed addresses cannot receive tests, and tests to addresses that are not you, a product mailbox or a subscribed contact are limited to 10 an hour and 30 a day per workspace. data_mode fills personalization with sample data, fallback text, or a contact's own data (contact_email, defaulting to to; without data_mode, an address that is not a contact gets sample data). variant_key picks one version of an A/B design test. The test is not a send to the audience and changes nothing on the Broadcast. exec tool declaration: ```ts declare const tools: { banger_send_broadcast_test(args: { // Broadcast identifier, as listed with the product's Broadcasts. broadcast_id: string; // Contact whose data fills the fields when data_mode is contact; defaults to to. contact_email?: string; // How personalization fields are filled: sample data, fallback text, or a contact's data. Defaults to contact, or sample data when to is not a contact. data_mode?: "sample" | "fallback" | "contact"; // Retry key (1-256 characters): repeating the call with the same key and arguments returns the first result instead of acting twice; reusing the key with different arguments is refused. idempotency_key: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // Where the test goes: any address that has not unsubscribed or bounced. to: string; // Version of an A/B design test to send, such as a or b. variant_key?: string; }): Promise; }; ``` ## banger_send_daily_summary_now Sends the person yesterday's daily summary for this product now, to their own sign-in address, even on a quiet day and even when the morning email is off. The morning email still goes as usual. Returns the outcome, the address it went to and the day it covers. exec tool declaration: ```ts declare const tools: { banger_send_daily_summary_now(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_send_email Send through the selected mailbox, using its exact address and the same draft-send delivery path as Mailboxes in the UI. mailbox_id identifies the actual mailbox, not a Product-lane sender; Banger does not move it onto tx.*. Sending readiness, suppression, allowances, and explicitly saved stricter review policies are enforced. Until the product's domain is verified, sends reach only its Test list. A queued execution is not proof of delivery. exec tool declaration: ```ts declare const tools: { banger_send_email(args: { // Bcc recipients. One address or "Name ", or a list of up to 500 addresses or { email, name } objects. bcc?: string | Array; // Cc recipients. One address or "Name ", or a list of up to 500 addresses or { email, name } objects. cc?: string | Array; // Fill-in values keyed by placeholder name, for example { headline: "Meet v2" }. content?: { [key: string]: string; }; // Extra email headers as name/value pairs. Headers that set the sender, recipients, subject, dates, message IDs or MIME structure are refused. headers?: { [key: string]: string; }; // HTML body. html?: string; // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. Use 16-128 characters, such as a UUID. idempotency_key: string; // Actual Banger mailbox to send through, using its exact address. mailbox_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Reply-To address or addresses that replies go to. One address or "Name ", or a list of up to 500 addresses or { email, name } objects. reply_to: string | Array; // Subject line. subject?: string; // Name/value tags stored with the send and passed to the delivery provider; up to 49, as Banger adds one correlation tag. tags?: Array<{ name: string; value: string; }>; // Optional saved design to render instead of text/html; Banger fills its content and the product brand. template_id?: string; // Plain-text body. text?: string; // Recipients. One address or "Name ", or a list of up to 500 addresses or { email, name } objects. to: string | Array; }): Promise; }; ``` ## banger_send_event Send one custom event, such as signup or trial_started, into the product's Journeys, as POST /events does. The event arrives on the product's Banger API events source, created on first use, or on connection_id, an active incoming webhook of the same product. Active Journeys whose trigger names that event and connection enroll the person at email, or their configured audience when set to; Journeys whose goal names it stop that person's runs. It can start already-approved Journeys, which send email; it creates no Journey and changes no approval. event_id identifies the event: repeating it with the same event returns duplicate=true and does nothing more, and reusing it for a different event fails. Returns the connection_id and the counts of enrollments created, runs stopped, and matching Journeys that could not use the event (sequence_matches_ignored), such as one that needs an email the event lacks. A Journey whose emails need a field the person lacks, or a link that is not an https:// address, does not enroll them: it is listed in sequence_enrollments_rejected with each field and why. When that is all the event did, it fails with journey_trigger_data_invalid and is not used, and the same event_id can be sent again with corrected data. exec tool declaration: ```ts declare const tools: { banger_send_event(args: { // Up to 50 values Journey conditions and email content can read; text values hold at most 500 characters. attributes?: { [key: string]: string | number | boolean; }; // An active incoming webhook connection of this product, as listed with the workspace's webhooks. Defaults to the Banger API events source. connection_id?: string; // The person the event is about. email?: string; // Stable identifier of this event in the calling system; sent as the Idempotency-Key. event_id: string; // The person's display name. name?: string; // When the event happened. Defaults to when Banger receives it. occurred_at?: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // Event name that Journey triggers and goals match, such as signup. type: string; }): Promise; }; ``` ## banger_set_member_role Sets another workspace member's role to admin, member or viewer. Admins hold workspace administration (invite people, rename the workspace, connect providers, create API keys), though only the owner can delete the workspace; members read and send mail and work with contacts and campaigns; viewers only read. Requires a workspace owner or admin acting through a person's authorization, not a standalone API key. Nobody can change their own role, and the owner's role cannot be changed. The result returns the member with role and previousRole; setting the role a member already has changes nothing. exec tool declaration: ```ts declare const tools: { banger_set_member_role(args: { // The member's id, as listed in the workspace's members. member_id: string; // The member's new role. role: "admin" | "member" | "viewer"; }): Promise; }; ``` ## banger_set_product_setup Mark one product setup item todo, in progress, complete, or not relevant. The item records confirmed facts. exec tool declaration: ```ts declare const tools: { banger_set_product_setup(args: { // Setup item to update. item: "context" | "domain" | "mailboxes" | "journeys" | "broadcasts" | "compliance"; // Optional note recorded with the item, such as the confirmed fact behind the status. note?: string; // Product identifier. product_id: string; // New progress state of the item. status: "todo" | "in_progress" | "complete" | "not_relevant"; }): Promise; }; ``` ## banger_set_spending_limit Sets the most Premium's usage charges (emails and storage past what Premium includes) can add in a month, in the workspace's billing currency (the billing read's usagePricing.currency). The workspace's owners and admins are emailed at 80% and at 100% of it. At the limit, sending stops and storage and Triage stop growing until the next billing period or a higher limit; a higher limit applies at once (for a workspace Shopify bills, a limit above Shopify's cap returns approvalUrl, where the merchant approves it in Shopify; it applies once approved). 0 turns usage charges off; null restores the default. Needs an active Premium subscription. Requires workspace admin. exec tool declaration: ```ts declare const tools: { banger_set_spending_limit(args: { // The monthly limit in whole units of the billing currency (for example 50 for $50), 0 for no usage charges, or null for the default. amount: number | null; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_set_thread_work_status Set a thread's status in the shared Work queue, replacing its current status. exec tool declaration: ```ts declare const tools: { banger_set_thread_work_status(args: { // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. idempotency_key: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // New Work status. status: "open" | "waiting" | "done"; // Thread identifier. thread_id: string; }): Promise; }; ``` ## banger_set_triage_rule_status Enable or pause a Triage rule. Pausing keeps its condition and history. exec tool declaration: ```ts declare const tools: { banger_set_triage_rule_status(args: { // true turns the rule on; false pauses it. enabled: boolean; // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. idempotency_key: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Triage rule identifier. rule_id: string; }): Promise; }; ``` ## banger_set_webhook_status Disable a webhook (status=disabled) or turn a disabled or failing one back on (status=active), as the Webhooks page does. Disabling keeps the webhook, its name and its history. Disabling an incoming webhook also disables its connection, so Journeys triggered by it stop receiving events until it is re-enabled; disabling an outbound one stops deliveries. Returns the webhook read-back; retrying when it already has that status returns its current state. exec tool declaration: ```ts declare const tools: { banger_set_webhook_status(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // active turns the webhook on; disabled turns it off and keeps it. status: "active" | "disabled"; // Webhook identifier, as listed with the workspace's webhooks. webhook_id: string; }): Promise; }; ``` ## banger_show_email_preview Show the actual saved template, Broadcast or Journey email inside the MCP conversation (MCP Apps hosts). The result carries the subject, the email text and view_in_banger_url, which opens the saved email in the Banger web app; the rendered HTML goes only to the preview. An unreviewed managed Broadcast draft previews its current saved revision before publication; reviewed Broadcasts retain their pinned revision and frozen translations. revision_status identifies draft or published content. locale and variant_key select the locale and experiment version. For a Journey, step_id selects the email step, by its id in the saved Journey; defaults to the first email. Nothing is published, sent or activated. exec tool declaration: ```ts declare const tools: { banger_show_email_preview(args: { // Alternative to step_id: the key of an email in this tool's items. email_key?: string; // Optional BCP 47 locale for a managed Broadcast preview, such as pt-BR. locale?: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // Saved email design, Broadcast or Journey ID. resource_id: string; // Kind of saved email resource_id refers to: a design (template), a Broadcast, or a Journey. resource_kind: "template" | "broadcast" | "journey"; // Journey email step to show, by its id in the saved Journey (steps[].id; emails[].step_id in a Journey preview). Defaults to the first email. step_id?: string; // Optional managed Broadcast experiment key, such as a or b. variant_key?: string; }): Promise; }; ``` ## banger_simulate_communication_policy Read-only scheduling simulation for fixed Journey and broadcast send requests to one recipient. Does not send, reserve slots or move dependent Journey steps. exec tool declaration: ```ts declare const tools: { banger_simulate_communication_policy(args: { // ISO 8601 times of prior or reserved sends to the recipient, counted against caps and spacing. history?: Array; // Policy to simulate instead of the product's saved policy; defaults to the saved policy. policy?: { caps?: Array<{ count: number; windowSeconds: number; }>; conflict: "defer" | "discard"; minimumIntervalSeconds?: number; window?: { end: string; start: string; timeZone: string; weekdays?: Array; }; }; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // Send requests to schedule for one recipient (up to 1000), each with a unique id, source_kind, requested time and category. requests: Array<{ at: string; category: "urgent" | "product" | "promotional"; deliveryBlocked?: boolean; expiresAt?: string; id: string; source_kind: "journey" | "broadcast"; }>; }): Promise; }; ``` ## banger_star_thread Star a thread, or remove the star with starred=false. exec tool declaration: ```ts declare const tools: { banger_star_thread(args: { // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. idempotency_key: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // true stars it (default); false removes the star. starred?: boolean; // Thread identifier. thread_id: string; }): Promise; }; ``` ## banger_start_domain_activation_proof For a domain whose required DNS records Banger reports verified, create hello@ and start real Product and Broadcast messages that are received back in the Banger mailbox. exec tool declaration: ```ts declare const tools: { banger_start_domain_activation_proof(args: { // Verified Banger sending-domain identifier. native_domain_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_start_mailchimp_migration Start moving a connected Mailchimp account into this product (connecting Mailchimp already starts it; this starts it again or picks another connection). In the background, each audience becomes a contact list with its members (only members subscribed in Mailchimp arrive subscribed; unsubscribed, pending and transactional members arrive unsubscribed, and cleaned addresses arrive bounced and suppressed); merge fields become contact fields and tags a Tags field; segments and tags become segments, or static lists of their current members when their conditions have no Banger equivalent; user templates and the most recent sent campaigns become designs. Nothing is sent. Mailchimp automations and Customer Journeys can't be read through Mailchimp's API, so they are not imported; the report lists them as needing a rebuild. Starting again re-syncs, adds what is new and refreshes the designs it made, except ones edited in Banger since. Returns the move's progress report. exec tool declaration: ```ts declare const tools: { banger_start_mailchimp_migration(args: { // The Mailchimp connection to move from, as listed with the workspace's managed connections. Defaults to the product's only Mailchimp connection. connection_id?: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // How many of the most recent sent campaigns to copy as designs (0-50, default 10). recent_campaigns?: number; }): Promise; }; ``` ## banger_start_upgrade Returns a Stripe link where a person subscribes the workspace to Premium (Checkout for a new subscription, or the billing portal when one is active). Premium includes 100,000 emails, 50 GB and 5,000 Triage checks a month; past that it pays per use for emails and storage, up to the workspace's monthly spending limit; Triage stops at what Premium includes. Payment happens on Stripe's page; this tool charges nothing. A workspace Shopify bills (billing.provider is shopify) gets Shopify's approval page instead (kind shopify_approval), monthly only. A workspace switching from Mailchimp gets one month free on a yearly plan, applied on the link: the result's discount states the first invoice, and switchOffer on a monthly link states what yearly would save. Requires workspace admin. exec tool declaration: ```ts declare const tools: { banger_start_upgrade(args: { // Defaults to year. Yearly is the headline price and costs about 17% less than paying monthly. interval?: "month" | "year"; // The paid plan: premium. plan_key?: "premium"; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_stop_experiment Stops a running experiment without a winner. A sampled Broadcast sends its remainder with the first arm. exec tool declaration: ```ts declare const tools: { banger_stop_experiment(args: { // Experiment identifier. experiment_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_submit_feedback Send feedback about Banger v2. Creates an internal Linear issue and alerts the Banger team in Slack. attachment_ids takes uploaded feedback attachments (screenshots or videos, up to 25 MiB each). submission_id is a UUID; retrying the same submission with the same submission_id does not create a duplicate. exec tool declaration: ```ts declare const tools: { banger_submit_feedback(args: { // Up to 5 completed feedback attachments (screenshots or videos) to include. attachment_ids?: Array; // The full report in plain words: what happened, what was expected, and any steps or context. description: string; // Unique ID for this submission; reuse on retry. submission_id: string; // One-line summary that becomes the issue title. title: string; }): Promise; }; ``` ## banger_suggest_feature Suggest a feature for Banger v2. Creates an internal Linear issue and alerts the Banger team in Slack. attachment_ids takes uploaded feedback attachments (screenshots or videos, up to 25 MiB each). submission_id is a UUID; retrying the same submission with the same submission_id does not create a duplicate. exec tool declaration: ```ts declare const tools: { banger_suggest_feature(args: { // Up to 5 completed feedback attachments (screenshots or videos) to include. attachment_ids?: Array; // The full report in plain words: what happened, what was expected, and any steps or context. description: string; // Unique ID for this submission; reuse on retry. submission_id: string; // One-line summary that becomes the issue title. title: string; }): Promise; }; ``` ## banger_suggest_recipients Addresses the workspace's mailboxes have sent mail to (To, Cc and Bcc of Sent mail), most written-to first, with the name each was last sent to. It completes the To, Cc and Bcc of a new email. Broadcasts, Journeys, product email and Outreach are not included. query matches the start of the address, its domain, or any word of the name; omit it for the most written-to addresses. exec tool declaration: ```ts declare const tools: { banger_suggest_recipients(args: { // How many addresses to return (1-50, default 8). limit?: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Start of an address, a domain or a name, such as "ana" or "acme.com". query?: string; }): Promise; }; ``` ## banger_suppress_address Suppress one address in this workspace. manual (the default) blocks all mail; unsubscribe blocks marketing Broadcasts and Journeys while allowing transactional API and SMTP mail. Existing all-mail suppressions cannot be weakened by an unsubscribe. Lifting a suppression is done by a person in the Banger web app. exec tool declaration: ```ts declare const tools: { banger_suppress_address(args: { // Email address to suppress, up to 320 characters. email: string; // Request key (1-256 characters). Suppressing an address that is already suppressed keeps one suppression, so repeating the call is harmless. idempotency_key: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // manual (the default) blocks all mail; unsubscribe opts out of marketing. reason?: "manual" | "unsubscribe"; }): Promise; }; ``` ## banger_test_webhook Queue one test event to an active outbound webhook endpoint, the same test the Webhooks page sends, to check that the endpoint receives and verifies Banger events. Returns the queued delivery; its result appears in the webhook list. Incoming webhooks are tested by sending a request to their own URL instead. Each call sends another test event. exec tool declaration: ```ts declare const tools: { banger_test_webhook(args: { // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // Outbound webhook identifier, as listed with the workspace's webhooks. webhook_id: string; }): Promise; }; ``` ## banger_trash_thread Move a thread to the trash, where it is deleted after a while unless restored. exec tool declaration: ```ts declare const tools: { banger_trash_thread(args: { // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. idempotency_key: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Thread identifier. thread_id: string; }): Promise; }; ``` ## banger_undo_triage_action Reverse one Triage action (remove the label, unarchive, mark unread, or unstar). By default also teach its rule that this email is not a match; set teach_rule to false for ordinary undo. exec tool declaration: ```ts declare const tools: { banger_undo_triage_action(args: { // Triage action identifier, from the Triage action list or a thread's triage_actions. action_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Also teach the rule that this email is not a match. Defaults to true. False only reverses the action. teach_rule?: boolean; }): Promise; }; ``` ## banger_unsubscribe_contact Unsubscribe one contact address from marketing, as if the person had used the unsubscribe link: Broadcasts skip it and Journeys stop it at their next step, while transactional API and SMTP mail and replies still reach it. contact_id is a contact's id, or the id of one of its addresses. Bounced or complained addresses are left as they are. Resubscribing needs the person's consent, given in the Banger web app. exec tool declaration: ```ts declare const tools: { banger_unsubscribe_contact(args: { // Contact or address identifier, as listed with the product's contacts. contact_id: string; // Request key (1-256 characters). Unsubscribing an address that is already unsubscribed changes nothing, so repeating the call is harmless. idempotency_key: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_update_brand_footer Partially update the canonical product brand/footer, preserving unrelated fields and synchronizing compliance readiness. Empty string clears a supplied field. Requires a retry key and returns canonical brand read-back. exec tool declaration: ```ts declare const tools: { banger_update_brand_footer(args: { // Brand and footer fields to change (company name, logo and wordmark URLs, website, colors, fonts, tone, footer postal address), each up to 2000 characters. Omitted fields are kept; an empty string clears a field. brand: { accent_color?: string; background_color?: string; body_font_family?: string; company_name?: string; footer_address?: string; heading_font_family?: string; logo_url?: string; muted_text_color?: string; primary_color?: string; surface_color?: string; text_color?: string; tone?: string; website_url?: string; wordmark_url?: string; }; // Retry key (1-256 characters): repeating the call with the same key and arguments returns the first result instead of acting twice; reusing the key with different arguments is refused. idempotency_key: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_update_broadcast Partially update a draft Broadcast while preserving omitted fields. Requires its expected version and a retry key. Editing clears previous recipient snapshots, so a send reviews the new version. To give the Broadcast its own layout instead of a saved design, send subject, body_html and body_text (not with template_id): they become the Broadcast's own message, which stays out of the design list; content_overrides still fill its placeholders. Saving a draft sends nothing and needs no review; a Journey's first activation needs one human review of its sending setup. exec tool declaration: ```ts declare const tools: { banger_update_broadcast(args: { // Recipients: all_subscribed for every subscribed contact, and/or contact_ids, list_ids and segment_ids of this product. Unsubscribed and suppressed contacts are excluded. audience?: { all_subscribed?: boolean; contact_ids?: Array; list_ids?: Array; segment_ids?: Array; }; // The Broadcast's own complete HTML, when it has its own layout; may contain {{placeholders}}. body_html?: string; // The Broadcast's own plain-text version, when it has its own layout. body_text?: string; // Broadcast identifier, as listed with the product's Broadcasts. broadcast_id: string; // Values for the design's content slots, keyed by slot name (each up to 20000 characters), merged over the design's saved content. content_overrides?: { [key: string]: string; }; // Broadcast version the update is based on, as returned when the Broadcast is read; the update is refused if the Broadcast changed since. expected_version: number; // How long after its send time the Broadcast may still go out, in seconds (1-604800); defaults to 604800 (7 days). expires_after_seconds?: number; // Lowercase part before the @ on the product's sending address, such as "hello". Empty uses the mailbox's own local part. Not used when send_as is mailbox. from_local_part?: string; // Sender name recipients see beside the From address, such as "Ines from Acme". Empty uses the mailbox's display name, then the company name. from_name?: string; // Retry key (1-256 characters): repeating the call with the same key and arguments returns the first result instead of acting twice; reusing the key with different arguments is refused. idempotency_key: string; // Mailbox that sends the Broadcast (sender and reply address), as listed with the workspace's mailboxes. Omitted on create, the product's default sender is used; omitted on update, the current mailbox is kept. mailbox_id?: string; // Not applied on update; managed_content_id points the Broadcast at existing managed content. managed_content?: { configured_locales?: Array; fallback_locale?: string; layout_id?: string; localization_policy?: { manual_review?: boolean; }; samples?: { [key: string]: { }; }; source: { body_html: string; layout?: string; preheader?: string; subject: string; variables: { [key: string]: { }; }; variants?: { [key: string]: { body_html: string; body_text?: string; layout?: string; preheader?: string; subject: string; }; }; }; source_locale?: string; translations?: { [key: string]: { [key: string]: string; }; }; }; // Existing managed content to send, as listed with the product's managed content. Cannot be combined with template_id. managed_content_id?: string; // Broadcast name, 1-200 characters. name?: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // Not applied on update. sample_name?: string; // Zero-based index into subject_variants of the subject line sent. selected_subject_variant?: number; // Which address it leaves from. lane (the default): the product's sending address, such as tiago@tx.example.com. mailbox: the mailbox's own address, such as tiago@team.example.com, for a personal note from a person. Sending as the mailbox requires its domain to be verified for sending. Where the product has no separate sending address, both leave from the mailbox. send_as?: "lane" | "mailbox"; // The Broadcast's own subject line, when it has its own layout; may contain {{placeholders}}. subject?: string; // Up to 8 subject lines, each up to 998 characters; selected_subject_variant picks the one sent. subject_variants?: Array; // Saved design to send, as listed with the product's templates. Cannot be combined with managed content. template_id?: string; }): Promise; }; ``` ## banger_update_communication_policy Update shared recipient caps, spacing and delivery window with optimistic concurrency. Urgent messages bypass frequency caps but cannot bypass delivery suppression or expiry. exec tool declaration: ```ts declare const tools: { banger_update_communication_policy(args: { // The policy's current version, as returned when the policy is read; the update is rejected if the policy changed since. expected_version: number; // Complete replacement policy: conflict handling (defer or discard), minimum spacing, frequency caps and delivery window. policy: { caps?: Array<{ count: number; windowSeconds: number; }>; conflict: "defer" | "discard"; minimumIntervalSeconds?: number; window?: { end: string; start: string; timeZone: string; weekdays?: Array; }; }; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_update_contact_attributes Merge attributes into an existing product contact without changing email, name, subscription status, consent, suppression or source history. Does not create contacts or subscribe anyone. Omitted attributes are preserved; explicit false is stored; null removes a field. Values use the product's contact field types. Supply only facts verified by the source product; missing data is not false. A stable idempotency key prevents an old retry from overwriting newer data. exec tool declaration: ```ts declare const tools: { banger_update_contact_attributes(args: { // Attribute values to merge, keyed by contact field key (as listed with the product's contact fields). Omitted keys are kept, false is stored, null removes a key. At most 64000 characters as JSON. attributes: { [key: string]: unknown; }; // Contact identifier, as listed with the product's contacts. contact_id: string; // Retry key (1-256 characters): repeating the call with the same key and arguments returns the first result instead of acting twice; reusing the key with different arguments is refused. idempotency_key: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_update_contact_field Rename, describe, retype, change the choices of, or hide a contact field. Retyping converts every stored value and is refused, with an example contact, if any value doesn't fit. Built-in fields (first_name, last_name, locale, time_zone) can't change. exec tool declaration: ```ts declare const tools: { banger_update_contact_field(args: { // What the field means, up to 500 characters. description?: string; // Key of the field to change, as listed with the product's contact fields. field_key: string; // Request key (1-256 characters), sent as the request's Idempotency-Key header. idempotency_key: string; // New human-readable name, 1-80 characters. label?: string; // Allowed options of a choice or choices field, up to 50, each up to 80 characters. options?: Array; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // active, or hidden to hide the field. status?: "active" | "hidden"; // New value type (text, number, boolean, date, choice or choices); stored values are converted, and the change is refused if any value does not fit. type?: "text" | "number" | "boolean" | "date" | "choice" | "choices"; }): Promise; }; ``` ## banger_update_content_settings Set localization defaults using expected_version (0 to initialize). Automatic translation is free; manual translation review is off by default. exec tool declaration: ```ts declare const tools: { banger_update_content_settings(args: { // BCP 47 locales the product's email is translated into and delivered in. configured_locales: Array; // The settings' current version, as returned when the settings are read, or 0 when no settings have been saved yet; the update is rejected if the settings changed since. expected_version: number; // Locales tried in order when a recipient's locale has no ready translation. fallback_chain: Array; // Source terms mapped to the target term translations use for them, such as product names. glossary: { [key: string]: string; }; // Whether automatic translations wait for a person's review before they are used. manual_translation_review: boolean; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // BCP 47 locale the product's email is written in, such as en. source_locale: string; // Default IANA time zone for rendering dates and times, such as Europe/Lisbon. timezone: string; }): Promise; }; ``` ## banger_update_daily_summary Changes the person's daily summary email for this product. Only the fields given change. enabled false turns it off. send_hour is the local hour (0-23) it goes out at; time_zone is an IANA zone such as Europe/Lisbon, or null to follow the person's browser. excluded_labels leaves those labels out of the email. Returns the settings after the change. exec tool declaration: ```ts declare const tools: { banger_update_daily_summary(args: { // False turns the daily summary off. enabled?: boolean; // Label names to leave out. Replaces the whole list. excluded_labels?: Array; // Include mail without a label. include_unlabeled?: boolean; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Local hour it goes out at. send_hour?: number; // IANA time zone, or null to follow the browser. time_zone?: string | null; // Send Monday to Friday only. weekdays_only?: boolean; }): Promise; }; ``` ## banger_update_journey Save changes to one Journey definition, without activating it or enrolling contacts. Material changes invalidate its sending review. journey carries only the fields to change; omitted fields and steps are preserved. expected_version rejects concurrent changes. Replacing steps takes their complete tree; existing IDs and monitored wait behavior are kept when supplied. trigger, goal, exit and api merge into the saved values; journey.trigger.connection_id set to a webhook's connection_id starts the Journey from that webhook. Each person enters once unless journey.trigger.config.once_per_person is false (then they may re-enter after they finish, after journey.trigger.config.reentry_days if set). Saving a draft sends nothing and needs no review; a Journey's first activation needs one human review of its sending setup. exec tool declaration: ```ts declare const tools: { banger_update_journey(args: { // Partial definition update only. Omitted fields are preserved; supplied steps replace the complete tree. Status and enrollment use separate tools. journey: { api?: { content_mode?: "code" | "managed"; identity?: string; key?: string; }; approval_mode?: "policy" | "required"; audience?: { all_subscribed?: boolean; contact_ids?: Array; list_ids?: Array; segment_ids?: Array; }; description?: string; exit?: { event?: string; on_reply?: boolean; on_suppression?: boolean; on_unsubscribe?: boolean; }; expected_version?: number; from_local_part?: string; goal?: { config?: { event?: string; }; connection_id?: string; kind?: "none" | "event" | "reply" | "conversion"; }; mailbox_id?: string; name?: string; steps?: Array<{ config: { body_html?: string; body_text?: string; content_overrides?: { [key: string]: string; }; delivery_class: "product" | "broadcast"; expires_after_seconds?: number; from_local_part?: string; from_name?: string; mailbox_id?: string; managed_content?: { configured_locales?: Array; fallback_locale?: string; layout_id?: string; localization_policy?: { manual_review?: boolean; }; samples?: { [key: string]: { }; }; source: { body_html: string; layout?: string; preheader?: string; subject: string; variables: { [key: string]: { }; }; variants?: { [key: string]: { body_html: string; body_text?: string; layout?: string; preheader?: string; subject: string; }; }; }; source_locale?: string; translations?: { [key: string]: { [key: string]: string; }; }; }; managed_content_id?: string; managed_source_revision_id?: string; managed_variant_key?: string; product_message_type?: string; send_as?: "lane" | "mailbox"; subject?: string; template_id?: string; }; id?: string; kind: "email"; name: string; position?: number; } | { config: { amount: number; on_met?: "continue" | "end_journey"; unit: "minutes" | "hours" | "days"; until?: { name: string; operator: "equals" | "not_equals" | "contains" | "exists"; path: string; value?: string | number | boolean; }; }; id?: string; kind: "wait"; name: string; position?: number; } | { config: { operator: "equals" | "not_equals" | "exists" | "not_exists" | "contains"; path: string; value?: string | number | boolean; }; id?: string; kind: "condition"; name: string; position?: number; } | { arms: Array<{ allocation: number; key: "A" | "B" | "C" | "D"; label?: string; steps: Array<{ config: { body_html?: string; body_text?: string; content_overrides?: { [key: string]: string; }; delivery_class: "product" | "broadcast"; expires_after_seconds?: number; from_local_part?: string; from_name?: string; mailbox_id?: string; managed_content?: { configured_locales?: Array; fallback_locale?: string; layout_id?: string; localization_policy?: { manual_review?: boolean; }; samples?: { [key: string]: { }; }; source: { body_html: string; layout?: string; preheader?: string; subject: string; variables: { [key: string]: { }; }; variants?: { [key: string]: { body_html: string; body_text?: string; layout?: string; preheader?: string; subject: string; }; }; }; source_locale?: string; translations?: { [key: string]: { [key: string]: string; }; }; }; managed_content_id?: string; managed_source_revision_id?: string; managed_variant_key?: string; product_message_type?: string; send_as?: "lane" | "mailbox"; subject?: string; template_id?: string; }; id?: string; kind: "email"; name: string; position?: number; } | { config: { amount: number; on_met?: "continue" | "end_journey"; unit: "minutes" | "hours" | "days"; until?: { name: string; operator: "equals" | "not_equals" | "contains" | "exists"; path: string; value?: string | number | boolean; }; }; id?: string; kind: "wait"; name: string; position?: number; } | { config: { operator: "equals" | "not_equals" | "exists" | "not_exists" | "contains"; path: string; value?: string | number | boolean; }; id?: string; kind: "condition"; name: string; position?: number; }>; }>; config: { decision_mode?: "manual" | "automatic"; decision_window_weeks?: number; metric?: "delivered" | "replied" | "goal_reached" | "human_opened" | "human_clicked"; min_sample_per_arm?: number; }; id?: string; kind: "split"; name: string; position?: number; }>; trigger?: { conditions?: Array<{ operator: "equals" | "not_equals" | "exists" | "not_exists" | "contains"; path: string; value?: string | number | boolean; }>; config?: { email_path?: string; event?: string; every?: number; mailbox_id?: string; name_path?: string; once_per_person?: boolean; recipient_mode?: "audience" | "contact"; reentry_days?: number; time?: string; unit?: "days" | "weeks" | "months"; }; connection_id?: string; kind?: "manual" | "contact_created" | "audience_joined" | "event" | "schedule" | "inbound_email" | "email_replied" | "api"; }; }; // Journey identifier. journey_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_update_label Rename a Banger label or change its color, emoji (null clears it), description, or auto-set (turn it on/off and edit its description or exact conditions). Turning auto-set off pauses it and keeps its condition. exec tool declaration: ```ts declare const tools: { banger_update_label(args: { // The label's auto-set rule. Needs a description and/or exact conditions when enabled. Enabled rules count toward the plan's Triage rule amount. auto_set?: { description?: string; enabled: boolean; exact_conditions?: { excludes_words?: Array; from?: Array; has_attachment?: boolean; has_words?: Array; subject_contains?: Array; to?: Array; }; }; // CSS color such as #3b82f6; null clears it. color?: string | null; // What the label means, for people; null clears it. description?: string | null; // One emoji shown before the name; null clears it. emoji?: string | null; // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. idempotency_key: string; // Label identifier. label_id: string; // New label name, up to 120 characters. name?: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_update_layout Save a shared layout revision with optimistic concurrency. Supersedes pending layout review; published emails remain unchanged until grouped publication. exec tool declaration: ```ts declare const tools: { banger_update_layout(args: { // Layout version from its latest read; the change is rejected if the layout changed since. expected_version: number; // Complete layout HTML with exactly one {{ content }} slot. html: string; // Shared layout identifier, as listed with the product's layouts. layout_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // BCP 47 locale the layout's text is written in, such as en. source_locale?: string; // The layout's text in the source locale, keyed by message key (up to 1000 keys). source_messages?: { [key: string]: string; }; // Supplied layout message catalogs keyed by locale (up to 100), each mapping the source message keys to translated text. translations?: { [key: string]: { [key: string]: string; }; }; }): Promise; }; ``` ## banger_update_mailbox Set the sender name recipients see on every email from one Banger mailbox, as "Name
" (replies, new mail and AI sends alike). Product email, Broadcasts and Journeys send with this name unless an email sets its own sender name. When empty, the mailbox's own mail sends the bare address, and Product email, Broadcasts and Journeys send with the company name. Gmail mailboxes keep the name set in Gmail and are refused. Keep it short: inbox apps cut names after about 30 characters. exec tool declaration: ```ts declare const tools: { banger_update_mailbox(args: { // One line, such as "Acme Support". Empty clears it. display_name: string; // Banger mailbox to rename. mailbox_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ``` ## banger_update_managed_content Save a new source revision using optimistic concurrency. Production remains on its published revision. Missing languages are prepared asynchronously. exec tool declaration: ```ts declare const tools: { banger_update_managed_content(args: { // Managed content identifier, as listed with the product's managed content or returned when it is created. content_id: string; // Complete source content saved as the new draft revision. contract: { configured_locales?: Array; fallback_locale?: string; layout_id?: string; localization_policy?: { manual_review?: boolean; }; samples?: { [key: string]: { }; }; source: { body_html: string; layout?: string; preheader?: string; subject: string; variables: { [key: string]: { }; }; variants?: { [key: string]: { body_html: string; body_text?: string; layout?: string; preheader?: string; subject: string; }; }; }; source_locale?: string; translations?: { [key: string]: { [key: string]: string; }; }; }; // Managed content version from its latest read; the change is rejected if the content changed since. expected_version: number; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_update_product Update the confirmed identity, context, or lifecycle of one product. Archiving a product keeps its email history. exec tool declaration: ```ts declare const tools: { banger_update_product(args: { // Brand kit values. Colors are #rrggbb; URLs are https. Empty string clears a value. brand?: { accent_color?: string; background_color?: string; body_font_family?: string; company_name?: string; footer_address?: string; heading_font_family?: string; logo_url?: string; muted_text_color?: string; primary_color?: string; surface_color?: string; text_color?: string; tone?: string; website_url?: string; wordmark_url?: string; }; // Confirmed business context as free-form JSON, such as primary_goal. Replaces the saved context. context?: { [key: string]: unknown; }; // Short description of what the product does and who it is for. description?: string; // What the product is. kind?: "product" | "store" | "brand" | "newsletter" | "company" | "other"; // New product name. name?: string; // Product identifier. product_id: string; // archived retires the product and keeps its email history; active restores it. status?: "active" | "archived"; // Public website URL of the product; null clears it. website_url?: string | null; }): Promise; }; ``` ## banger_update_settings Save changed settings from Banger's plugin page for the workspace's default product. Changing the email style needs workspace admin access. exec tool declaration: ```ts declare const tools: { banger_update_settings(args: { // The settings to change and their new values. set: { email_style?: "brand" | "clarity" | "editorial" | "luxe" | "material" | "playful" | "bold" | "plain"; frequency_conflict?: "defer" | "discard"; minimum_gap_hours?: number; translation_review?: boolean; }; }): Promise; }; ``` ## banger_update_signup_form Partially update a signup form: config merges into the saved settings; status active, paused (stops taking signups; widgets disappear) or archived. Changes reach live widgets within a minute. Requires a retry key; pass expected_version to avoid overwriting someone else's edit. Bars ask for email and optionally a first name (config.collect_name); custom questions (config.fields) are not shown on bars. exec tool declaration: ```ts declare const tools: { banger_update_signup_form(args: { // Form copy, appearance and behaviour: text, image, layout, theme, style, popup triggers, extra questions (fields) and locale. Partial: omitted settings keep the saved values, or the kind's defaults on a new form. config?: { art?: "arcs" | "blocks" | "horizon" | "confetti" | "frame" | "bands" | "dots"; body?: string; button_label?: string; collect_name?: boolean; confirm_promise?: string; count_noun?: string; delay_seconds?: number; email_placeholder?: string; exit_intent?: boolean; eyebrow?: string; fields?: Array<{ key?: string; label: string; options?: Array; placeholder?: string; required?: boolean; type?: "text" | "select" | "checkbox"; }>; fine_print?: string; frequency_days?: number; headline?: string; image?: "none" | "photo" | "art"; image_url?: string; incentive?: string; layout?: "stacked" | "split"; locale?: string; name_placeholder?: string; position?: "bottom" | "top" | "right" | "left"; redirect_url?: string; scroll_percent?: number; show_count?: boolean; show_logo?: boolean; style?: "" | "brand" | "clarity" | "editorial" | "luxe" | "material" | "playful" | "bold" | "plain"; success_body?: string; success_headline?: string; theme?: "light" | "dark" | "brand" | "auto"; }; // true (the default for new forms) sends a confirmation email and adds people to the list only after they confirm; false adds them at once. double_opt_in?: boolean; // Form version the update is based on, as returned when the form is read; the update is refused if the form changed since. expected_version?: number; // Signup form identifier, as listed with the product's signup forms. form_id: string; // Retry key (1-256 characters): repeating the call with the same key and arguments returns the first result instead of acting twice; reusing the key with different arguments is refused. idempotency_key: string; // Form type: inline (card in the page), popup, bar, slide_in (corner) or page (hosted signup page). Defaults to inline when creating. kind?: "inline" | "popup" | "bar" | "slide_in" | "page"; // Contact list that signups join, as listed with the product's contact lists. list_id?: string; // Name of the list signups join when list_id is omitted: an existing list with that name (case-insensitive), otherwise a new list. Defaults to "Newsletter" on a new form. list_name?: string; // Mailbox that sends the form's confirmation email, as listed with the workspace's mailboxes; defaults to the product's default sender. mailbox_id?: string; // Form name, up to 200 characters; a new form without one is named after its kind (for example "Popup form"). name?: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // active takes signups; paused stops signups and hides the widgets; archived retires the form. status?: "active" | "paused" | "archived"; }): Promise; }; ``` ## banger_update_template Change a design's name, subject, HTML, text, fill-in content, slots, or archive it. Saving creates a new version; designs attached to a scheduled or sending Broadcast cannot change. Saving a draft sends nothing and needs no review; a Journey's first activation needs one human review of its sending setup. exec tool declaration: ```ts declare const tools: { banger_update_template(args: { // New complete HTML of the email; may contain {{placeholders}}. body_html?: string; // New plain-text version of the email. body_text?: string; // Fill-in values keyed by placeholder name, for example { headline: "Meet v2" }. content?: { [key: string]: string; }; // What kind of message the design is, so Product compose and agents can find it. message_kind?: "custom" | "receipt" | "verification" | "magic_link" | "password_reset" | "login_code" | "invite" | "security" | "policy_update" | "welcome" | "tips" | "trial_ending" | "review_request" | "win_back" | "plan_change" | "announcement" | "newsletter" | "digest" | "event" | "story" | "promotion" | "changelog" | "survey" | "notice" | "cart_recovery" | "order_update" | "restock" | "payment_failed" | "usage_alert" | "booking" | "milestone" | "referral" | "waitlist" | "reengagement" | "appeal"; // New design name. name?: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Declared fill-in fields. Undeclared placeholders still become editable text slots. slots?: Array<{ help?: string; key: string; label?: string; type?: "text" | "paragraph" | "url" | "image"; }>; // archived hides the design from the default list; active restores it. status?: "active" | "archived"; // New subject line; may contain {{placeholders}}. subject?: string; // Design (template) identifier. template_id: string; }): Promise; }; ``` ## banger_update_triage_rule Edit a Triage rule's name, When, or Then. A label's auto-set rule is changed on its label instead. exec tool declaration: ```ts declare const tools: { banger_update_triage_rule(args: { // What happens to matching threads (1-8 actions): apply_label, archive, mark_read or star. actions?: Array<{ label_id?: string; type: "apply_label" | "archive" | "mark_read" | "star"; }>; // Plain-language condition Jev judges, read literally; null removes it. description?: string | null; // Exact conditions checked in code (like Gmail filters). All fields given have to hold. exact_conditions?: { excludes_words?: Array; from?: Array; has_attachment?: boolean; has_words?: Array; subject_contains?: Array; to?: Array; }; // Matches threads that already carry all of these labels. has_label_ids?: Array; // Key that makes retries safe: repeating a call with the same key returns the first result instead of acting twice. idempotency_key: string; // New rule name, up to 120 characters. name?: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Triage rule identifier. rule_id: string; }): Promise; }; ``` ## banger_upload_email_asset Upload a PNG, JPEG, GIF, or WebP image up to 2 MiB from base64 and return an immutable public email URL. exec tool declaration: ```ts declare const tools: { banger_upload_email_asset(args: { // Image bytes encoded as base64 (up to 2 MiB decoded). base64: string; // Original file name of the image, such as hero.png. filename: string; // Media type of the image. mime_type: "image/png" | "image/jpeg" | "image/gif" | "image/webp"; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; }): Promise; }; ``` ## banger_upload_email_image Store an image in Banger so a design does not depend on someone else's server: url (a public https link straight to the image file; Banger downloads it once) or base64 with mime_type. PNG, JPEG, GIF or WebP, at most 2 MB. Returns public_url for a design's image slot (the matching alt slot describes the image). Nothing is sent. exec tool declaration: ```ts declare const tools: { banger_upload_email_image(args: { // Image bytes as base64, when the person shared the file itself. base64?: string; // File name stored with the image; defaults to the name in the URL, or image for base64 uploads. filename?: string; // Required with base64. mime_type?: "image/png" | "image/jpeg" | "image/gif" | "image/webp"; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; // Public https URL of the image file. url?: string; }): Promise; }; ``` ## banger_upload_feedback_attachment Upload a screenshot or video up to 2 MiB from base64 into private Linear storage. Returns attachment_id for the attachment_ids of a bug report, feedback, or feature suggestion. Files up to 25 MiB use the prepare, signed-URL PUT, and complete upload flow instead. exec tool declaration: ```ts declare const tools: { banger_upload_feedback_attachment(args: { // Generate one UUID per file and reuse it on retry. attachment_id: string; // File bytes encoded as base64 (up to 2 MiB decoded). base64: string; // Original file name of the screenshot or video, such as checkout-error.png. filename: string; // Media type of the file: a PNG, JPEG, GIF or WebP image, or an MP4, WebM or QuickTime video. mime_type: "image/png" | "image/jpeg" | "image/gif" | "image/webp" | "video/mp4" | "video/webm" | "video/quicktime"; }): Promise; }; ``` ## banger_upsert_contact Add or update one contact in the selected product. Subscribing requires consent_confirmed=true on every call. Prior consent/source evidence and attributes are preserved; suppressed, bounced, or complained contacts cannot be resubscribed here. A stable idempotency key makes retries safe. Returns canonical contact read-back. exec tool declaration: ```ts declare const tools: { banger_upsert_contact(args: { // Contact attribute values keyed by contact field key (as listed with the product's contact fields), merged into the contact's existing attributes. attributes?: { [key: string]: unknown; }; // Confirms the contact agreed to receive Broadcast email; required to be true when status is subscribed. consent_confirmed?: boolean; // Evidence of the contact's consent: source, reference, observed_at (ISO 8601 timestamp) and statement, each up to 2000 characters. consent_evidence?: { observed_at?: string; reference?: string; source?: string; statement?: string; }; // Contact's display name, up to 1000 characters; omitted keeps the existing name. display_name?: string; // Contact email address, up to 320 characters; it identifies the contact within the product. email: string; // Retry key (1-256 characters): repeating the call with the same key and arguments returns the first result instead of acting twice; reusing the key with different arguments is refused. idempotency_key: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // Subscription status: subscribed, unsubscribed, bounced or complained. subscribed requires consent_confirmed=true. status: "subscribed" | "unsubscribed" | "bounced" | "complained"; }): Promise; }; ``` ## banger_validate_contact_import Validate a proposed bulk contact import and report row errors and duplicates. Read-only; creates no contacts and queues no import. Subscribed rows require explicit consent confirmation. exec tool declaration: ```ts declare const tools: { banger_validate_contact_import(args: { // Confirms that every subscribed row's contact agreed to receive Broadcast email; subscribed rows are invalid unless this is true. consent_confirmed?: boolean; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id: string; // Contacts to import, 1-5000 rows, each with email and status and optionally display_name, attributes and consent_evidence. Emails are unique within the rows. rows: Array<{ attributes?: { [key: string]: unknown; }; consent_evidence?: { observed_at?: string; reference?: string; source?: string; statement?: string; }; display_name?: string; email: string; status: "subscribed" | "unsubscribed" | "bounced" | "complained"; }>; }): Promise; }; ``` ## banger_verify_native_sending_domain Recheck Banger and public DNS for a domain whose required records have been saved, and return Banger's statuses. Pending normally means propagation, not failure; the saved checkpoint can be verified again later. exec tool declaration: ```ts declare const tools: { banger_verify_native_sending_domain(args: { // Banger-native sending domain identifier. domain_id: string; // The product this call acts on, from the workspace's product list. Required for writes when the workspace has multiple active products. product_id?: string; }): Promise; }; ```