# Welcome to Mochi Set up and run Mochi - your AI-powered Instagram DM sales platform. ## Welcome to Mochi Mochi turns your Instagram DM inbox into a managed, tracked sales operation. Instead of juggling the native app, your whole team works every lead in one place — with pipeline stages, tags, templates, voice notes, automations, and an AI setter that sounds like you, all wired to dashboards that show exactly where deals are won and lost. This help center walks you through **everything**, in the order you'll set it up. Every guide covers both the **web app** (best for managers) and the **iOS app** (best for setters), and tells you which role can do what. **New to Mochi? Follow this path:** Connect your account & Instagram → bring in your team → learn the inbox → set up the AI → turn on automations → connect your tools → read your numbers. **Jump to a common task:** Connect Instagram · Set up the AI setter · Create tracking links · Connect payments · Keep your account safe *** ### 🚀 Getting Started Create your account, connect Instagram the right way, and learn the one Instagram rule that shapes every feature. Start here before anything else. * [**What Mochi is & how to get around**](https://themochi.app/docs/getting-started/what-mochi-is-and-how-to-get-around) — what Mochi does, and a tour of every area on web and iOS. * [**Create your account & organization**](https://themochi.app/docs/getting-started/create-your-account-and-organization) — sign up, the magic login link, your organization, and your access code. * [**Connect your Instagram**](https://themochi.app/docs/getting-started/connecting-your-instagram) — the Business/Creator requirement, permissions, and what syncs (and what doesn't). * [**Your first days: going live**](https://themochi.app/docs/getting-started/your-first-days-going-live) — the recommended sequence from first connection to putting setters live. ### 👥 Team & Leads Bring your team in, decide who gets which leads, keep personal contacts out of the inbox, and work the pipeline. * [**Invite your team & roles**](https://themochi.app/docs/team-and-leads/inviting-your-team-and-roles) — add teammates, understand each role, and set commissions. * [**Lead distribution**](https://themochi.app/docs/team-and-leads/lead-distribution) — split incoming leads across your setters by percentage. * [**Exclude personal contacts & mutuals**](https://themochi.app/docs/team-and-leads/excluding-personal-contacts) — keep friends, partners, and mutuals out of the setter inbox. * [**The Leads page**](https://themochi.app/docs/team-and-leads/leads-page) — the pipeline table: stages, sorting, filtering, bulk actions, and CSV export. ### 💬 Inbox & Messaging The heart of Mochi — where your team works every Instagram DM, with tags, templates, media, voice notes, and AI help right beside each conversation. * [**The Inbox**](https://themochi.app/docs/inbox-and-messaging/the-inbox) — threads, filter tabs, shared read status, ghost mode, and AI summaries. * [**Lead profiles & timeline**](https://themochi.app/docs/inbox-and-messaging/lead-profiles-and-timeline) — everything about a lead: summary, internal notes, and full history. * [**Change a lead's stage**](https://themochi.app/docs/inbox-and-messaging/changing-a-lead-stage) — move leads through the funnel manually. * [**Tags & inbox categories**](https://themochi.app/docs/inbox-and-messaging/tags-and-inbox-categories) — label leads and build focused inbox views. * [**Slash commands & message templates**](https://themochi.app/docs/inbox-and-messaging/slash-commands-and-templates) — insert saved scripts, links, and media by typing `/`. * [**Send images, videos, GIFs & files**](https://themochi.app/docs/inbox-and-messaging/sending-images-videos-and-gifs) — attach and reuse media in your DMs. * [**Voice notes**](https://themochi.app/docs/inbox-and-messaging/voice-notes) — send personalized voice notes in your cloned voice. * [**AI reply suggestions**](https://themochi.app/docs/inbox-and-messaging/ai-reply-suggestions) — AI-drafted replies you can send, edit, or ignore. ### 🤖 AI Setup & Intelligence Teach Mochi's AI to sound like you and qualify like your best setter. The playbook, tags, summaries, spam filter, away mode, and voice cloning all live under **Settings → Intelligence**. * [**Set up your AI: Setter Playbook & Creator DNA**](https://themochi.app/docs/ai-setup-and-intelligence/setup-your-ai-setter) — the AI setup wizard, step by step, plus your playbook. * [**AI tags**](https://themochi.app/docs/ai-setup-and-intelligence/ai-tags) — auto-tag leads by intent using plain-language prompts. * [**Lead Summary**](https://themochi.app/docs/ai-setup-and-intelligence/lead-summary) — customize what the AI pulls out of every conversation. * [**Spam filter**](https://themochi.app/docs/ai-setup-and-intelligence/spam-filter) — automatically clear junk before it reaches the inbox. * [**AI Setter: Away Mode & AI Mode**](https://themochi.app/docs/ai-setup-and-intelligence/ai-setter-away-mode) — let AI cover you, or run its own share of leads. * [**Training Center**](https://themochi.app/docs/ai-setup-and-intelligence/training-center) — review and correct the AI's judgment so it improves. * [**Voice cloning (ElevenLabs)**](https://themochi.app/docs/ai-setup-and-intelligence/voice-cloning) — clone your voice to send voice notes at scale. ### ⚡ Automations & Follow-ups Capture leads the moment they raise their hand, and never let a hot one go cold. * [**Keyword & comment-to-DM automations**](https://themochi.app/docs/automations-and-follow-ups/keyword-automations) — auto-reply to DMs, comments, and story replies. * [**AI follow-up rules**](https://themochi.app/docs/automations-and-follow-ups/follow-up-rules) — automatically follow up when leads go quiet or don't click. ### 🔗 Integrations & Tracking Connect your calendar, payments, tracking links, YouTube, the pixel, and Claude — so every booking, dollar, and click ties back to a lead. * [**Connect Calendly**](https://themochi.app/docs/integrations-and-tracking/connecting-calendly) — track bookings straight to the lead. * [**Connect iClosed**](https://themochi.app/docs/integrations-and-tracking/connecting-iclosed) — book calls for leads from inside Mochi. * [**Tracking links & attribution**](https://themochi.app/docs/integrations-and-tracking/tracking-links-and-attribution) — branded short links that tie every click to a lead. * [**Custom branded link domain**](https://themochi.app/docs/integrations-and-tracking/branded-link-domain) — use your own domain for links. * [**Connect your YouTube channel**](https://themochi.app/docs/integrations-and-tracking/connecting-youtube) — attribute YouTube views through to sales. * [**Install the tracking pixel**](https://themochi.app/docs/integrations-and-tracking/tracking-pixel) — track website visits from your VSL and landing pages. * [**Payment integrations**](https://themochi.app/docs/integrations-and-tracking/payment-integrations) — sync Stripe, Whop, FanBasis, or Ablefy. * [**Mochi MCP**](https://themochi.app/docs/integrations-and-tracking/mcp) — ask Claude, ChatGPT or another AI assistant about your business in plain English. * [**Notifications**](https://themochi.app/docs/integrations-and-tracking/notifications) — iOS push (and why Slack alerts are gone). ### 📊 Dashboards, Reporting & Mochi AI See exactly where leads drop off, hold each setter accountable, and ask your data questions in plain English. * [**The Home dashboard**](https://themochi.app/docs/dashboards-and-reporting/home-dashboard) — your pipeline funnel and headline numbers. * [**The Performance dashboard**](https://themochi.app/docs/dashboards-and-reporting/performance-dashboard) — per-setter and team performance. * [**Links analytics**](https://themochi.app/docs/dashboards-and-reporting/link-analytics) — which links get clicked, and by whom. * [**Payments dashboard**](https://themochi.app/docs/dashboards-and-reporting/payments-dashboard) — revenue, clients, and commissions. * [**Mochi AI (Ask Mochi)**](https://themochi.app/docs/dashboards-and-reporting/ask-mochi) — chat with your sales data. * [**Benchmarks & diagnostics**](https://themochi.app/docs/dashboards-and-reporting/benchmarks-and-diagnostics) — healthy numbers, and how to fix the low ones. ### 🛟 Account, Settings & Troubleshooting Manage your connection, keep your account safe from Instagram restrictions, and fix the common snags fast. * [**Organization & account settings**](https://themochi.app/docs/account-and-troubleshooting/organization-and-account-settings) — where everything lives in Settings. * [**Manage your Instagram connection**](https://themochi.app/docs/account-and-troubleshooting/managing-your-instagram-connection) — reconnect and keep messages flowing. * [**Common issues & fixes**](https://themochi.app/docs/account-and-troubleshooting/common-issues-and-fixes) — quick answers to the most frequent snags. * [**Account safety & Instagram link limits**](https://themochi.app/docs/account-and-troubleshooting/account-safety-and-instagram-limits) — avoid restrictions and send links safely. --- # What Mochi is & how to get around **What it is** — Mochi turns your Instagram DM inbox into a managed, tracked sales operation. Instead of chasing leads across native Instagram with no record of what happened, every conversation, lead, and booked call lives in one place — with an AI setter helping your team reply faster and a dashboard showing exactly where deals are won or lost. **Who can use it** — Everyone on your team uses Mochi, but what you see depends on your role. Creators and Managers get the full organization view — every lead, every setter's numbers, every setting. Setters see the whole inbox too; Closers see only the leads assigned to them. Mochi works on web and iOS (the iOS app is currently a **TestFlight** beta — more below); a handful of advanced setup screens (covered in later modules) are web-only. ### Web vs. iOS vs. mobile browser Mochi runs in three places, and most people end up using more than one: * **Web** (`use.themochi.app`) — the full product. Best for Creators and Managers doing setup, reviewing the dashboard, and managing the team, since every feature — including the web-only setup screens — lives here. * **iOS app** — built for speed. Best for Setters and Closers replying to leads on the go, with push notifications for new messages and window-closing warnings. It's currently distributed as a **TestFlight** beta rather than a public App Store release — install Apple's free TestFlight app, then open Mochi's beta invite link (`testflight.apple.com/join/4qFmNv8s`) to install it. * **Mobile browser** — the web app, opened in your phone's browser. Use this if you're working leads without the iOS beta installed; it keeps your replies inside Mochi so lead assignment and tracking still work correctly. Replying to a lead from the native Instagram app instead bypasses Mochi entirely — the conversation won't be tracked, and auto-assignment gets messy. ### A tour of the main areas This is roughly the order Mochi's team walks new clients through on the onboarding call — a sensible order to explore in yourself: * **Dashboard** — your numbers, in two views. **Home** shows headline counts (new leads, qualified, booked calls, won) plus your funnel breakdown; **Performance** breaks those same numbers down per team member. Creators and Managers see the whole organization; Setters and Closers see a dashboard focused on their own work. Web: `Dashboard > Home` and `Dashboard > Performance`. iOS: the **Dashboard** tab (the Performance view is admin-only on iOS). * **Inbox** — one thread per lead, and replies send as real Instagram DMs. Creators, Managers, and Setters see every conversation; Closers see only the leads assigned to them. Web: `Sidebar > Inbox`. iOS: the **Inbox** tab. * **Leads** — a sortable, filterable table of everyone who's messaged you on Instagram, organized by pipeline stage (New, In contact, Qualified, Booked call, Won, and so on). Web: `Sidebar > Leads`. iOS: the **Leads** tab. * **Automations** — rules that auto-reply when someone DMs a keyword, comments on a post, or replies to your story, plus follow-up rules for leads who've gone quiet. Web: `Sidebar > Automations`. iOS: the **Automate** tab. * **Content Hub** — your shared library of message templates, saved media, links, and AI prompts, dropped into any chat with the `/` menu. Web: `Sidebar > Content Hub`. iOS: `Settings > Content Hub`. This area is gated by feature flag — if you don't see it yet, it isn't enabled for your organization. * **Settings** — where everything gets configured: `Settings > Team` (roles, commission, lead distribution), `Settings > Socials` (Instagram connection, excluded contacts), `Settings > Tags`, `Settings > Integrations` (Calendly, iClosed, payments), `Settings > Organization`, and — usually the last stop on a setup tour — `Settings > Intelligence`, home to your AI setter's Setter Playbook, Creator DNA, spam filter, and voice cloning. ### Tips * Setting up Mochi for the first time? Start on web — it's where every setting lives, and it's easier to get oriented on a larger screen. * Working leads day to day? The iOS app is built for that — faster replies, push notifications, less friction. * Bookmark the Dashboard early. It's the fastest way to see whether your pipeline is healthy without reading through every conversation. * Most teams have the account, Instagram, team, and integrations set up in about **60 minutes**. See Your first days: going live for the exact checklist. ### Common mistakes & fixes | Mistake | Fix | | ----------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | | Can't find a setting a teammate has | Check your role — some screens (like Integrations) are Creator/Manager only. | | Looking for a web-only feature on iOS | Some setup — Setter Playbook, custom link domains, iClosed — is web-only by design. Switch to a browser. | | Replying to leads from the native Instagram app | Reply from Mochi instead (web, iOS, or mobile browser) — native replies aren't tracked and can break lead assignment. | | Searching the App Store for "Mochi" | It's not there yet — the iOS app is a TestFlight beta. Install TestFlight, then use the beta invite link, or work from mobile browser in the meantime. | | TestFlight beta invite link doesn't work | Beta links can expire or hit their tester cap. Email **** for a fresh invite, and use mobile browser in the meantime. | ### Limits & good to know * Some areas (Content Hub, certain automation types) are gradually rolled out — if something mentioned here isn't visible yet, it isn't enabled for your organization. * A few setup screens are web-only: Setter Playbook/Creator DNA setup, the iClosed integration, and custom link domains. * The iOS app is currently a TestFlight beta, not a public App Store release — expect it to change release to release, and keep Apple's TestFlight app installed to receive updates. **Related:** Create your account & organization · Connect your Instagram · Your first days: going live --- # Create your account and organization ## Create your account & organization **What it is** — This is the first step into Mochi: creating your login, setting up your organization, and unlocking your account with the access code Mochi sends you. **Who can use it** — Anyone can start this flow, but it's meant for the first person setting up your organization — that person becomes the **Creator**, and there's only one per organization. If you're joining a team that's already on Mochi, you don't need this article — use the invite your Manager or Creator sends you instead (see *Invite your team & roles* in the Team & Leads module). Available on web (`use.themochi.app`) and mobile browser; once your account exists, you sign in the same way on iOS. ### How to create your account 1. Go to `use.themochi.app`. 2. Enter your email address. 3. Open your inbox and click the magic login link Mochi sends you. It expires in **15 minutes**, so click it soon after it arrives. 4. Create your organization — enter your **organization name** and upload a **logo**. 5. Enter your **access code** to unlock your account. It's sent to you in your welcome email and follows a name-prefixed format like `ACME-48213` — your organization's prefix plus a five-digit number. Mochi uses passwordless login — there's no password to set or remember. Every time you sign in, you'll request a fresh magic link the same way. ### Common mistakes & fixes | Mistake | Fix | | -------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | | Magic link email never arrives | Check spam/junk first. Still nothing after 15 minutes? Email ****. | | Clicked the link and it says expired | Magic links expire in 15 minutes. Go back to `use.themochi.app` and request a new one. | | Lost or never received your access code | Check your welcome email (and spam). Still missing? Email ****. | | You were invited by your team but tried to create a new organization | You don't need this flow — use the invite link your Manager or Creator sent you instead. | ### Tips * Use the email address you check most often — it's how you'll log in every time, since there's no separate password. * Upload a real logo when you create your organization — it's what your whole team sees across the app. ### Limits & good to know * Only one **Creator** per organization — the person who originally sets it up. Everyone else joins as a Manager, Setter, or Closer. * The access code is specific to your organization and formatted like `NAME-#####` (e.g. `ACME-48213`) — don't share it outside your team. **Related:** What Mochi is & how to get around · Connect your Instagram · Your first days: going live · *Invite Your Team & Roles* (Team & Leads module) --- # Connecting your Instagram ## Connect your Instagram **What it is** — Connecting Instagram is what lets Mochi read and reply to your DMs. Once it's connected, new conversations flow straight into your Mochi inbox. **Who can use it** — Available on web and iOS, both at `Settings > Socials` (the iOS app is currently a **TestFlight** beta — see What Mochi is & how to get around). Reconnecting an already-connected Instagram account is limited to your organization's **Creator** or **Manager**. > ⚠️ NEEDS VERIFICATION: whether the same Creator/Manager restriction applies to connecting Instagram for the *first* time. Confirmed for reconnecting; not explicitly documented for the initial connect. **Before you start** — A Mochi account and organization (see Create your account & organization). Your Instagram account also has to be a **Business or Creator account** and not private — personal accounts can't connect, and that's a Meta API restriction, not a Mochi limitation. ### How to connect Instagram #### If your account is Personal, switch it first 1. Open the Instagram app and go to `Settings > Account`. 2. Tap **Switch to Professional Account**. 3. Choose **Creator** — it's free and takes about two minutes. (Business also works, if that's already your account type.) #### Connect it in Mochi Web and iOS: 1. Go to `Settings > Socials`. 2. Select **Connect Instagram**. 3. Follow the Instagram prompts to log in, and **accept every permission Meta asks for** — Mochi needs full message access to send, receive, and track DMs. Declining any permission will stop parts of the platform from working. ### What syncs when you connect * Only **new messages from the moment you connect** come into Mochi. Meta doesn't allow any tool — Mochi included — to access historical DMs, so past conversations won't appear. This is a platform-wide restriction, not a Mochi gap — it's exactly why tools like ManyChat can't produce a historical export either, so don't expect one when you switch to Mochi. * Mochi can track and help you send DMs, but it can't send fully automated cold outbound messages — Meta's rules don't allow that for any tool. See The 24-hour reply window for what Mochi can and can't send automatically. ### Tips * Right after connecting, add close friends or personal contacts to **Excluded Contacts** at `Settings > Socials` so they never show up in a setter's inbox. * Give it 2–4 days after connecting before you put setters to work — see Your first days: going live for the full sequence. ### Common mistakes & fixes | Mistake | Fix | | ----------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | | Instagram won't connect | Confirm the account is a Business or Creator account, not Personal — and confirm it isn't set to private. | | Declined a permission during setup | Reconnect and accept every permission this time — a partial grant stops messages from syncing correctly. | | Expecting to see old DMs after connecting | Not possible for any tool. Meta blocks historical message access — only messages sent after you connect will appear. | ### Limits & good to know * No historical DMs, ever — this applies to every Instagram-DM tool, not just Mochi. * Private accounts can't connect. * If Instagram ever shows as disconnected later (password change, revoked permission), reconnect the same way from `Settings > Socials`. **Related:** Create your account & organization · The 24-hour reply window · Your first days: going live · *Exclude personal contacts / mutuals* (Team & Leads module) --- # Your first days going live ## Your first days: going live **What it is** — The recommended path from creating your Mochi account to a fully working team inbox: a roughly 60-minute setup checklist, followed by a short pacing period before you lean on setters and AI, so you go live with clean data and a team that already knows how the platform works. **Who can use it** — Aimed at the Creator or Manager running the rollout. Setters and Closers join in partway through, once invited. **Before you start** — Nothing required to read this. You'll move fastest through the checklist below if you have your Instagram login handy and, if you use one, your Calendly account. Already created your account and connected Instagram? Skip ahead to **Pace your rollout**. ### Your 60-minute quick start Most teams have the mechanics of Mochi fully configured in about an hour. This part is short forms, toggles, and pastes, not a build project — do it in one sitting: 1. Go to `use.themochi.app`, enter your email, and click the magic login link. It expires in **15 minutes**. *(See Create your account & organization.)* 2. Create your organization — enter its **name** and upload a **logo**. 3. Enter your **access code** (from your welcome email — it looks like `NAME-#####`, e.g. `ACME-48213`) to unlock your account. 4. Connect Instagram: `Settings > Socials > Connect Instagram` — Business or Creator account only, and accept **every** permission Meta asks for. *(See Connect your Instagram.)* 5. Add any personal contacts or mutuals to **Excluded Contacts**, on that same `Settings > Socials` screen, so they never land in a setter's inbox. 6. Invite your team — set each person's **role**, **commission %**, and **lead distribution %** (must total 100 across your setters). *See Invite Your Team & Roles (Team & Leads module).* 7. Connect **Calendly**, if you use it, from `Settings > Integrations`. *See Connect Calendly (Integrations & Tracking module).* 8. Build your first AI tags — a solid starter set looks like **Hot Lead**, **Qualified**, **Booking Link Sent**, and **Objection – Price**. *See AI Tags: Auto-Tag Leads by Intent (AI Setup & Intelligence module).* 9. Turn on the **Spam Filter**: `Settings > Intelligence > Spam Filter`. *See Spam Filter: Keep Junk Out of Your Inbox (AI Setup & Intelligence module).* ### Pace your rollout Finishing that checklist doesn't mean you should hand Mochi to your whole team the same day. A few things are worth pacing deliberately: 1. **Let messages accumulate for 2–4 days before relying on Mochi's AI or putting setters live.** Mochi only pulls in new messages from the moment you connect Instagram — there's no history — so the first couple of days build the real conversation data that AI suggestions, tags, and reporting need to be useful. Go live too early and setters are working from a nearly empty inbox. 2. **Spend those first few days in the product yourself**, as the Creator or Manager. Work the inbox, click through Leads, Automations, and the Dashboard before handing it to your team. It gives you a feel for how everything works, which makes it much easier to explain to setters when you bring them on. 3. **Send team invites early if you like** — it's part of the 60-minute setup, not the rollout. New members default to **0% lead distribution**, so nobody actually receives a lead until you raise their share; inviting early just means their accounts are ready the moment you want them working. 4. **Raise distribution and go live.** Once messages have accumulated and your setup is in place, raise your Setters' and Closers' lead distribution and let them start working the inbox. ### If you're switching from another tool (like ManyChat) * **Run Mochi alongside your existing tool for 2–4 days during the transition**, then cut over fully once you trust what you're seeing in Mochi. * **There's no way to import old conversations or contacts.** ManyChat doesn't support exporting contacts as a CSV, and Meta's API blocks any tool — Mochi included — from pulling in historical DM data. This isn't a Mochi gap; it applies to any platform switch. * **Start fresh rather than waiting on a migration.** Most old contacts in another tool aren't actively convertible anyway — the same reply-window rules that govern Mochi apply across Instagram, so a contact that's gone cold elsewhere is just as cold there as it would be anywhere else. ### Tips * Resist inviting your whole team on day one — the quality of those first few days of data directly affects how useful AI suggestions and tags feel to a new setter. * Use the solo period to get your AI setup and tags in place so they're ready before setters start relying on them. * If your Setters or Closers will work from iOS, get them onto the **TestFlight** beta ahead of time (see What Mochi is & how to get around) so they're not stuck installing it on day one. ### Common mistakes & fixes | Mistake | Fix | | ------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | | Treating the 60-minute setup as "fully live" | The checklist gets your account configured — it doesn't replace the 2–4 day data-accumulation window before setters and AI should rely on real leads. | | Inviting setters the same day you connect Instagram | Wait 2–4 days first so there's real conversation data for setters and AI to work with. | | Expecting old contacts from ManyChat (or another tool) to appear in Mochi | Not possible — no CSV import from ManyChat, and Meta blocks historical DM access for any tool. Start fresh. | | Dropping your old tool the same day you connect Mochi | Run both in parallel for 2–4 days, confirm Mochi is tracking correctly, then cut over. | | Creator or Manager skipping the solo period | Spend a few days in the product first — it makes onboarding your team much smoother. | ### Limits & good to know * No historical DM or contact import from any previous tool — a Meta API restriction, not a Mochi one. * The 2–4 day accumulation window is a recommendation, not a hard lock — you can technically invite setters sooner, but the pipeline and AI will be thin. * The 60-minute setup time is typical, not a guarantee — it depends on how many team members and integrations you're configuring in one sitting. **Related:** What Mochi is & how to get around · Connect your Instagram · The 24-hour reply window · Create your account & organization · *Invite Your Team & Roles* (Team & Leads module) --- # Inviting your team and roles ## Invite Your Team & Roles **What it is** — Settings > Team is where you build out your Mochi organization: invite setters, closers, and managers by email, assign each person a role, and set commission percentages that Mochi tracks automatically against Won deals. **Who can use it** — Creators and Managers only. A Creator can invite anyone, including other Managers; a Manager can invite everyone except another Manager. Setters and Closers can't reach Settings > Team to invite people. Confirmed on web. > ⚠️ NEEDS VERIFICATION: the exact iOS invite flow. Settings > Team is expected to exist on iOS, following the same pattern as other Settings areas, but the invite screen itself hasn't been separately confirmed. **Before you start** — You'll need a Creator or Manager role. ### How to invite a team member 1. Go to **Settings > Team**. 2. Click **Add team member**. 3. Enter their **email address** and choose a **role** (see the roles table below for what each one can do). 4. If they're a Setter or Closer, set their **commission %** — Mochi tracks this automatically against Won deals. 5. Send the invite. The invite goes out by email. The person needs to **accept it** before they count as an active member anywhere in Mochi — until then, they sit under pending invites on the Team screen. ### Resend or fix a stuck invite 1. Open **Settings > Team** and find their name under pending invites. 2. Click **Resend Invite**. Ask them to check spam if it still doesn't land. 3. Still stuck? Try inviting a different email address, or have them open the invite link in a private/incognito browser window — a half-cached previous session is a common cause of "expired or already accepted" errors. ### Roles & permissions Mochi is built around four core roles: | Role | Sees | Can do | | ----------- | ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | **Creator** | Everything | Full access to the whole organization. Only one per account. The only role that can invite or promote another Manager. | | **Manager** | Everything | Full access except inviting another Manager — manages the team, integrations, tags, and all leads. | | **Setter** | All inbox conversations | Works leads in the DM inbox, sends messages, hands leads off to a Closer. Can earn commission on Won deals. | | **Closer** | Only their own assigned leads, with full conversation history | Focused on booked calls — moves leads through Deposit, Won, Lost, and No show. Always assigned by hand, never through automatic lead distribution. Can earn commission on Won deals. | **Payment-data access is admin-gated.** Creators and Managers can always see the Payments dashboard, synced transactions, and payment-related answers from Mochi AI — and so can **Finance**, where that role is still present on your org. > ⚠️ NEEDS VERIFICATION: current status of Finance/Assistant roles. Internal guidance says Finance and Assistant were deprecated and folded into Manager, but at least one product doc still cites Finance for payment-data access. Confirm current Settings > Team role options before inviting someone as Finance — Mochi does not currently document a distinct Assistant permission set, so don't promise "Assistant" access. **AI Setter isn't a human seat.** It's a distribution-eligible pseudo-member: no email invite, no login. You configure it under **Settings > Intelligence**, and once it's trained it can be given a share of leads exactly like a human setter (see Lead distribution). ### Tips * If someone is paid a flat fee per call rather than a percentage, set their commission to **0%** instead of guessing a number — an inaccurate percentage misrepresents what they actually earn. * Have new teammates work leads through Mochi (web, iOS, or mobile browser) rather than replying from the native Instagram app — replies sent outside Mochi skip lead-assignment logic entirely and can make distribution messy. * If you're setting up Mochi for the first time, run it solo for a few days before inviting your team — it's easier to train people once you know the product yourself. ### Common mistakes & fixes | Mistake | Fix | | ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | | Invite never arrives | Resend from Settings > Team; check spam; try a different email address | | Invite link says expired or already accepted | Try a private/incognito browser window, or clear browser history entries containing "mochi" | | A new member can't do something you expected | Check their role — Setters and Closers can't reach admin areas like Integrations or Team | | Commission % looks wrong for a flat-fee teammate | Set their commission to 0% — the commission field is for percentage-based pay only | | Trying to invite someone as "Finance" or "Assistant" | Check current Settings > Team role options first — these may have been folded into Manager (see the roles table above) | ### Limits & good to know * Only one Creator per organization. * A person must accept their invite before they count as an active team member anywhere in Mochi. * AI Setter only becomes available once your organization has enough conversation data and a Setter Playbook configured. **Related:** Lead distribution, The Leads page: work your pipeline, Exclude personal contacts from your inbox, Set up your AI: Setter Playbook & Creator DNA --- # Lead distribution **What it is** — Lead distribution is Mochi's automatic router for new leads. Instead of manually assigning every inbound DM, Mochi splits new leads across your setters using a weighted round robin, based on percentages you set. **Who can use it** — Configured by Creators and Managers at **Settings > Team > Lead Distribution**. Setters, Managers, Creators, and AI Setters can hold a distribution share; Closers are always assigned by hand and never appear in this split. Only Creators and Managers can edit the settings themselves. Confirmed on web. **Before you start** — You'll need at least one Setter on your team, and a Creator or Manager role to edit the split. ### How it works Mochi rotates new leads across your team so each setter gets roughly their set percentage of incoming volume. Set Setter 1 to 80% and Setter 2 to 20%, for example, and Mochi sends Fabio about 8 in 10 new leads and Chris about 2 in 10, automatically. 1. Go to **Settings > Team > Lead Distribution**. 2. Set a percentage for each eligible team member. 3. Make sure every percentage **adds up to exactly 100%** — Mochi won't save an unbalanced split. 4. Save. Eligible for a distribution share: **Setters, Managers, Creators, and AI Setters.** AI Setter counts here as a distribution-eligible pseudo-member, not a human seat — it only becomes eligible once it's enabled and trained (see Invite your team & roles). Closers are never part of the automatic split — they're always assigned by hand, typically once a lead is qualified or a call gets booked (see The Leads page: work your pipeline). ### New members and turning distribution off * **New team members start at 0%.** They won't receive any new leads until you manually raise their share — this keeps a brand-new setter from getting flooded with leads before they're ready. * **Setting everyone to 0% turns distribution off.** New leads are left unassigned instead of being routed automatically. * **Deactivating a team member resets their share to 0%** and redistributes their currently open leads across the rest of the team. ### Tips * Treat distribution as a deliberate lever, not a default 50/50 split. A common pattern: cap a newer or trialing setter at 25%, give your proven performer 75%, then rebalance once the new setter proves themselves. * Recheck the total whenever you add or remove a team member — an unbalanced split is the most common reason a save fails. * Use 0% instead of removing someone if you want to pause their new-lead flow without touching leads already assigned to them. ### Common mistakes & fixes | Mistake | Fix | | ------------------------------------------------- | -------------------------------------------------------------------------- | | Distribution won't save | Percentages must total exactly 100 — recalculate and re-enter | | A new setter isn't getting any leads | They start at 0% by default — raise their share manually | | Leads sitting unassigned | Check whether every member is at 0% — that turns distribution off entirely | | Expecting a closer to get new leads automatically | Closers are always assigned by hand, never through the round robin | ### Limits & good to know * Only Setters, Managers, Creators, and AI Setters can hold a distribution percentage. * Closers are matched to leads manually from the Leads page, not through this setting. * Deactivating a member automatically redistributes their open leads to the rest of the team. * AI Setter only appears as an eligible option once it's enabled and trained for your organization. **Related:** Invite your team & roles, The Leads page: work your pipeline, Exclude personal contacts from your inbox, Connect Calendly --- # Excluding personal contacts ## Exclude Personal Contacts From Your Inbox **What it is** — Excluded Contacts keeps specific Instagram accounts — friends, family, close friends, mutuals — completely out of Mochi. Add a username and that person's DMs never enter your pipeline or show up in a setter's inbox, for any role. **Who can use it** — Creators and Managers, from the same screen where you manage your Instagram connection: **Settings > Socials**, on both web and iOS. **Before you start** — Your Instagram account needs to be connected. ### Why you'd use it Not every DM you get is a sales conversation. Personal accounts — your partner, close friends, family — still land in your Instagram inbox, and without exclusion those threads can end up visible to your setters too. Excluded Contacts keeps personal conversations private and out of your team's hands. It also doubles as data hygiene. Mutuals, competitors, or anyone who DMs you outside your actual sales funnel would otherwise get counted as a "lead" and skew your pipeline numbers. Excluding them keeps your stats honest. ### How to exclude a contact **Web** 1. Go to **Settings > Socials**. 2. Find **Excluded Contacts** on the same screen as your Instagram connection. 3. Enter the Instagram **username** of the person you want to exclude. 4. Save. **iOS** 1. Go to **Settings > Socials**. **Mid-chat shortcut** You don't have to go to Settings at all. Open the conversation with the person you want to exclude, click the **eye icon** at the top of the chat, and confirm — they're added to Excluded Contacts on the spot, without leaving the thread. ### How excluded leads behave An excluded contact never becomes a lead in Mochi — they're filtered out before they'd ever enter your pipeline. That means they're automatically left out of everything on the Leads page too: they won't appear in the table, can't be caught by a bulk assign, status change, or tag, and won't show up in a CSV export. This is different from marking a lead **Unqualified**. Unqualified leads are real prospects who entered your pipeline and didn't work out — they still exist as a record you can review. An excluded contact never becomes a record in the first place. **Excluded vs. Archive.** These solve different problems, and it's easy to reach for the wrong one. Archiving just hides a conversation you're finished with for now — the lead is still a real record, and the thread can resurface if they message again. Excluding someone is permanent: it removes them from Mochi entirely, for every role, and they don't quietly become a lead later even if they DM you again. Use Archive for leads you've wrapped up; use Excluded Contacts for people who should never be treated as a lead at all. ### Tips * Add personal accounts *before* you connect Instagram and hand the inbox to your team, so nothing personal is ever exposed, even briefly. * Think past "friends" — add any mutual, competitor, or account you know isn't a real prospect, so your funnel numbers only reflect actual leads. * Revisit this list occasionally, especially after connecting a new personal account or if a teammate flags a conversation that shouldn't be there. ### Common mistakes & fixes | Mistake | Fix | | ------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Forgot to exclude a personal contact before going live | Add them anytime — exclusion takes effect going forward | | Assuming an excluded contact shows up as Unqualified | It doesn't — excluded contacts never enter the pipeline at all, unlike Unqualified leads which are real records | | Confusing Excluded with Archive | Archive just hides a finished conversation and the lead can resurface; Excluded Contacts removes someone from Mochi permanently — use it for people who should never be a lead, not for leads you're simply done with | ### Limits & good to know * Exclusion applies for every role — Creators, Managers, Setters, and Closers all lose visibility into an excluded contact's thread, not just setters. * Managed from the same screen as your Instagram connection (Settings > Socials), not a separate settings page. **Related:** Connect your Instagram, Invite your team & roles, The Leads page: work your pipeline --- # Leads page ## The Leads Page: Work Your Pipeline **What it is** — The Leads page is a sortable, filterable table of every lead who's come in through Instagram — your entire pipeline in one view. Every lead carries a stage, a setter, and (once relevant) a closer, so you can see exactly where each conversation stands and move people through the funnel individually or in bulk. **Who can use it** — All roles can open the Leads page. Visibility likely follows the same pattern as the inbox — Creators, Managers, and Setters see the full list, while Closers see only leads assigned to them. Web: **Sidebar > Leads**. iOS: **Leads tab**. ### How to use it Open the Leads page to see the full table — one row per lead, with columns for stage, assigned setter and closer, tags, and source. Click into any row to open that lead's full profile and conversation. Every lead carries **one setter** (who owns the DM conversation) and **one closer** (who owns the call, once there is one) — that's why assignment and filtering both work off two separate fields. ### Pipeline stages explained Leads move through nine stages, roughly in this order: 1. **New** — every inbound DM creates a lead here automatically. 2. **In contact** — set automatically once a real back-and-forth conversation is happening. 3. **Qualified** — set manually by a setter, or automatically when a tracked Calendly link is sent. 4. **Unqualified** — set manually, or automatically by the spam filter. *Terminal.* 5. **Booked call** — set manually, or automatically when the lead books through a tracked scheduling link (Calendly or iClosed). 6. **Deposit** — set manually, usually by a closer, once a partial payment comes in. 7. **Won** — set manually. The deal closed. *Terminal.* 8. **Lost** — set manually. The deal didn't close. *Terminal.* 9. **No show** — set manually. The lead didn't show for the booked call. *Terminal.* **Terminal stages** — Won, Lost, Unqualified, and No show — are endpoints; a lead doesn't move further on its own once it lands in one of these. When you mark a lead **Unqualified**, record a reason while it's fresh — common ones include a financial objection, a time waster, or a lead who ghosted the conversation. Reasons make it much easier to spot patterns later: a spike in price objections tells a very different story than a spike in ghosting. Some teams keep qualification manual even with Calendly connected — for example, only marking a lead Qualified after a screening step, and Booked only once the call actually lands, instead of relying on the automatic triggers. Both approaches work; use whichever matches how your team actually sells. ### Sort & filter Filter the table by **date**, **funnel stage**, **setter**, **tag**, or **source** (DM, story reply, outbound, comment). Sort **newest first** (the default) or **oldest first** — oldest-first is worth switching to regularly, since it surfaces the leads who've been waiting longest instead of burying them under fresh ones. ### Bulk actions Select multiple leads with the checkboxes on each row to bring up the action bar: * **Assign** — set the setter and/or closer for every selected lead at once. * **Status** — move every selected lead to a new pipeline stage at once. * **Tags** — apply or remove a tag across every selected lead at once. Bulk actions run in the background, so you can keep working while a large batch processes. **Reassigning a batch of leads:** there's no one-click "move everything from Setter A to Setter B" tool. To reassign leads that already exist, select them with checkboxes and use bulk **Assign**. To change who *new* leads go to from now on, adjust the split in **Settings > Team > Lead Distribution** instead (see Lead distribution) — that only affects leads that haven't come in yet, not anyone already assigned. ### Single vs. bulk assignment **Web** * *Single:* open a lead's row and edit its Setter or Closer field directly. * *Bulk:* check the boxes next to the leads you want, then click **Assign** in the action bar that appears. **iOS** * *Single:* open the lead and edit its assigned Setter or Closer. * *Bulk:* long-press a row to start selecting, or tap **Edit**, select your leads, then use the bottom bar's **Assign** option. ### Export to CSV Export the current list to CSV: name, stage, assigned setter, tags, deal value, last interaction, and payment status — useful for reporting outside Mochi or handing a snapshot to a closer or manager. ### Tips * Clear one filter completely before moving to the next rather than jumping around — work your hottest leads (Qualified, then tagged Hot) before touching New. * Use bulk **Status** after a campaign or event to move a batch of leads forward at once instead of clicking through them one by one. * Pair bulk **Tags** with a saved filter so you can quickly re-select the same group later, for reporting or a follow-up push. ### Common mistakes & fixes | Mistake | Fix | | ------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------- | | Bulk action looks like it didn't run | It runs in the background — give it a moment before assuming it failed | | Skipping the unqualify reason | Get in the habit of recording one — it's the easiest way to spot recurring objections later | | Confusing Unqualified with an excluded contact | Unqualified is a real lead that didn't pan out; excluded contacts never become leads at all (see Exclude personal contacts from your inbox) | | Expecting a closer to appear on new leads | Closers are assigned by hand, not through automatic lead distribution (see Lead distribution) | | Looking for a one-click way to move all of one setter's leads to another | Doesn't exist — bulk-select and reassign in the Leads table, or change the % in Lead Distribution to redirect leads going forward | ### Limits & good to know * Excluded contacts never appear on this page at all — they're filtered out before becoming a lead. **Related:** Lead distribution, Invite your team & roles, Exclude personal contacts from your inbox, Connect Calendly --- # The Inbox **What it is** — The Inbox is where your team reads and replies to every Instagram DM conversation with your leads, all in one place. Each conversation is a single thread tied to one lead. When you send a reply from Mochi, it goes out as a real Instagram DM from your connected account — Mochi isn't a separate messaging system layered on top. **Who can use it** — Everyone on the team opens the Inbox, but what you see depends on your role. Creators, Managers, and Setters see every conversation in the organization. Closers see only the conversations for leads assigned to them. Available on both Web and iOS. Ghost mode (below) is limited to Creators and Managers. **Before you start** — Your Instagram account needs to be connected (`Settings > Socials`) before any conversations appear here. ### How to use it **Web:** `Sidebar > Inbox` **iOS:** `Bottom tab bar > Inbox` 1. Open the Inbox to see a list of conversations, newest activity first. 2. Use the filter tabs to narrow the list to what you need to work next. 3. Tap or click a conversation to open the thread. 4. Type your reply in the composer and send it. Mochi delivers it as a real Instagram DM. ### Filter tabs Web and iOS show different tabs, so build your workflow around whichever platform you're on. * **Web:** All, Priority, Needs Human, Unread, Archive, plus any custom categories set up for your inbox (see Tags & inbox categories). * **iOS:** All, Unread, Todo, Archive. A conversation counts as **Unread** when a lead has messaged and no one has replied yet, or when someone manually marks it unread. ### Shared read status Opening a conversation marks it read for the whole team, not just you. That's intentional — it stops two teammates from replying to the same lead at the same time. If you've read something but still need to act on it, mark it unread again rather than counting on it looking untouched. ### Ghost mode (read without marking read) Ghost mode — sometimes called incognito mode — is the exception to shared read status. It lets a Creator or Manager open and read a conversation without marking it read for the lead or for the assigned setter, so you can check in on a conversation without tipping anyone off. It's built as a QA and oversight tool, not part of the everyday setting workflow. Look for the ghost/incognito toggle in the conversation view and switch it on before you open the thread — it turns purple when it's active. Turn it off again to go back to normal reading. * **Who can use it:** Creators and Managers only. * Use it to spot-check how a setter is handling a specific lead, review tone and accuracy, or catch a problem early — all without changing what the setter or the lead sees. * Confirmed on web. iOS availability isn't confirmed yet — if you don't see the toggle in the app, use web for QA checks in the meantime. ### Sending replies and the reply window Instagram, not Mochi, controls when you can send a DM. You can generally reply within 24 hours of the lead's last DM to you (a small subset of organizations get a 7-day extension, and only for manual replies). If a reply won't send, you're most likely outside that window — the lead needs to message you again to reopen it. See *The 24-hour reply window (and the 7-day extension)* in Module 01 — Getting Started for the full rules. ### Conversation AI summary Mochi can generate an AI summary of a conversation — the key discussion points and suggested next steps — so you can catch up without reading the whole thread. * **Web:** the summary appears alongside the conversation. * **iOS:** open it from the lead profile (tap the lead's name, then the summary card). The AI summary requires AI access to be enabled for your organization. For the fuller per-lead breakdown (pain points, desires, quotes, red flags), see Lead profiles & timeline. ### Tips * Work the **Priority** or **Needs Human** tab first if either is enabled for your org — that's usually where leads genuinely waiting on you collect. * If a lead seems to have vanished from your inbox, check assignment before assuming something broke — Closers only see their own assigned leads. * Reply promptly once you've opened a thread. Because read status is shared, a teammate can't tell from "unread" alone whether you've already seen it. * Know when to step outside Mochi onto native Instagram: cold first-touch outreach, a conversation whose 24-hour window has already closed, or a follow-up with someone who isn't in Mochi yet. Revive or send there, then come straight back — a conversation only shows up in your pipeline and reporting if it runs through Mochi. ### Common mistakes & fixes | Mistake | Fix | | ---------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | | Reply won't send | You're likely past the 24-hour window. Wait for the lead to message again, or reply in the comment thread if their last activity was a comment. | | Two people almost double-reply to the same lead | Read status is shared — opening a thread marks it read for everyone, even before you've answered. Reply promptly or leave a team note. | | A lead you expect to see is missing | Check assignment. Closers only see their own leads; Setters/Managers/Creators see everything, so check your filters. | | AI summary not showing | AI access isn't enabled for your organization yet. | | Wanted to check a conversation without alerting the setter or the lead | Turn on ghost mode first. A normal open marks the conversation read for everyone. | ### Limits & good to know * Closers only ever see conversations for leads assigned to them — this is by design. * Unread status is shared across the whole team, not personal to you. * Sending is always blocked outside Instagram's reply window; there's no override inside Mochi. * The AI summary needs AI enabled for your org — if you don't see it, that's why. * Ghost mode is limited to Creators and Managers — it's an oversight tool, not part of the standard setter/closer workflow. **Related:** * Lead profiles & timeline * Tags & inbox categories * AI reply suggestions * *The 24-hour reply window (and the 7-day extension)* (Module 01) --- # Lead profiles & Timeline **What it is** — Every lead has a profile alongside their conversation: an AI summary of what matters in the conversation, a timeline of key events (links sent and clicked, calls booked), team-only Internal Notes, and the contact details Mochi has picked up for them. It's where you go to get context fast before you reply, especially on a lead you haven't talked to in a while — or to hand a lead off to someone else without losing anything in translation. **Who can use it** — Same visibility as the Inbox: Creators, Managers, and Setters can open the profile for any lead in the organization; Closers only for leads assigned to them. Available on both Web and iOS. **Before you start** — The AI summary needs AI access enabled for your organization. The rest of the profile — timeline and contact info — works regardless. ### How to use it **Web:** open a conversation in the Inbox — the lead's profile appears alongside it as a sidebar. **iOS:** open a conversation, then tap the lead's name to open their profile. 1. Open the lead's conversation. 2. Open the profile (sidebar on web; tap the lead's name on iOS). 3. Click **Summarise** and review the AI summary, timeline, and contact info before you reply. ### The AI summary Click **Summarise** on a lead's profile to generate the AI summary. It reads the conversation and pulls out the parts that actually help you personalize a reply or brief someone else: * **Pain points** — what's actually bothering the lead * **Desires** — the outcome they're chasing * **Key quotes** — the lead's own words worth echoing back * **Red flags** — signs they may not be a fit, or may need careful handling Click **Summarise** before replying to any lead — even one that's been cold for weeks — instead of scrolling back through the whole thread. It's also the fastest way to hand a lead from a setter to a closer: copy the summary and send it over so the closer walks into the call already knowing the pain points, the desired outcome, and anything to watch for. Creators and Managers can extend what the summary captures — for example, adding a budget-qualification field or a specific objection to watch for — under **Settings > Intelligence > Lead Summary**. Custom fields apply to every summary generated afterward, for every setter. See *Lead Summary (custom AI summary)* (Module 04). ### Timeline events The timeline logs what's happened with this lead outside the message text itself: * **Link sent / link clicked** — when a tracked Mochi link went to this lead and whether they clicked it. See *Tracking links & attribution* (Module 06). * **Bookings** — when a call was booked, cancelled, or rescheduled through a connected scheduler. See *Connect Calendly* (Module 06). Timeline events only appear for activity that ran through a connected feature. A link that was never converted to a Mochi tracking link, or a call booked through a scheduler Mochi isn't connected to, won't show up here. ### Internal Notes Internal Notes are a place to leave context on a lead that only your team can see — the lead never sees them, no matter what. Use them for qualification context, a heads-up for whoever picks up the conversation next, or coordination between a setter, closer, and manager working the same lead. Internal Notes follow the same visibility as the rest of the lead's profile: anyone who can already see the lead (per the roles above) can see notes left on them. ### Contact info Mochi stores the contact details it has for a lead — for example, the email and phone captured automatically when they book through a tracked Calendly link. Contact info fills in as it's captured, so it won't be complete for every lead, especially early in a conversation. ### Tips * Click **Summarise** before jumping into an old conversation instead of scrolling back through everything yourself. * Use Summarise for handoffs, not just cold leads — copy the summary (or drop it in an Internal Note) whenever a setter passes a lead to a closer, or to another setter. * Use timeline events to confirm whether a link or booking actually reached this specific lead before assuming it didn't work. * Treat missing contact info as "not captured yet," not as a sign something's broken. ### Common mistakes & fixes | Mistake | Fix | | ----------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | | AI summary is missing | AI access isn't enabled for your organization. | | Expected a link-clicked event but don't see one | Confirm the link was sent as a Mochi tracking link, not pasted as a raw URL — raw links aren't tracked. | | Expected a booking on the timeline but it's not there | Confirm your scheduler (Calendly or iClosed) is still connected, and that the booking went through a tracked link or the in-app wizard. | | Contact info blank | Nothing has captured it yet. It fills in once, for example, the lead books a call and shares an email or phone number. | | Closer walks into a call with no context on the lead | Have the setter click Summarise and pass the copy along (or leave it as an Internal Note) before the handoff. | ### Limits & good to know * The AI summary requires AI access enabled for your organization. * Timeline events depend on connected integrations (tracking links, Calendly/iClosed). Disconnecting an integration doesn't delete history already recorded, but new events stop. * Internal Notes are never visible to the lead, under any circumstances. * Closers only see profiles for their own assigned leads. **Related:** * The Inbox * Change a lead's stage * *Lead Summary (custom AI summary)* (Module 04) * *Tracking links & attribution* (Module 06) --- # Changing a lead stage ## Change a Lead's Stage **What it is** — Every lead sits in one stage of your funnel at a time. Some stages move automatically as a conversation progresses; others you set by hand as your team works the lead toward a close. Knowing which is which keeps your pipeline data trustworthy. **Who can use it** — Setters and Closers change stages for their own assigned leads; Managers and Creators can change stages for any lead in the organization. Available on both Web and iOS. ### The stages Mochi moves every lead through this sequence: **New** → **In contact** → **Qualified** / **Unqualified** → **Booked call** → **Deposit** → **Won** / **Lost** / **No show**. **Won**, **Lost**, **Unqualified**, and **No show** are terminal — a lead sitting in one of these isn't expected to move further. ### Which stages are automatic vs. manual | Stage | How it's set | | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | | New | Automatic — every new lead starts here. | | In contact | Automatic — set once a real back-and-forth conversation is established. | | Qualified | Hybrid — set manually by a setter, or automatically when a tracked Calendly link is sent to the lead. | | Unqualified | Manual, or automatic if your spam filter catches the conversation (see Module 04). | | Booked call | Hybrid — set manually, or automatically when the lead books through a tracked Calendly link. | | Deposit | Manual. | | Won | Manual. | | Lost | Manual. | | No show | Manual. (If you use iClosed, a cancelled booking can also move a lead to **Qualified** or **No show** automatically, depending on who cancelled.) | ### How to use it **Web:** 1. Open the `Sidebar > Leads` page. 2. Change a single lead's stage directly in its row, or tick checkboxes on several leads and use the action bar's **Status** option to update stages in bulk. **iOS:** 1. Open the **Leads** tab. 2. Long-press a lead row to change its status, or tap **Edit**, select multiple leads, and use the bottom bar's **Status** option. You can also change a single lead's stage from within its conversation profile in the Inbox, on either platform. ### Recording an unqualify reason When you move a lead to **Unqualified**, record why — for example, a financial objection, a time waster, or someone who ghosted. This keeps your funnel data useful: you can spot patterns in why leads drop out instead of just watching a number shrink. ### Tips * Set a lead to **Qualified** as soon as it's genuinely earned, whether by hand or by sending a tracked booking link — dashboard and reporting numbers depend on accurate stage timing. * Always fill in an unqualify reason. Leaving it blank across a batch of unqualified leads makes it impossible to diagnose what's going wrong upstream. * Use bulk status updates from the Leads page when clearing a backlog rather than opening each conversation one at a time. ### Common mistakes & fixes | Mistake | Fix | | ----------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | | Lead stuck below Qualified when it should have auto-updated | Check whether the booking link was actually sent as a tracked Mochi link, not pasted raw — only tracked links trigger the automatic status change. | | Bulk status update doesn't show immediately | Bulk actions on large lists run in the background. Give it a moment and refresh. | | Unqualified leads pile up with no reason recorded | Make recording a reason part of the habit — it's the only way to see why leads are dropping out. | ### Limits & good to know * Bulk stage changes on large lead lists run in the background and may take a moment to reflect everywhere. * Only Setters, Closers, Managers, Creators, and AI Setters are eligible to own a lead; stage-change visibility follows the same rules as the rest of the pipeline (Closers only see their own). * iClosed cancellations can automatically move a lead to Qualified or No show. If Mochi can't tell who cancelled, it leaves the stage alone rather than guessing. **Related:** * The Inbox * Lead profiles & timeline * *AI tags: auto-tag leads by intent* (Module 04) * *Connect Calendly* (Module 06) --- # Tags & Inbox Categories **What it is** — Tags are labels you attach to leads to describe who they are or where they sit in your process. Inbox categories are smart folders built from rules (stage, tag, source, or link) that filter your conversation list down to one slice at a time. Together they turn a long, undifferentiated inbox into focused work queues. **Who can use it** — Everyone on the team uses tags and category filters day to day. Only **Creator** and **Manager** roles can create or edit tags, and only they can run AI auto-tagging. Available on both Web and iOS, with one exception noted below. ### How to use it **Web:** `Settings > Tags` (or the **Tags** item in the sidebar) to manage tags; `Inbox > Edit Categories` to manage categories. **iOS:** `Settings > Tags` to manage tags. Category editing is web-only. #### Applying and removing a manual tag 1. Open the lead, from either the Inbox or the Leads page. 2. Add or remove a tag directly on the lead — a manual tag needs no AI prompt. 3. Use the Leads page to tag many leads at once: select leads via checkboxes, then choose **Tags** from the action bar (web), or tap **Edit > select leads > Tag** (iOS). #### Creating a tag (Creator/Manager only) 1. Go to `Settings > Tags`. 2. Create a new tag and give it a **name** and a **color**. 3. Leave it as a manual tag, or attach an AI prompt to make it auto-apply — that's covered separately in *AI tags: auto-tag leads by intent* (Module 04); this article covers manual tags only. ### Inbox categories: OR vs. AND A category is a list of rules — by lead stage, tag, source, or link. How you combine them changes what shows up: * Shows a conversation that matches *any* rule in the category. Categories are personal to each member — building one doesn't change what your teammates see. ### Tips * Start with a small number of tags. A handful of well-defined tags beats dozens of overlapping ones nobody remembers the meaning of. * Use color deliberately — a consistent scheme (for example, red for objections, green for hot leads) makes the inbox scannable at a glance. * If an AND category looks empty, that's often correct rather than broken. Switch to OR if you want a broader view. ### Common mistakes & fixes | Mistake | Fix | | ------------------------------------------ | -------------------------------------------------------------------------------------- | | Tag never applies automatically | It has no AI prompt attached — a tag with an empty prompt stays manual-only by design. | | Setter can't create a tag | Tag creation is limited to Creator and Manager roles. Ask an admin to create it. | | Category changes not visible to a teammate | Categories are personal — you can't build one on someone else's behalf. | ### Limits & good to know * Only Creators and Managers can create, edit, or AI-run tags. * Inbox category editing is rolled out gradually and may not appear for every organization yet. * On iOS you manage tags in Settings, but category editing is web-only. * AI-prompt tags (auto-tagging by intent) are covered separately — see *AI tags: auto-tag leads by intent* (Module 04). **Related:** * The Inbox * *AI tags: auto-tag leads by intent* (Module 04) * *The Leads page: work your pipeline* (Module 02) --- # Slash commands & Templates ## Slash Commands & Message Templates **What it is** — Type `/` in the composer to pull up everything your team has saved in Content Hub — templates, links, and media — and drop it straight into a DM without retyping or re-uploading. Templates are reusable, multi-step scripts that can mix text, images, video, voice notes, and files, with placeholders that personalize automatically. Content Hub actually holds four types of saved content — Links, Templates, Media, and Prompts. The `/` menu here surfaces the first three; Prompts, reusable AI prompt templates, surface separately in the AI thinking flow rather than the composer. **Who can use it** — Anyone on the team can use the `/` menu and create Content Hub items. Available on both Web and iOS. **Before you start** — Content Hub is gated by a feature flag and may not appear for every organization yet. ### How to use the `/` menu 1. Open any conversation and click into the composer. 2. Type `/` to open the menu. It shows tabs for **All**, **Links**, **Templates**, and **Media**, plus a search box. 3. Keep typing after `/` to filter by title. 4. Select an item — template text renders with its placeholders already filled in, and media or links attach ready to send. ### Creating a template **Web:** `Sidebar > Content Hub` (or `Settings > Content Hub`), then use the **New Template** action card. **iOS:** `Settings > Content Hub`, then use the add control and choose **Template**. 1. Add steps in order. Each step can be text, an image, a video, a voice note, or a file. 2. Write your message for a text step, using placeholders where you want it personalized. 3. Add more than one phrasing to a step if you want variety — Mochi rotates between them so repeated sends don't read identically to different leads. 4. Save the template. ### Placeholders Use these tokens in a text step; Mochi fills them in automatically when the template sends: * `{{lead_name}}` * `{{lead_username}}` * `{{setter_name}}` * `{{closer_name}}` * `{{organization_name}}` * `{{link:Title}}` — pulls in a saved Link from Content Hub by its title (case-insensitive match) An unrecognized token, such as a typo like `{{first}}`, isn't resolved — it sends literally as text. ### Variant rotation and cooldown When a template step has more than one phrasing, Mochi rotates between them automatically on send, so the same template doesn't read identically to every lead. Mochi also cools down a template that's being sent unusually often, adding a human-like delay rather than firing it the same way over and over — part of how Mochi keeps repeated sends feeling natural instead of obviously automated. ### Tips * Add two or three phrasing variants to your most-used opener steps so leads talking to each other don't see identical scripts — it also feeds Mochi's automatic rotation and cooldown, which keeps heavily-used templates looking human. * Keep template names specific ("Booking follow-up — no reply 24h") so the `/` menu search actually helps instead of forcing you to scroll. ### Common mistakes & fixes | Mistake | Fix | | ----------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | | Placeholder shows up literally in the sent message | Check spelling — only the exact listed tokens resolve. | | `{{link:Title}}` didn't fill in | The title doesn't match a saved Link closely enough. Check spelling in both places — matching is case-insensitive, not fuzzy. | | A field renders blank | The underlying data doesn't exist for that lead yet (for example, no assigned closer). Placeholders only resolve from data that's actually present. | | A multi-variant template only ever shows its first phrasing | Reported occasionally rather than a known setup mistake — if rotation seems stuck, try re-saving the template's variants. | | Content Hub or the `/` menu is missing entirely | It's gated by a feature flag and may not be enabled for your organization yet. | ### Limits & good to know * Content Hub is gated by a feature flag, so it may not appear for every organization. * Placeholders only resolve from lead, assigned setter/closer, and organization data that exists — empty fields render blank rather than erroring. * Variant rotation and template cooldown both run automatically — there's no setting to turn either on or off. **Related:** * Send images, videos, GIFs & files * Voice notes * The Inbox * *Tracking links & attribution* (Module 06) --- # Sending images, video's and GIFs ## Send Images, Videos, GIFs & Files **What it is** — You can attach media to a DM from inside a lead's conversation, and save anything you reuse often — an image, video, GIF, meme, or voice memo — once in Content Hub so your whole team can drop it into a chat without re-uploading. **Who can use it** — Anyone on the team. Available on both Web and iOS. **Before you start** — Content Hub is gated by a feature flag and may not appear for every organization yet. ### How to use it 1. Open the conversation you want to send media in. 2. Open the composer's add or slash (`/`) menu. 3. Pick **Media** to insert something already saved in Content Hub — images, video, GIFs and memes, and voice memos all live here. 4. Review the attachment, then send. ### Saving reusable media in Content Hub **Web:** `Sidebar > Content Hub` (or `Settings > Content Hub`), then use the **Upload Media** action card. **iOS:** `Settings > Content Hub`, then use the add control and choose **Media**. Upload an image, video, GIF, meme, or voice memo once — it's then available to your whole team from the `/` menu in any conversation, and it can be used as a step inside a message template (see Slash commands & message templates). A GIF or meme uploads the same way as any other file — there's no separate GIF search picker, so bring your own file. ### Tips * Save anything you send more than a few times — a proof screenshot, a testimonial video, an intro voice note, a reaction GIF — as Content Hub Media instead of re-uploading it from your device each time. * Pair media with a template step so the right caption always goes out alongside the file. ### Common mistakes & fixes | Mistake | Fix | | ------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | Can't find a saved image or video in a chat | Confirm it was uploaded as Content Hub Media, then check the **Media** tab of the `/` menu. | | A GIF sent from a template appears to send twice | Reported occasionally when a GIF is attached as a template step — a display quirk, not something you did wrong. If it keeps happening on the same template, try re-saving that step. | | Content Hub or the media picker is missing | Gated by a feature flag — may not be enabled for your organization yet. | ### Limits & good to know * Content Hub is gated by a feature flag, so it may not appear for every organization yet. * GIFs and memes are supported as Content Hub Media, uploaded the same way as an image or video — not through a separate searchable GIF picker. **Related:** * Slash commands & message templates * Voice notes * The Inbox --- # Voice Notes **What it is** — Send a lead a voice note two ways: type your message and click the (purple) voice-note icon to have Mochi speak it in the creator's cloned voice, or save a fixed, pre-recorded memo once in Content Hub and reuse it across leads. Either way, it delivers as a native Instagram voice note in the thread. **Who can use it** — Anyone on the team can send a voice note, once the org has the relevant setup done: voice cloning configured for the cloned-voice flow, or a saved memo in Content Hub for the fixed-memo flow. Available on both Web and iOS. **Before you start** — The cloned-voice flow needs voice cloning already configured for your organization — see *Voice cloning (ElevenLabs)* (Module 04). Saving a fixed voice memo instead only needs Content Hub, which is gated by a feature flag and may not appear for every organization yet. ### How to send a cloned voice note 1. Open the conversation and type your message in the composer, exactly as you'd write it to send as text. 2. Click the voice-note icon instead of send — it's purple. 3. Let Mochi convert what you typed into audio, spoken in the creator's cloned voice. 4. Preview it, then send. It delivers as a native Instagram voice note in the thread. Write it the way you'd actually say it out loud. Since the clone reads your exact text, stiff or overly formal phrasing comes out sounding stiff and formal too. ### Saving a fixed voice memo instead If you'd rather send the same pre-recorded memo to multiple leads — an intro, a testimonial read-aloud, anything that doesn't need to change per lead — record it once and save it as Content Hub Media. **Web:** `Sidebar > Content Hub` (or `Settings > Content Hub`), then use the **Upload Media** action card to save a voice memo. **iOS:** `Settings > Content Hub`, then use the add control and choose **Media**. 1. Record or upload your voice memo once and save it as Media in Content Hub. 2. Type `/` in the composer of any conversation to open the menu. 3. Select your voice memo from the **Media** tab. 4. Preview it, then send. You can also build a voice note into a message template as one of its ordered steps. See Slash commands & message templates. ### Tips * For cloned voice notes, type naturally — short sentences, contractions, the way you'd actually talk — since the clone reads exactly what you write. * Record fixed memos in a quiet space with a natural, conversational tone — the same habit that makes a good voice clone also makes a good saved memo. * Save a handful of your best, most natural-sounding recordings as reusable Media for moments where you want one fixed, consistent line instead of a freshly generated one every time. * If a cloned voice note sounds robotic, that's a voice-cloning setup issue, not something to fix per message — see the troubleshooting table in *Voice cloning (ElevenLabs)* (Module 04). ### Common mistakes & fixes | Mistake | Fix | | -------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Voice-note icon is missing or does nothing | Voice cloning isn't configured for your organization yet. See *Voice cloning (ElevenLabs)* (Module 04). | | Cloned voice note sounds stiff or robotic | That's usually the underlying voice clone, not this message — check the recording quality and stability settings covered in Module 04's troubleshooting table. | | Can't find a saved voice memo in a chat | Confirm it was uploaded as Content Hub Media, then check the **Media** tab of the `/` menu. | | Looking for a way to send the exact same memo every time | That's the fixed-memo path above, not the cloned-voice icon — save it once as Content Hub Media. | ### Limits & good to know * The cloned-voice icon needs voice cloning configured for your organization — see *Voice cloning (ElevenLabs)* (Module 04). * A saved voice memo (the fixed-memo path) sends the same audio to every lead and doesn't need voice cloning at all. * Content Hub is gated by a feature flag, so it may not appear for every organization yet. * Sending either type of voice note is still a real DM, so it's bound by Instagram's reply window like anything else you send. **Related:** * Slash commands & message templates * Send images, videos, GIFs & files * *Voice cloning (ElevenLabs)* (Module 04) * The Inbox --- # AI reply suggestions **What it is** — When a lead messages you, Mochi's AI drafts 2–3 ready-to-send reply options right in the Inbox, each labeled by intent. You pick one, edit it, or ignore it — Mochi never sends a suggestion on its own. **Who can use it** — Setters and Closers use suggestions day to day while working the Inbox. Creators and Managers set up the voice and playbook the AI drafts from. Suggestions appear on both Web and iOS; the underlying setup (Setter Playbook and Creator DNA) is web-only. **Before you start** — Your organization needs AI Setter enabled and a completed Setter Playbook for suggestions to be more than generic. See *Set up your AI: Setter Playbook & Creator DNA* (Module 04). ### How to use it Suggestion cards appear above the composer in any open conversation, each tagged with an intent category — for example, a question, guidance with a next step, or a rapport-building reply. 1. Open a conversation with a new lead reply. 2. Review the 2–3 suggestion cards above the composer. 3. Click or tap the one that fits, or press **Ctrl+1**, **Ctrl+2**, or **Ctrl+3** on web to pick one directly. 4. Edit the text if needed. 5. Send. ### How it works The AI drafts from two sources: * **Voice** — picked up from the creator's own past sent messages: phrasing, length, emoji use, formality. * **Playbook** — learned from conversations that led to booked calls or payments, plus what the coach enters during setup (business description, call-to-action link, offer, audience). If you edit a draft before sending, Mochi remembers both the original suggestion and your edit, so future suggestions keep getting closer to how your team actually writes. This is edit-to-learn: the more your team edits instead of ignoring, the sharper suggestions get over time. ### The 24-hour window dependency Suggestions only appear inside Instagram's 24-hour reply window (or the 7-day extension, for the small subset of organizations that have it, on manual sends only). Once the window closes, you get a copy-and-open-Instagram option in place of suggestions, since Mochi can't send anything until the lead messages again. ### Setting up the voice and playbook (web only) Configure the AI's voice and playbook at `Settings > Intelligence > Setter Playbook` (and **Creator DNA**). A Test Playground lets you preview drafts before they go live. On iOS, `Settings > Intelligence` only covers Voice Cloning, Lead Summary, and Spam Filter — playbook and Creator DNA setup has to happen on web. See *Set up your AI: Setter Playbook & Creator DNA* (Module 04) for the full setup walkthrough. ### Script Analysis Separately from suggestion drafting, Mochi tracks which exact lines and openers get the best — and worst — reply rates, both account-wide and broken down per team member, and you can filter by funnel stage. Use the worst-performing lines to see where a script needs work, or where it just doesn't land with your audience; use the best-performing lines to standardize what's already working across the team. Look for Script Analysis alongside your other performance reporting — see *The Performance dashboard* (Module 07). ### Tips * Edit suggestions rather than ignoring them when they're close but not quite right — editing is what teaches the AI your team's real voice. * Expect generic drafts on a brand-new account or a thin conversation history. They sharpen as more conversations and a completed Setter Playbook accumulate. * Don't expect the AI to quote a price or re-send a booking link it already sent in the same conversation — it deliberately avoids both. * Check Script Analysis periodically and retire your worst-performing lines instead of only ever adding new ones. ### Common mistakes & fixes | Mistake | Fix | | --------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | | Suggestions feel generic | Normal on a new account or thin history. Complete the Setter Playbook and give it more conversations to learn from. | | No suggestions showing at all | Confirm AI Setter is enabled for your org and that you're inside the 24-hour reply window (or the 7-day extension, if eligible). | | Suggestions never seem to improve | Make sure your team edits drafts before sending rather than always typing from scratch or always sending as-is — both skip the learning signal. | | Playbook setup missing on iOS | Expected. Setter Playbook and Creator DNA setup is web-only — use `Settings > Intelligence` on web. | ### Limits & good to know * Suggestions only appear inside the reply window; outside it, you get a copy-and-open-Instagram option instead. * Drafts stay generic without a completed Setter Playbook and enough message history. * Setter Playbook and Creator DNA setup is web-only, even though suggestions themselves appear on both platforms. * Availability depends on your organization having AI Setter enabled. **Related:** * The Inbox * *Set up your AI: Setter Playbook & Creator DNA* (Module 04) * *The 24-hour reply window (and the 7-day extension)* (Module 01) * *The Performance dashboard* (Module 07) --- # Setup your AI setter ## Set Up Your AI: Setter Playbook & Creator DNA **What it is** — The Setter Playbook and Creator DNA are the two engines behind every AI feature in Mochi. AI reply suggestions, Away Mode, AI Mode, and the annotations in the Training Center all draw on them. The Setter Playbook is what you tell Mochi about your business — your offer, your audience, your tone, your rules. Creator DNA is what Mochi learns on its own from the messages your team has actually sent. Together, they're what makes AI-drafted replies sound like you instead of a generic bot. **Who can use it** — Creator and Manager can open and edit the Setter Playbook and Creator DNA setup. **Web only** — this setup does not exist on iOS. The iOS app's `Settings > Intelligence` screen covers Voice Cloning, Lead Summary, and Spam Filter, but not the Setter Playbook or Creator DNA wizard; do this part on a desktop browser. **Before you start** * Connect Instagram and let real conversations accumulate first. The AI learns from actual sent messages, so an empty inbox gives it nothing to learn from. * Gather your core business inputs before you sit down: your niche, your ideal customer, your best-performing opener, your offer, your booking/CTA link, and a rough list of who is *not* a good fit. * If you use Calendly, connect it first (`Settings > Integrations`). The CTA link you enter in the wizard needs to exactly match the one Mochi already tracks, or bookings won't auto-update lead status. ### How the AI setup works Mochi's AI Setter runs on two complementary sources: * **Setter Playbook** — a structured set of fields you fill in yourself: your business, your offer, your audience, your tone, your rules for qualifying and disqualifying, and example conversations. These fields are static. Mochi doesn't rewrite them on its own — they only change when you edit them. * **Creator DNA** — a profile Mochi builds automatically by analyzing the messages your team has actually sent to leads: your tone, your phrasing, your emoji habits, how you tend to handle objections. Creator DNA keeps evolving the more you use Mochi. You don't maintain it by hand. AI reply suggestions, Away Mode, and AI Mode all draw on both sources together. The Playbook tells the AI what to say and where the lines are; Creator DNA tells it how to sound saying it. ### Fill in your Setter Playbook Open `Settings > Intelligence > Setter Playbook`. The wizard is organized into five parts, worked through in order. #### 1. Business identity * Your niche/industry — be specific ("1:1 fitness coaching for postpartum women," not just "coaching"). * A description of your ideal customer. * Real example opening messages from actual leads, if you have them. * Your single best-performing opener. This is the most influential input for how the AI's tone comes across, so don't skip it. * Proof points, credentials, and social proof — the AI weaves these into conversation naturally rather than dumping them all at once. * An explicit list of who is **not** a good fit. This feeds the disqualification logic later in the wizard. #### 2. Conversation goal Choose whether the AI should aim to **book a call** or **close in DMs**. As a rule of thumb, booking a call tends to fit better once your offer is priced above roughly $3,000; below that, closing in DM can work fine. #### 3. AI personality * Pick a tone preset: Casual & Friendly, Professional & Direct, High Energy, or Mirror the Lead. * Pick a message format: Short Bubbles (multiple quick messages) or Single Message. * Set formatting toggles individually — lowercase, abbreviations, emojis, special characters, and exclamation marks are each their own on/off switch, not a bundled style preset. The emoji toggle controls whether the AI *uses* emoji in its own messages — it's a separate thing from message reactions (reacting to a lead's message with an emoji), which isn't a Mochi feature. * Add **Custom Vocabulary**: phrases you actually use, and phrases to avoid. Common "avoid" entries: never state a specific price in DMs, never let a conversation sit for 24+ hours without a follow-up, never chase a lead more than 3 times, and avoid AI-sounding phrasing like "that's not just X, it's Y." #### 4. Conversation flow Configure four tabs — Openers, Qualify & Nurture, CTA, and Follow-up: * Set 3–5 qualification checkpoints and 2–3 qualifying triggers. The AI weaves these into natural conversation rather than firing them as a rigid questionnaire. * Set disqualification triggers and choose what happens next: politely end the conversation, send a free resource, keep talking without a CTA, or remove the lead from the inbox. See "Don't dead-end disqualified leads" below before picking "remove." * On the CTA tab, the booking link must **exactly match** the one connected in `Settings > Integrations`. Always let Mochi send it — a copy-pasted link won't carry tracking and won't auto-update the lead's stage. * Follow-up defaults are a 24-hour delay between attempts, up to 3 follow-ups, then either mark the lead cold, send one final message, or move it into a longer cold-nurture sequence. #### 5. Train your AI Work through 7 required training tabs: Openers, Budget, Hesitation, Competitors, Qualifying, Closing, and Follow-ups. For each scenario, either accept the AI's suggested reply as-is (**Use Reply**) or rewrite it (**Edit**). Budget 20–30 minutes for a first pass. This step is also where you set **Guardrails**: hard rules that override everything else in the Playbook, such as never stating a specific price, never guaranteeing results, and always routing to a human if someone raises anything legal. Human handoff rules also live in this section. The defaults are sensible for most accounts — leave them alone unless you have a specific reason to add a custom trigger. ### Generate a first draft automatically You don't have to start the Playbook from a blank page. Inside the wizard, an action generates a full draft Setter Playbook from your existing account data, covering business identity, lead archetypes, qualification stages, and a permission-based closing script. Download it, review it, and bring it back in as training material (see below) instead of writing everything from scratch. ### Add your own playbook content The training-material step in the wizard is a **pasted text field**, not a traditional file upload — you paste content directly into it rather than attaching a document. Content should be plain text or Markdown-formatted. If you already have a sales playbook or SOP written up elsewhere — including the auto-generated draft from the step above — this is where it goes: merge it with the wizard's structure (optionally using Claude or ChatGPT to help merge and trim it down to size), then paste the result in. Keep pasted content concise — **around 20,000 characters** is the commonly-cited working guideline for this field. > **Download:** [mochi-setter-playbook-interview-prompt.md](https://themochi.app/docs/files/mochi-setter-playbook-interview-prompt.md) ### Creator DNA: your voice, learned automatically Creator DNA is built from messages your team has already sent — you don't fill anything in here yourself. Once there's enough sent-message history, Mochi's analysis typically surfaces things like: * Your casual-vs-formal tone split, as a percentage. * How often you use emoji. * How often you ask questions. * Signature phrases and greetings you use repeatedly. * Vocabulary patterns. * How you tend to respond to specific objection types (timing, authority, and so on). * A summary stat line — for example, "analyzed 885 messages, average length 16 words." Because Creator DNA is learned rather than configured, the way to improve it is simple: keep sending real messages through Mochi. It keeps refining itself as your team's message history grows. ### The AI Setter data benchmark The Setter Playbook wizard and the related AI review tools (see the Training Center article) need enough real conversation history before they're considered ready to unlock automatically. The figure cited internally is roughly **500 messages or 500 leads** of history. If you're confident you already have enough volume before hitting that mark, you can also request an early manual unlock. ### Test Playground Before AI-drafted replies go live in the inbox, use the Test Playground to preview what the AI would say based on your current Playbook and Creator DNA settings. Use it after any significant edit to the wizard to sanity-check tone and content before your team sees it in real conversations. ### Nurture resources and the seven-hour rule Not every lead is ready to book or buy the moment they show interest. Mochi's working theory is that a cold lead typically needs somewhere around seven cumulative hours of exposure to your content before they convert — which is why the Conversation Flow tabs let you attach nurture resources (an ebook, a YouTube video, a Loom, a case study) for leads who aren't ready yet. For a resource that already lives online — a podcast episode, a YouTube video — don't upload a file. Create a **new Link** in Content Hub pointing at it (the same mechanism used for tracking links generally), then reference it by name from the wizard or in chat via the `/` menu. Save an actual file (an image, a short clip) as **Media** in Content Hub instead. ### Don't dead-end disqualified leads When a lead gets disqualified, avoid routing them straight to "remove from inbox." A gentler default is to redirect them to a free resource — a podcast link is a common example — so they stay in your ecosystem instead of disappearing. Avoid archiving or deleting leads outright: a financial objection today doesn't mean never, and a future downsell offer can still convert someone who said no to your core offer. ### Tips * Do the setup yourself before handing Mochi to your team — you'll understand the product better and be able to answer their questions. * Your best-performing opener is the single highest-leverage input in the whole wizard. Spend real time getting it right. * Revisit the Playbook periodically as your offer, audience, or objections evolve — it doesn't update itself the way Creator DNA does. * Connecting Mochi to Claude (see Integrations & Tracking) can surface extra insight into which objections come up most and how they're handled — useful context while you're refining the Playbook. ### Common mistakes & fixes | Mistake | Fix | | ------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | | Pasting the CTA link instead of sending the connected Calendly link | Always let Mochi insert the tracked link — a raw pasted link breaks auto-status updates. | | Writing a vague "who's a good fit" description | Be specific — name the niche, budget range, and problem, not just "coaches" or "entrepreneurs." | | Treating disqualification as a dead end | Route disqualified leads to a free resource or cold nurture instead of removing them outright. | | Expecting Creator DNA to reflect your voice on day one | It needs real sent-message history first — it improves the more the team uses Mochi, not instantly. | | Skipping the Test Playground before rolling out changes | Preview any Playbook edit before your team starts relying on AI suggestions built on it. | ### Limits & good to know * Setter Playbook and Creator DNA setup is **web-only**. On iOS, `Settings > Intelligence` only covers Voice Cloning, Lead Summary, and Spam Filter. * AI features stay generic until there's enough data behind them — a brand-new account sees generic suggestions until the Playbook is filled in and message history accumulates. * Guardrails set in the "Train your AI" step override every other setting in the Playbook — use them for anything genuinely non-negotiable (pricing, guarantees, legal topics). **Related:** AI Tags, Lead Summary, Spam Filter, AI Setter: Suggestion Pills, Away Mode & AI Mode, Training Center, Voice Cloning. Also see **AI Reply Suggestions** and **The Inbox** (Module 03), and **Connect Calendly** (Module 06). --- # AI Tags ## AI Tags: Auto-Tag Leads by Intent **What it is** — An AI tag is a label that Mochi applies to a lead automatically, based on a plain-language prompt you write instead of a fixed keyword. Mochi reads the conversation, checks it against your prompt, and applies (or removes) the tag as the conversation evolves — catching intent even when a lead phrases it ten different ways. **Who can use it** — Only **Creator and Manager** can create or edit tags, write AI prompts for them, or run a Retag. Other roles can see and filter by tags on leads they already have access to. Available on **web and iOS**, both at `Settings > Tags`. **Before you start** — A lead needs some conversation history before an AI tag has anything to evaluate; a brand-new, empty conversation won't match any prompt yet. ### How AI tagging works Once a tag has an AI prompt attached, Mochi: 1. Reads the full conversation for each lead. 2. Checks it against the tag's prompt, matching on **intent**, not just exact wording. A "Hot Lead" prompt built around urgency catches "I'm ready," "where do I sign up," and "how do I get access" as the same signal. 3. Re-evaluates automatically every time a new message comes in, so a tag can start — or stop — applying as the conversation moves. 4. Optionally requires a **minimum number of lead messages** before it evaluates at all, so a tag doesn't fire off a single "hey." Tags can also match on either side of the conversation — what the *lead* said or what the *setter* said. A "Booking Link Sent" tag, for example, can fire whether the setter says "here's the link" or the lead asks for one. ### AI Tags vs. Pattern Match Every tag runs in one of two modes: | Use AI Tags when... | Use Pattern Match when... | | ------------------------------------------------------------- | ------------------------------------------------------------------ | | A lead could phrase the same thing 10 different ways | A setter sends a specific, copy-pasted script or phrase | | Intent matters more than exact wording | You want to track one literal keyword or trigger word | | You're catching qualifying signals, objections, or engagement | You're tracking outbound opener scripts or a specific campaign CTA | Pattern Match also supports matching a full sentence or phrase, not just a single keyword — useful for detecting that a lead's opening message matches a specific bio-link CTA. ### Create a tag with an AI prompt **Web and iOS** (same nav path): 1. Go to `Settings > Tags`. 2. Click **New Tag** and give it a name and color. 3. Choose **AI Tag** as the type. 4. Write your prompt (see "Writing a strong AI tag prompt" below). 5. Set a minimum lead-message threshold if you want one. 6. Click **Save**. 7. Click **Retag leads** to sweep it across existing conversations — a new tag only evaluates new activity going forward until you do (see "Retag" below). ### Writing a strong AI tag prompt Write the prompt like you're briefing a new hire whose only job is to apply this one tag. Be specific. State what qualifies and what explicitly does **not**. **Weak:** "Tag if the lead seems interested." **Strong:** "Tag as Hot Lead if the lead explicitly expresses urgency or readiness to buy after being nurtured. Examples: 'I'm ready,' 'where do I sign up,' 'how do I get access,' 'I want in.' Do NOT tag if they're just asking general questions." Vague prompts are the single most common cause of "my AI tags aren't firing correctly." If a tag is under- or over-firing, the fix is almost always to tighten the prompt with more explicit examples and exclusions — not a platform bug. You can paste a draft prompt into Claude or ChatGPT and ask it to rewrite it as a specific, unambiguous tagging instruction. For objection tags specifically, scope them to fire **only after a CTA has been sent**. A lead asking "how much is it?" before any offer has been made isn't an objection yet. ### Test before you go live Use the tag tester to check a prompt against real conversations before turning a tag loose on your whole inbox. This catches obvious over- or under-firing before it affects your team's daily filters. ### Retag: sweep your existing leads A tag only evaluates conversations going forward from the moment it's created or edited — it doesn't automatically reach back into your existing leads. Click **Retag leads** any time you create a new tag or meaningfully edit an existing prompt, so historical conversations get swept too. ### A starter tag library Don't try to cover everything on day one — start with 6–8 tags and expand from there. **Stage** | Tag | Type | | ----------------- | ------------- | | Hot Lead | AI | | Qualified | AI | | Booking Link Sent | Pattern Match | | Call Booked | Pattern Match | | No Show | Pattern Match | **Objection** (scope each to *only after a CTA has been sent*) | Tag | Type | | --------------------- | ---- | | Objection — Price | AI | | Objection — Time | AI | | Objection — Trust | AI | | Objection — Authority | AI | **Source** | Tag | Type | | ------------------------ | ------------- | | Source: \[Campaign name] | Pattern Match | | Source: Outbound | Pattern Match | | Source: Story Reply | Pattern Match | | Source: Referral | Pattern Match | **Engagement** | Tag | Type | | ------------------------------- | ------ | | Budget Confirmed | AI | | Needs Follow-Up | Manual | | Language routing (e.g. "Dutch") | AI | ### Tips * Create one distinct tag per campaign, story sequence, or reel keyword — it's the easiest way to see which content is actually converting in Performance, filtered by tag volume. * Add a few "lead archetype" tags mapped to your distinct customer profiles or objection patterns, so a setter opening a fresh conversation immediately knows how to approach that lead type. * Review tag performance monthly. If a tag is firing too broadly, tighten the prompt rather than deleting it. * A generic, manually-applied "Needs Follow-Up" tag is a simple, high-value addition alongside your AI tags. ### Common mistakes & fixes | Mistake | Fix | | ------------------------------------------------------------ | ------------------------------------------------------------------------------- | | Vague prompt ("tag if interested") | Rewrite with explicit qualifying phrases and explicit exclusions. | | Forgetting to Retag after creating or editing a tag | Click **Retag leads** every time — otherwise only new activity is covered. | | Objection tags firing on pre-CTA questions | Scope the prompt explicitly to "only after a CTA has been sent." | | Two tags catching the same lead unintentionally | Tighten both prompts' boundaries so they're mutually exclusive. | | Using an AI tag for something that's really one fixed phrase | Switch it to Pattern Match — simpler and more predictable for literal triggers. | ### Limits & good to know * Only Creator and Manager can create, edit, or Retag tags. * A tag needs enough conversation history (and, if set, enough lead messages) to evaluate — it won't fire on an empty thread. * AI tags need some baseline conversation data across your org to perform well, same as the other AI features in this module. **Related:** Set Up Your AI: Setter Playbook & Creator DNA, Lead Summary, Spam Filter. Also see **Tags & Inbox Categories** and **The Leads Page** (Modules 02–03). --- # Lead Summary ## Lead Summary: AI-Generated Conversation Insights **What it is** — Lead Summary reads a lead's full conversation and instantly surfaces the pain points, desires, key quotes, and red flags buried in it, so whoever picks up the conversation next can personalize a reply without re-reading the whole thread. **Who can use it** — Anyone who can see a lead's conversation can view their summary. Customizing the underlying prompt is a `Settings > Intelligence` change, and like the rest of Settings, it's expected to be a **Creator/Manager** action. Available on **web and iOS**. **Before you start** — A conversation needs some back-and-forth before there's anything meaningful to summarize. On iOS, the summary card only appears once AI is enabled for your org. ### How to view a lead's summary **Web:** 1. Open the lead's conversation in the Inbox. 2. Click **Summarize** to generate or refresh their summary. It appears alongside the conversation. **iOS:** 1. Open the lead's profile. 2. Look for the summary card (requires AI enabled for your org). ### What the summary includes By default, Mochi surfaces: * **Pain points** — what's actually bothering this lead. * **Desires** — the outcome they're chasing. * **Key quotes** — the lead's own words worth remembering. * **Red flags** — anything that should make a setter or closer cautious. Use it before replying to any conversation — including one that's gone cold for weeks — to personalize your message instead of sending something generic. ### Customize the summary prompt The default fields work well out of the box, but you can extend them. 1. Go to `Settings > Intelligence > Lead Summary`. 2. Edit the prompt. 3. Save. This applies **organization-wide, for every setter** — it isn't a per-person setting. Common customizations: * Add a budget-qualification field. * Flag a specific objection type you want surfaced explicitly. * Pull out a specific detail relevant to your offer (for example, a specific skill a lead wants to monetize). * Change the output format to match how your team likes to scan it. Write the custom prompt the same way you'd write an AI tag prompt or a spam filter prompt: plain language, specific about what you want extracted. ### Why this matters for handoffs A summary is one of the fastest ways to hand a conversation from a setter to a closer. Instead of the closer scrolling back through the whole thread before a call, the setter can copy the summary text and send it over, giving the closer a fast, accurate read on what's about to happen on the call. ### Tips * Click Summarize before every reply, not just on new leads — it's just as useful for reviving a conversation that's gone quiet. * If you're extending the prompt, test it on a few different leads before rolling it out. A field that reads well on one conversation can come back empty on another if the prompt isn't specific enough. * Pair Lead Summary with AI Tags. A well-tagged inbox plus a sharp summary means a setter can triage and personalize in seconds. ### Common mistakes & fixes | Mistake | Fix | | ----------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | | Skipping the summary on "boring" or old conversations | Run it anyway — cold leads often have red flags or quotes worth revisiting before a follow-up. | | Writing a summary-prompt edit that's too vague | Be as specific as you would with an AI tag prompt — name the exact field and what should populate it. | | Assuming a summary prompt edit is per-setter | It's organization-wide — one edit changes what every setter sees. | | Not re-running Summarize after a long new stretch of conversation | Refresh it — an old summary won't reflect messages sent since it was last generated. | ### Limits & good to know * The custom prompt applies to the whole organization — there's no per-setter version. * iOS shows the summary card only once AI is enabled for your org. * A summary is only as good as the conversation behind it — very short threads won't produce much. **Related:** Set Up Your AI: Setter Playbook & Creator DNA, AI Tags, Spam Filter. Also see **The Inbox** and **Lead Profiles & Timeline** (Module 03). --- # Spam Filter ## Spam Filter: Keep Junk Out of Your Inbox **What it is** — The spam filter reads incoming DMs against a prompt you write and automatically routes junk straight to Unqualified, before it ever reaches a setter's inbox. A well-tuned filter typically removes an estimated 20–30% of a typical inbox. **Who can use it** — Configuring the filter lives in `Settings > Intelligence`, and like the rest of Settings, it's expected to be a **Creator/Manager** action. Available on **web and iOS**. **Before you start** — Spend a few days collecting real examples of spam before you write the prompt. You'll get a far more accurate filter than guessing at patterns from memory. ### What the spam filter removes Typical spam patterns worth filtering: * Unsolicited service pitches ("I'll scale your business," agency/closer pitches, often with a Loom link attached). * Follow-for-follow requests. * Money requests. * Generic compliments with no actual question ("love your content!" and nothing else). * Bot-like or copy-paste patterns. * Emoji-only messages. * Cold outreach that leads with results or credentials before any real conversation. * Flattery that pivots into a pitch a message or two later. * "Free value" foot-in-the-door messages that are really an opener for a pitch. ### Build your filter prompt 1. **Screenshot spam DMs for 3–5 days** before turning the filter on. Don't rely on memory — real examples produce a sharper prompt. 2. **Upload the screenshots to Claude or ChatGPT** and ask it to find the patterns and write them up as a filter prompt. Structure the result as: an opening instruction, named pattern categories, the intent signals that identify each one, broadening rules that extend each pattern to catch close variations, and — critically — explicit **"Do NOT filter if…"** exceptions for anything that looks similar to spam but is actually a real lead. 3. Refine the draft until it's specific enough that a new hire could apply it consistently. ### Turn it on 1. Go to `Settings > Intelligence > Spam Filter`. 2. Paste your prompt. 3. Click **Save**. 4. Toggle the filter **On**. ### Monitor the first 7 days Check the Unqualified tab daily for the first week after activating. Manually move any false positives back to New Lead. Plan to re-tune the prompt every 2–3 weeks for the first month, then monthly after that as new spam patterns show up. ### Tuning: "Do NOT filter if…" * **Filter too aggressive?** Add explicit "Do NOT filter if…" exceptions for the legitimate patterns it's catching by mistake. At least one account has had the filter fully disabled after it started wrongly filtering real prospects — don't let it get that far. Check Unqualified daily in week one and tune early. * **Filter missing spam?** Add the new pattern you're seeing to the prompt, with a couple of real examples. The filter isn't all-or-nothing in practice. Even with it switched off, a setter can still manually unqualify an obvious spam message themselves. ### Tips * Write the prompt the same way you'd brief a new hire: plain language, specific patterns, specific exceptions. * Keep a running note of new spam patterns as they show up so your next tuning pass is fast. * Don't over-tune in week one based on a handful of messages — give it a real week of volume before making big changes. ### Common mistakes & fixes | Mistake | Fix | | ------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | | Turning the filter on without collecting real examples first | Spend 3–5 days screenshotting spam before writing the prompt. | | Skipping the first-week monitoring | Check Unqualified daily for 7 days — unnoticed false positives cost you real leads. | | Writing a prompt with no exceptions | Always include "Do NOT filter if…" cases for anything that could plausibly be a real lead. | | Never revisiting the prompt after setup | Re-tune every 2–3 weeks for the first month, then monthly — spam patterns evolve. | ### Limits & good to know * The 20–30% removal figure is a typical estimate, not a guarantee — actual results depend on your inbox and how specific your prompt is. * The filter is not all-or-nothing — setters retain the ability to manually flag an individual message as spam even when the automated filter is off. **Related:** Set Up Your AI: Setter Playbook & Creator DNA, AI Tags, Lead Summary. Also see **The Leads Page** and **Pipeline Stages** (Module 02). --- # AI Setter - Away mode ## AI Setter: Suggestion Pills, Away Mode & AI Mode **What it is** — This is the operational layer of Mochi's AI Setter: reply suggestions while you're actively working a conversation, full autonomous coverage while you're away, and the option to hand off an entire conversation — or a slice of your leads — to the AI outright. **Who can use it** — Suggestion pills appear for anyone working a conversation they have access to. Away Mode can be toggled by a member for themselves, or by a **Manager** on a team member's behalf. Assigning leads directly to the AI (Stage 3) is set from `Settings > Team > Lead Distribution`, a Creator/Manager area. **Before you start** — All of this is gated behind data. Your org needs AI Setter enabled and the Setter Playbook set up (see Set Up Your AI), plus enough accumulated conversation history — roughly the same \~500-message benchmark that unlocks the Playbook wizard itself. ### The three stages of AI Setter Mochi's AI Setter rolls out in three stages, each requiring more data and configuration than the last: 1. **Suggestion Pills** — the AI drafts replies; you choose whether to send them. 2. **Away Mode** — the AI covers your conversations while you're offline. 3. **AI as a team member (Beta)** — the AI carries its own slice of leads, same as a human setter. If you don't see a later stage yet, nothing is broken — your org likely hasn't accumulated enough conversation data to unlock it. Keep using Mochi and it will unlock. ### Stage 1: Suggestion pills Above the composer, Mochi shows 2–3 AI-drafted replies for the conversation you're in, each based on your Creator DNA, your Setter Playbook, and how similar conversations have performed. Tap or click one to send it as-is, or edit it first — editing teaches the AI, so a correction today improves tomorrow's suggestions. This lives in the Inbox itself; see **AI Reply Suggestions** (Module 03) for the full composer mechanics, including the web keyboard shortcuts. ### Stage 2: Away Mode Away Mode hands your conversations to the AI while you're offline, replying in your own voice and style via Creator DNA. It only covers **your own assigned leads** — it doesn't touch anyone else's inbox. **Manual Away Mode:** 1. Set yourself (or have a Manager set you) to Away. 2. Choose a duration: **30 minutes, 1 hour, 2 hours, 4 hours, rest of the day, or tomorrow**. 3. Click **Return from away** when you're back to see a summary of what the AI handled while you were out. While you're marked Away, the AI handles new incoming messages on your assigned leads automatically. **Automatic (inactivity-based) Away Mode:** each member has a configurable idle timeout — **30 minutes by default**, adjustable anywhere from **1 minute to 24 hours**. If Away Mode is enabled for that person and they go inactive past their timeout, the AI takes over automatically until they're active again. **Manager control:** 1. Go to `Settings > Team`. 2. Find the team member. 3. Toggle Away Mode and set a duration on their behalf. Good use cases: lunch breaks, the gym, sleep, sick days, and timezone gaps where no human setter is online. ### Stage 3: AI as a team member (Beta) Instead of only covering absent humans, you can give the AI its own standing share of leads. Assign it a percentage in `Settings > Team > Lead Distribution`, the same weighted-distribution screen used for human setters — the AI Setter is a distribution-eligible pseudo-member here, not a human seat on your team. Compare its performance against your human team, and scale its share up if it's outperforming — or back down if it isn't. ### AI Mode: hand off a single conversation Beyond Away Mode's automatic coverage, you can hand off one specific conversation to the AI directly. Click the **lightning-bolt icon** in that chat's topbar to switch AI Mode on. The AI then takes over responding to new messages in that conversation specifically. * AI-sent messages appear in **purple bubbles**, so anyone glancing at the thread can immediately tell which replies came from the AI. * Click **View Reasoning** on an AI-sent message to see why it replied the way it did. * Turn AI Mode off by clicking the toggle again, or simply by typing a reply yourself — sending a manual message is treated as a human-takeover signal. ### Tips * Spot-check Away Mode and AI Mode activity periodically, especially early on — don't assume it's handling every conversation exactly the way you would. This is a holdover habit from a real (since-fixed) bug where Away/AI Mode could message leads already marked Unqualified; it's patched now, but periodic spot-checks are still good practice. * Use the Return-from-Away summary to catch up fast instead of re-reading every conversation from scratch. * Start AI-as-a-team-member with a modest lead percentage and scale up only once you've compared its results against your human setters. * If suggestion pills seem generic, revisit your Setter Playbook and Creator DNA — the AI is only as sharp as what it's been given to learn from. ### Common mistakes & fixes | Mistake | Fix | | --------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | | Assuming Away Mode covers the whole inbox | It only covers that person's own assigned leads — give the AI its own distribution % if you want broader coverage. | | Not realizing typing a manual reply hands the conversation back | Typing in AI Mode is a takeover signal — expect it to switch control to you. | | Treating suggestion pills as auto-send | Mochi never sends a suggestion on its own — you always choose to send or edit. | | Ignoring View Reasoning when a suggestion looks off | Check it before assuming it's a bug — it often explains a legitimate read on the conversation you missed. | ### Limits & good to know * AI as a team member is in **Beta**. * Every stage here is gated by accumulated conversation data — a brand-new org won't have access to Away Mode or AI Mode on day one. **Related:** Set Up Your AI: Setter Playbook & Creator DNA, Training Center. Also see **AI Reply Suggestions** and **The Inbox** (Module 03), and **Lead Distribution** (Module 02). --- # Training Center ## Training Center: Review Your AI's Annotations **What it is** — Beyond drafting replies, Mochi's AI continuously annotates every conversation in the background — flagging links, objections, sentiment, scheduling signals, and engagement level. The Training Center is where you review those annotations and correct the ones it gets wrong, which is how the AI keeps getting sharper for your organization specifically. **Who can use it** — Expected to be a **Creator/Manager** area, consistent with the rest of Settings and Intelligence. **Before you start** — Enough conversation history to have generated annotations in the first place. See the data benchmark in Set Up Your AI. ### What the AI annotates Mochi's AI tags conversations behind the scenes across five categories: * **Link Detection** — classifies a link sent in conversation as Booking, Payment, Qualifier, Nurture, VSL, or Other. * **Objection Detection** — classifies an objection as financial, timing, authority, self-confidence, trust, competitor, or other. This only applies **after a CTA has been sent** — a question asked before any offer is on the table isn't counted as an objection. * **Sentiment Detection** — reads the lead's tone as Positive, Neutral, Negative, or Frustrated. * **Scheduling Detection** — flags whether a call time was Proposed or Confirmed. * **Engagement Scoring** — a 0–100% score based on message length, questions asked, voice notes sent, and sentiment. ### Review an annotation 1. Open a conversation that has AI annotations. 2. Read the AI's tag or classification. 3. Mark it: * **Correct** — the AI read the conversation accurately. * **Incorrect** — provide the correct answer yourself. * **Partially correct** — the AI was on the right track but not fully accurate. ### Golden Scripts A related view surfaces your best-performing openers, qualifiers, and qualification questions, along with an explanation of why they worked — useful for spotting what to standardize across your team. ### Why this matters Reviewing annotations isn't busywork — it's the training signal that improves the AI's judgment for your specific business over time. The more consistently your team corrects mislabeled objections or sentiment, the more accurate future AI Tags, Lead Summaries, and reply suggestions become. ### Tips * Review annotations regularly rather than in one big batch — little and often keeps the AI's understanding current with how your conversations actually go. * Pay close attention to Objection Detection accuracy — it directly affects how well the AI Setter handles pushback in Away Mode and AI Mode. * Use Golden Scripts as a training resource for new setters, not just an AI-feedback tool. ### Common mistakes & fixes | Mistake | Fix | | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | | Ignoring the Training Center entirely | Set aside regular time to review — it's how the AI improves specifically for your business. | | Marking something "Incorrect" without providing the right answer | Always fill in the correct answer — that's the actual training signal. | | Assuming objection detection applies to any pushback | It only counts after a CTA has been sent — earlier questions aren't objections. | ### Limits & good to know * Gated behind the same conversation-data benchmark as the rest of the AI Setter (see Set Up Your AI). **Related:** Set Up Your AI: Setter Playbook & Creator DNA, AI Setter: Suggestion Pills, Away Mode & AI Mode, AI Tags. --- # Voice cloning ## Voice Cloning: Send AI Voice Notes in Your Own Voice **What it is** — Voice Cloning connects an ElevenLabs voice clone of the creator's actual voice to Mochi, so any setter can send a personalized-sounding voice note without the creator recording it themselves. Voice notes convert at roughly 3–4x the rate of plain text in high-ticket DM sales, and a well-made clone is difficult for a lead to distinguish from the real thing. **Who can use it** — Connecting and configuring the clone lives at `Settings > Intelligence > Voice Clone`, available on **both web and iOS**. Expected to be a **Creator/Manager** action to connect; once connected, any setter with voice-note access can use it when messaging leads (see Module 03). **Before you start** * An ElevenLabs account on their **Professional plan** (roughly $11/month — billed directly by ElevenLabs, a separate cost from Mochi) or higher, the tier needed to create a Professional Voice Clone. * 90–120 minutes of clean recorded audio (60–90 minutes minimum). * A quiet room and, ideally, a dedicated external microphone rather than your phone or laptop mic. ### Why voice notes convert Text is easy to skim past. A voice note forces attention and carries tone and warmth that text can't, while still feeling personal even when it's sent at scale. In high-ticket DM sales specifically, that difference shows up directly in reply and conversion rates — which is why cloning the creator's actual voice, rather than relying on a generic AI voice, matters. ### Step 1: Record your source audio * Record in a **quiet room** — no background noise, no echo. * Speak in a **natural, conversational tone** — imagine you're actually talking to one lead, one-on-one. * Use **real variety in pace and energy**. Flat, monotone narration produces a flat, monotone clone. * **Do not use course or teaching recordings** as your source. That "teaching voice" clones the way it sounds — polished and a little performative — which comes across as stiff and unnatural in a DM. * Trim out obvious stutters and long pauses before uploading. * Use a dedicated external microphone if you have access to one; even an inexpensive one beats a phone or laptop mic. * Aim for 90–120 minutes total. Treat 60–90 minutes as the floor, not the target. ### Step 2: Create a Professional Voice Clone in ElevenLabs 1. Go to **Voices > Create a Voice > Professional Voice Clone** in ElevenLabs. 2. Upload your recorded audio. 3. Wait for the clone to finish processing before moving on — this can take a few hours on ElevenLabs' side. ElevenLabs shows a **yellow tick** once processing is complete; don't try to connect the voice to Mochi before it appears. ### Step 3: Get your API key and Voice ID 1. Go to **Developers > API Keys** in ElevenLabs and click **Create Key**. 2. Enable both the **Text to Speech** and **Models** scopes on the key, then copy it. Both scopes are required, or the connection will fail. 3. Go to **Voices > My Voices**, open your new clone, and copy its **Voice ID**. ### Step 4: Connect in Mochi **Web and iOS:** 1. Go to `Settings > Intelligence > Voice Clone`. 2. Paste your ElevenLabs **API key** and **Voice ID**. 3. Click **Save**. 4. Confirm it shows **Voice Connected**. ### Step 5: Test and tune Type a test message, convert it, and listen back. Adjust the **stability** and **speed** sliders directly inside Mochi to get the tone right. ElevenLabs' own slider settings inside their platform do not carry over automatically — re-match them in Mochi itself. ### Sending a cloned voice note Once connected, a setter can type a message, click the voice-note icon, preview the generated audio, and send it as a native Instagram voice note. Layering in a little ambient background sound before sending can make it feel even more natural and less obviously generated. See Module 03 for the full messaging mechanics. ### Troubleshooting | Issue | Fix | | ------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | | Voice sounds robotic | Re-record with more natural variety in pace and energy; lower the stability slider in Mochi. | | Sounds too polished, hyped, or formal | Your source audio was likely a course or teaching recording — re-record in a conversational tone. | | "Voice not connected" error | Check that your ElevenLabs API key has both Text to Speech and Models scopes enabled; re-paste the key and Voice ID. | | Poor clone quality overall | Usually background noise in the source recording — re-record in a quieter environment. | | "Voice limit of 1 reached" | This is an ElevenLabs account-tier restriction, not a Mochi error — check your ElevenLabs plan. | ### Tips * Record in more than one sitting if needed — total minutes matter more than doing it in one take. * Re-listen to a sample of your source audio before uploading; if it sounds flat to you, it will clone flat. * Revisit your stability/speed settings after the first week of real sends — what sounds right in a test often needs a small tweak once you hear it in real conversations. ### Common mistakes & fixes | Mistake | Fix | | -------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Using an old course or webinar recording as source audio | Re-record fresh, conversational audio — teaching audio clones a stiff, formal voice. | | Enabling only one of the two required API scopes | Both Text to Speech and Models must be enabled on the same key. | | Assuming ElevenLabs' slider settings apply in Mochi | They don't carry over — set stability and speed inside Mochi directly. | | Recording too little audio | 60–90 minutes is the floor; 90–120 gives noticeably better results. | ### Limits & good to know * The ElevenLabs plan required for a Professional Voice Clone is billed directly by ElevenLabs, separate from Mochi. * Voice clone processing happens on ElevenLabs' side and can take a few hours after upload. * Setup nav is `Settings > Intelligence > Voice Clone` — some internal SOPs describe it as Organization/Organisation instead; see the NEEDS VERIFICATION note above. **Related:** Set Up Your AI: Setter Playbook & Creator DNA, Lead Summary. Also see **Voice Notes & Content Hub** and **Send Images, Videos & Files** (Module 03). --- # Keyword Automations ## Keyword & comment-to-DM automations **What it is** — Automations let Mochi reply for you on Instagram, instantly and around the clock. When someone DMs a keyword, comments on one of your posts, or replies to your story, Mochi can send an automatic DM — or post a public comment reply — without anyone touching the inbox. **Who can use it** — Built for coaches, setters, and closers who run promos, lead magnets, or comment campaigns (for example, "Comment LINK and I'll DM you the guide"). Available on both **Web** (`Sidebar > Automations`) and **iOS** (`Automate` tab). **Before you start** * Instagram connected (Business or Creator account) — automations send and post through your connected account. * Any tags you want the automation to apply should already exist. Tags are created under `Settings > Tags` by a Creator or Manager. ### How to set it up #### Web 1. Open **Automations** in the left sidebar. 2. Click to create a new automation and give it a name. 3. Choose a trigger: **DM**, **Comment**, or **Story**. For a comment trigger, choose **any post** or a **specific post**. 4. Add your keywords and choose how they match: **is exactly** or **contains**. Matching is not case sensitive. 5. Write the reply — a DM, or (for comment triggers) a public comment reply. Add a delay, multiple reply variants, and buttons (link or action). 6. Optionally add tags to apply or remove, and/or assign the lead to a team member. 7. Turn the automation **on**. It won't fire until you do. #### iOS 1. Open the **Automate** tab. 2. Step through the wizard: name, trigger, keywords/conditions, the reply (with variants and buttons), and optional tagging. 3. Save and activate. ### How triggers and matching work Three trigger types — Mochi refers to these as a DM match, a comment match, or a story match: * **DM** — someone sends you a direct message containing the keyword. * **Comment** — someone comments on a post (choose any post, or one specific post). * **Story** — someone replies to your story. Two match modes: * **Is exactly** — the message or comment must match the keyword precisely. Good for strict, single-word CTAs where you don't want partial matches triggering the automation. * **Contains** — the keyword just needs to appear somewhere in the message. Good for lead magnets, where people phrase things differently ("can I get the PDF please?" still triggers a "PDF" automation). Matching is not case sensitive either way, so `LINK`, `link`, and `Link` all trigger the same automation. ### Replies: delays, variants, and buttons * **Delay** — space out multi-message replies so they read like a person typing, not a bot firing instantly. * **Reply variants** — write more than one version of the reply. Mochi rotates between them so leads triggering the same automation don't all get identical text, and you can compare which phrasing performs better. * **Buttons** — add a tappable **link** (opens a URL). ### Plain text over buttons — and why Mochi's replies are built to read like a real message, not a bot menu. The common comparison is ManyChat, whose flows lean on tappable button/carousel UI to move a lead along — Mochi's default is a plain, often AI-drafted, conversational DM instead. The reasoning, straight from the team behind it: plain text reads as more natural and less obviously automated, which matters when the goal is a real conversation, not a script the lead can spot instantly. Treat the **buttons** option above as there for a hard, single CTA when you specifically want a tap target — not as the default reply style to build every automation around. ### No branching logic — chain two automations instead A single automation can't branch. There's no built-in "if they reply A, do this; if they reply B, do that" — every automation is one trigger leading to one reply (with variants, not conditions). If you need that kind of logic, build it across two automations instead: 1. Write automation one's reply so it asks for a specific keyword rather than just delivering the payoff — for example, "Want the payment plan breakdown too? Reply PLAN and I'll send it over." 2. Create automation two with a DM trigger on that exact keyword (`PLAN`) and have it send the follow-up content. To the lead, it reads as one natural back-and-forth. Behind the scenes, it's two automations handing off to each other — the same technique works for routing leads down different paths based on how they answer. ### Auto-tag and auto-assign An automation can also apply or remove a tag and assign the lead to a specific team member the moment it fires — so a lead who comments "LINK" can land already tagged and routed to the right setter before anyone on your team has even seen the notification. ### One run per lead Each automation runs once per lead, per conversation. A lead who comments the trigger word five times won't get the DM five times — this prevents accidental spam from repeat engagement. ### Worked example: "Comment LINK → DM the guide" A common setup: anyone who comments "LINK" on a specific post should instantly receive a DM with your free guide. 1. Create a new automation named something like `Comment LINK - Free Guide`. 2. Set the trigger to **Comment**, scoped to that one post. 3. Add the keyword `LINK` with match mode **is exactly** (switch to **contains** if you'd rather also catch "the link please" and similar phrasing). 4. Write the reply DM: a short thank-you plus a **link** button pointing to your guide. Send it as a Mochi tracking link so clicks are attributed back to the lead (see Tracking Links & Attribution). 5. Add a short delay so the DM doesn't feel instant. 6. Apply a tag like `Source: Comment - Guide` and, if you want it routed immediately, assign the lead to a setter. 7. Turn the automation **on**. From here, anyone who comments "LINK" gets tagged, routed, and DM'd automatically — day or night, whether or not anyone is at their desk. ### Comment automations and Meta's Private Reply window A comment doesn't open Instagram's standard 24-hour DM window on its own. Instead, Mochi uses Meta's **Private Reply** feature to send that first DM: one private message per comment, sent within 7 days of the comment. This is what lets a comment automation message someone who has never DM'd you before. Private Reply is one-time and automatic — there's no manual equivalent for it in the inbox composer. It doesn't open the standard 24-hour window by itself either; only once the lead actually sends a real DM back (replying to the Private Reply, or messaging fresh) does the normal window start for the back-and-forth from then on. Any additional follow-up DMs beyond that first Private Reply — whether from the automation or from a teammate — need that window open. ### Tips * Use **is exactly** for a single strict keyword (like a CTA word), and **contains** for anything conversational or a lead magnet. * Keep the automated reply short — save the deeper pitch for the human conversation that follows. * Use reply variants to A/B different phrasings instead of guessing which one converts better. * Tag every automation's leads with a source tag (for example `Source: Comment Campaign`) so you can track its performance later. * Default to conversational text over buttons — it's what makes an automation read like a person, not a ManyChat-style menu. * Need branching? Chain two automations (first collects a reply keyword, second triggers off it) rather than trying to force it into one. ### Common mistakes & fixes | Mistake | Fix | | --------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | Keyword condition left empty when you meant an exact match | Fill in the keyword and confirm the match mode (is exactly vs. contains) before saving. | | Expecting a DM to reach a cold commenter outside any window | The first DM to a comment-only lead works via Private Reply. Extra follow-up DMs beyond that only send if the lead has opened the standard 24-hour DM window by messaging you. | | Automation built but nothing fires | You likely forgot to switch it **on** — a saved automation stays inactive until you turn it on. | | Same lead expects a repeat reply on a second matching comment | Automations run once per lead per conversation by design — this isn't a bug. | | Trying to build "if yes do A, if no do B" inside one automation | Not supported — chain two automations instead: the first asks for a reply keyword, the second triggers off it. | ### Limits & good to know * Each automation runs once per lead, per conversation — no repeat spamming. * Standard follow-up DMs (beyond a comment's one-time Private Reply) obey Instagram's 24-hour messaging window like any other DM. * Triggers cover DMs, comments, and story replies only — there's no website-form or email trigger. * A Private Reply to a comment is capped at one message per comment, within 7 days of the comment, and only comment automations can send it. * No conditional/branching logic inside a single automation — see "No branching logic" above for the two-automation workaround. * A new-follower welcome-message automation has come up as a possible future addition, but it isn't part of the current confirmed trigger set (DM, comment, story) — don't build around it or promise it to a customer until it ships. **Related:** AI follow-up rules, Tags & inbox categories, The 24-hour reply window (and the 7-day extension), Tracking Links & Attribution --- # Follow-up rules ## AI follow-up rules **What it is** — Follow-up rules automatically re-engage leads so nobody has to manually track every quiet conversation. Most rules fire on silence — a lead sits in a tag or funnel stage for a set number of hours with no reply — but a rule can also fire when a lead never clicks a link you sent them (see below). Either way, Mochi sends the follow-up for you: an exact message you wrote, or one the AI drafts fresh from that lead's own conversation. **Who can use it** — Built for coaches, managers, and setters who want quiet leads followed up without someone manually tracking every conversation. **Before you start** * At least one tag or funnel stage to target — decide who the rule should apply to before you build it. * A named Mochi Link already created, if you're building a link-not-clicked rule instead of a tag/stage rule (see Tracking Links & Attribution). * Instagram connected, since the rule sends through your connected account like any other message. ### How to set it up 1. Open your automations area — the same place you build keyword and comment automations (`Sidebar > Automations` on web, `Automate` tab on iOS) — and start a new follow-up rule. 2. Set the trigger condition: a specific **tag**, a specific funnel **stage**, or — for a link-specific rule — a **link sent but not clicked** (see "Follow up when a link goes unclicked" below). 3. Set the wait time. For a tag/stage rule, that's hours of no reply from the lead; common windows are **6, 12, or 24 hours**, with 12 hours a frequently used default for a first rule. 4. Choose the message mode: **static** or **AI-generated** (see below). 5. Save and turn the rule on. ### Static vs. AI-generated messages Every rule — silence-based or link-not-clicked — sends one of two message types: * **Static** — you write the exact message once, and every lead the rule catches gets that same text. * **AI-generated** — you write a prompt describing what the follow-up should accomplish. Mochi reads that lead's full conversation and drafts a message personalized to them, instead of a generic "just checking in." Static is predictable and easy to review. AI-generated adapts to what the lead actually said, so it tends to read less like a mass follow-up — write the prompt the way you'd brief a new setter, with a clear goal and tone. ### Follow up when a link goes unclicked Beyond silence, a follow-up rule can trigger off a specific **Mochi Link** you sent that never got clicked — useful for nudging a lead who received your booking link and went quiet without ever opening it. 1. Create (or reuse) a named Mochi Link pointing at your booking page — see Tracking Links & Attribution. Give it a clear name; you'll pick it by name when you build the rule. 2. In the follow-up rule builder, set the trigger to **Clicked link** → **not clicked**, then select your named link. 3. Set a wait time — Mochi's minimum is as short as 2 hours, but 6–24 hours is the common range for this kind of rule. 4. Write the follow-up message, static or AI-generated, same as any other rule. A few things worth knowing about how it actually behaves: * **The wait counts from when the setter sends the link** — not from when the lead opens it, and not from delivery. With a 2-hour wait, the rule can fire 2 hours after send regardless of whether the lead has even seen the message, as long as they still haven't clicked. * **It survives your booking link changing.** The rule watches clicks on Mochi's own link slug, not the destination URL — so if your Calendly link changes later, update the destination on the existing Mochi Link and the rule keeps working. No need to rebuild it. * Mochi also runs a periodic sweep behind the real-time click check, as a backstop against anything that check might have missed. ### Smart-skip: no double-messaging If a setter has already manually sent or scheduled a follow-up to a lead, the automated rule skips that lead — so a person doesn't end up with both a human follow-up and an automated one stacked on top of each other. ### The 24-hour window still applies Follow-up rules are an automated send, so they follow the same rule every automated message follows: Mochi can only send automated within 24 hours of the lead's last real DM. This is true for a link-not-clicked rule just as much as a silence-based one, and even for Meta's 7-day HUMAN\_AGENT extension — that extension only ever applies to a message a human types manually in the inbox, never to an automated or scheduled send like a follow-up rule or an AI Setter reply. If the window has already closed by the time a rule would fire, Mochi does not send the follow-up automatically. Revive the lead natively on Instagram instead — the moment they message back, the window reopens and your follow-up rules resume working on that conversation like normal. ### How this fits with the rest of Mochi's AI If you've set up the AI Setter Wizard, its own Conversation Flow → Follow-up step ships with defaults of its own: a 24-hour delay between attempts, up to 3 follow-ups, then either mark the lead cold, send one final message, or move them into a longer cold-nurture sequence (see Set Up Your AI: Setter Playbook & Creator DNA). Those wizard defaults cover leads the AI Setter is actively working. The follow-up rules on this page are a separate, more general tool that apply to any tag or stage, whether or not the AI Setter is driving that conversation — if you're unsure what wait time or follow-up count to start with, the wizard's 24-hour/3-attempt pattern is a reasonable reference point. Follow-up rules also aren't the same mechanism as Away Mode or AI Mode, which hand a live, active conversation to the AI while a human setter is offline or unavailable rather than re-engaging someone who's gone quiet — see AI Setter: Suggestion Pills, Away Mode & AI Mode. Use follow-up rules to re-engage a quiet lead; use Away Mode when you need coverage of your active inbox while you're out. ### A sensible starter rule Don't build a dozen rules on day one. A reasonable starting point: **New Lead** stage, **12-hour** wait, **AI-generated** message. Watch how it performs for a week or two before layering on more rules for other stages or tags. Once that's running well, a link-not-clicked rule on your booking link is a strong second rule to add — it catches a specific, high-intent drop-off point that a silence-based rule alone won't target the same way. ### Tips * Start with one rule and one stage or tag — expand once you can see it's helping, not hurting, reply rates. * Write AI prompts the way you'd brief a new setter: what tone, what goal, what not to say (for example, never re-quote a price that hasn't come up yet). * Pair a follow-up rule with a tag (like `Booking Link Sent`) so it only targets leads at a specific, meaningful point in the conversation — not your entire pipeline. * Review AI-generated sends periodically, the same way you'd spot-check a new team member's messages. * Name your Mochi Links clearly before you build a link-not-clicked rule — you'll be picking the link by name in the rule builder. ### Common mistakes & fixes | Mistake | Fix | | -------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | | Assuming a follow-up rule will send after 24 hours of silence | It won't, if the lead's last DM is now more than 24 hours old — the rule respects Instagram's window like any automated send. | | Setting the wait time shorter than your team's own follow-up habits | Leads can get double-touched. Smart-skip only helps if manual follow-ups are actually logged/sent in Mochi, not just planned elsewhere. | | One rule targeting every stage at once | Scope rules narrowly (one tag or one stage) so the message stays relevant to where the lead actually is. | | Never revisiting the rule after launch | Treat it like a script — review replies and adjust the prompt or wait time if it's underperforming. | | Assuming a link-not-clicked rule tracks the destination URL | It tracks clicks on the Mochi Link's own slug. Update the destination on the existing link if your booking URL changes — don't rebuild the rule. | | Expecting the link-not-clicked wait time to count from when the lead opens the message | It counts from when the setter sends the link, not from any action the lead takes. | | Confusing a follow-up rule with Away Mode | Follow-up rules re-engage quiet leads on a schedule; Away Mode hands a live conversation to the AI while a human is offline. They're separate features. | ### Limits & good to know * Automated sends — follow-up rules included — are always capped at Instagram's standard 24-hour window. They never get the 7-day HUMAN\_AGENT extension, even for organizations that otherwise have it. * Smart-skip only works when a manual follow-up is actually reflected in Mochi — a follow-up planned elsewhere (a spreadsheet, a sticky note) won't be seen by the rule. * Static messages don't adapt per lead; if you need personalization, use AI-generated instead. * Link-not-clicked rules are bound by the same 24-hour window as any other automated send, and track the Mochi Link's slug rather than its destination — safe to repoint the link without breaking the rule. * Booking-call reminders (day-before/day-of) are recommended practice tied to the show-rate benchmark, but their exact setup path isn't confirmed — see the flag above. **Related:** Keyword & comment-to-DM automations, The 24-hour reply window (and the 7-day extension), Tags & inbox categories, Tracking Links & Attribution, Set Up Your AI: Setter Playbook & Creator DNA, AI Setter: Suggestion Pills, Away Mode & AI Mode, Benchmarks & diagnostics --- # Connecting Calendly ## Connect Calendly **What it is** — Connect your Calendly account so booked calls track back to the right lead automatically. Once connected, a booking moves the lead to Booked call, marks the conversation Call Booked, and puts the meeting on the lead's timeline — no manual matching required. **Who can use it** — Creator and Manager roles only. Settings > Integrations — the only place to connect or disconnect Calendly — is gated to Creators and Managers on both web and iOS; Setters can't reach that page on either platform. Once connected, though, every Setter and Closer benefits: any team member can still generate and send a single-use Calendly link from a chat regardless of their role. **Before you start** — Your Calendly account needs to be on the Standard plan or higher (or you need to be an owner/admin of a Calendly organization on that tier). Calendly's free tier can't create the webhook subscription Mochi needs, so the connection will fail with an error telling you to upgrade. ### How to connect (web) 1. Go to Settings > Integrations. 2. Find the Calendly card and click **Connect**. This starts an OAuth flow — sign in to Calendly and authorize Mochi. 3. If your Calendly account is below the Standard plan, the connection fails outright with an upgrade prompt rather than connecting with no tracking. 4. Once connected, choose which of your Calendly event types Setters are allowed to send — this keeps a Setter from accidentally offering a lead the wrong kind of call. There's no restriction on which specific Calendly event types you can use with Mochi itself; any event type works, this step only controls who's allowed to send which one. ### How to connect (iOS) 1. Open Settings, then tap Integrations (Creators and Managers only — this row doesn't appear for other roles). 2. Tap **Connect Calendly** and complete sign-in. ### Sending a link to a lead Once Calendly is connected, any team member can send a tracked link from a conversation: open the calendar icon in the Inbox composer, select the event type, and send. Mochi converts it into a single-use tracked link automatically — this works the same way for Setters as it does for Creators and Managers, even though only Creators and Managers can manage the connection itself. ### How tracking works Calendly bookings match to a lead one of two ways: * **Sent from inside Mochi** — a single-use scheduling link from the Inbox composer (or generated on iOS) carries a hidden tracking ID. The webhook matches that exact lead directly, and any email or phone number picked up from the booking form is saved onto the lead. * **Sent as a raw link** — a plain Calendly URL pasted into a DM, or a lead who finds your Calendly page some other way (like your bio link). For these, Mochi's webhook looks for a booking-form question whose text contains "instagram" and reads the answer as the lead's Instagram handle. If no such question exists, or it's left blank, Mochi can't match the booking — the call still happens in Calendly, but Mochi never sees it. If no matching lead exists yet, Mochi creates a new one from the Instagram handle instead of dropping the booking. If your Calendly account is an owner or admin of a Calendly organization, your connection covers bookings on any teammate's event type. If not, your connection only covers your own hosted events — a teammate's bookings won't track unless they connect Mochi too. ### Auto-status logic * A Setter sends a tracked Calendly link → the lead auto-updates to **Qualified**. * The lead books through that tracked link → the lead auto-updates to **Booked call**. Some teams intentionally layer manual updates on top of this instead of relying on it exclusively — for example, manually marking a lead Qualified after a screening step, and only trusting the auto-trigger for the booking itself. Both approaches work; pick whichever matches how your team actually qualifies leads. ### Disconnecting Open the Calendly card in Settings > Integrations and choose **Disconnect**. This deletes the connection and unsubscribes the webhook. It does not delete meetings Mochi already tracked — it only stops new bookings and updates from syncing. ### Tips * Always send Calendly links from inside Mochi (the composer or a saved Content Hub link) instead of copy-pasting — only links sent through Mochi carry the tracking ID. * If bookings suddenly stop updating lead status, check Settings > Integrations first — a Calendly connection can silently lapse, and booked-call tracking quietly stops until you reconnect. * If you're not the owner/admin of your Calendly organization, make sure every teammate whose bookings you want tracked has connected their own Calendly. ### Common mistakes & fixes | Mistake | Fix | | ------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | | Booking doesn't update the lead's stage | Check whether the link was sent from inside Mochi. Copy-pasted raw links don't carry the tracking ID. | | Booked-call numbers stall across the board, not just one lead | Check Settings > Integrations — a Calendly connection can silently disconnect, and booked-call auto-tagging quietly stops until you reconnect. | | External bookings (bio link, etc.) never match | Add a question to your Calendly booking form whose text contains "instagram." | | Setters see the wrong event types | Reopen the Calendly card in Settings > Integrations and reselect the correct events. | | Connection fails immediately | Your Calendly account is below the Standard plan — upgrade and try again. | | A teammate's bookings never track | They need their own Calendly connected too, unless you're the owner/admin of a shared Calendly organization. | ### Limits & good to know * Multiple leads sharing the same Instagram handle match to the oldest lead by creation date. * Setters can't connect their own Calendly account yet, even though Mochi's backend supports per-member connections — Settings > Integrations itself is Creator/Manager-only on both platforms today, so that option isn't reachable yet. * Disconnecting doesn't erase history — only new syncing stops. * Prefer in-app booking with no raw-link matching step at all? See Connect iClosed (web-only). **Related:** Connect iClosed, Tracking Links & Attribution, Invite your team & roles, The Leads page: work your pipeline --- # Connecting iClosed ## Connect iClosed **What it is** — iClosed is a scheduling tool built for sales teams. Connect it so a Setter or Closer can book a call for a lead directly from inside Mochi, with cancellations and reschedules syncing back automatically — no raw-link matching step to get wrong. **Who can use it** — Creator and Manager roles only can connect, disconnect, or refresh setter bindings. Web-only — iClosed has no iOS support at all, not for connecting the integration and not for booking a call. Once connected, any org member can book a call for a lead from the Inbox, regardless of role. **Before you start** — An iClosed account with an admin-level API key. A setter-only key can't book on behalf of other setters, so use an admin key when you connect. ### How to connect (web) 1. Go to Settings > Integrations. An iClosed card is shown to every organization — it isn't limited to an allowlist — and is labeled Pilot. 2. Click **Connect iClosed**. 3. Paste an admin-level API key generated in iClosed's developer settings, in the format `iclosed_...`. 4. Mochi validates the key, lists your iClosed users, and automatically matches Mochi team members to iClosed users by email. This creates your "setter bindings" — re-run the match later with **Refresh setter bindings** whenever you add someone new. 5. Mochi shows you a webhook URL unique to your connection. Copy it. 6. In iClosed's own webhook settings, add that URL, subscribed to `newCallScheduled`, `callCancelled`, and `callRescheduled`. 7. Check the confirmation box that you've added the webhook. Mochi can't verify this step itself, so it relies on you to confirm it. ### Booking a call from Mochi Once connected, open a lead's conversation and use the in-app booking wizard: pick an iClosed event and a time slot, and Mochi calls iClosed's API to create the booking with the lead's identity already attached. The lead needs an email on file — the form pre-fills from the lead's saved email or phone, or you can type one in, since iClosed requires an email to create the invitee. ### How the webhooks behave * `newCallScheduled` is a safety check that confirms the meeting Mochi already created really exists on iClosed's side. It doesn't perform any lead lookup of its own. * `callCancelled` and `callRescheduled` update the existing meeting. For a cancellation, Mochi tries to determine whether the host or the invitee cancelled, and moves the lead to Qualified or No Show accordingly. If it can't tell which side cancelled, the lead's stage is left alone. ### The honor-system caveat Mochi cannot verify that you actually added the webhook inside iClosed — the checkbox in step 7 is on the honor system. Skip that step and bookings made from Mochi will still go through, but cancellations and reschedules made from iClosed's side will silently stop reflecting back in Mochi. If cancellations ever stop showing up, this is the first thing to check. ### Disconnecting Open the iClosed card in Settings > Integrations and choose **Disconnect**. This deletes the connection, its setter bindings, and rotates the webhook token — setters immediately lose the ability to book through iClosed from Mochi. It does not delete meetings already tracked. ### Tips * Use an admin-level API key, not a setter-only one, or bookings on behalf of other setters will fail. * Re-run **Refresh setter bindings** any time you add a new team member so they're matched correctly. * Make sure a lead has an email saved before trying to book them through iClosed — the wizard needs one. ### Common mistakes & fixes | Mistake | Fix | | ------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------- | | Forgot to add the webhook in iClosed | Bookings from Mochi still work, but cancellations/reschedules stop syncing — add the webhook subscribed to all three events. | | Used a setter-only API key | Reconnect with an admin-level key so bookings can be made on behalf of any setter. | | Tried to book a lead with no email | Add an email to the lead's profile first — iClosed requires one. | | Looking for iClosed on iOS | It isn't there. Use the web app for anything iClosed-related. | ### Limits & good to know * Web-only — there is no iOS support for connecting or booking. * One connection per organization — there's no per-member iClosed connection the way Calendly supports. * Pilot-labeled, and currently shown to every organization rather than gated to a waitlist. * Disconnecting doesn't erase meetings already tracked in Mochi. **Related:** Connect Calendly, Tracking Links & Attribution, The Inbox, Invite your team & roles --- # Tracking links and attribution ## Tracking Links & Attribution **What it is** — A Mochi tracking link is a short, branded URL (like `moch.me/free-training`) that redirects to any destination you choose — a booking page, a sales page, a free download. Because every click runs through Mochi first, you can see exactly who clicked, when, and from where. Links are powered behind the scenes by Dub. **Who can use it** — Everyone on the team, on both web and iOS. (Custom branded domains, covered separately, are Creator/Manager only and web-only — see Custom Branded Link Domain.) ### Why it matters A raw link tells you nothing. A Mochi tracking link ties every click back to a specific lead and conversation, so you know exactly which leads engaged with what you sent. Clicks land on the lead's timeline, feed your dashboard click metrics, and can trigger automations — like a follow-up that only fires if a link was sent but never clicked. Mochi's own internal analysis — looking across a sample of 435,000+ links sent to 250,000+ unique leads — found that 72.7% of leads who went on to book a call had received a link from a setter at some point, and that link activity was roughly 4x more predictive of a booked call than any other single signal Mochi tracks. Treat that as Mochi's own finding from its own usage data, not a guarantee for your account — but it's a solid reason to route links through Mochi rather than around it. ### Every link is unique No two people ever get a byte-identical Mochi link. Each tracked link carries its own slug, unique per lead, per setter, and per organization — even when ten different leads click through to the exact same destination, each of them gets a different short link. This isn't only for cleaner analytics. Instagram's spam detection can flag an account for sending identical text and links to many people in a short window, and a unique link per recipient is one of the ways Mochi helps reduce that risk. See Account safety & Instagram limits for the full picture on link-related account safety. ### Creating a link **Web:** 1. Open Dashboard > Links. 2. Create a link: set the destination URL and, optionally, a custom slug. **iOS:** 1. Go to Settings > Content Hub. 2. Tap the add menu and choose **New Link**. 3. Keep **Track clicks** on to get analytics. ### Sending a tracked link The easiest way is to paste your destination URL directly into a DM in the Inbox composer — with smart-link conversion on, Mochi automatically turns it into a tracked short link before it sends. You can also insert an existing saved link from your Content Hub, or from the `/` slash menu in the composer. On iOS, open the composer, tap the add or slash menu, and pick the link. ### What gets tracked Each send records whether it was clicked, when it was first clicked, total click count, and rough location and device info. The lead's timeline shows link-sent and link-clicked events. For full analytics, open Dashboard > Links (web) and click into any link. ### Inserting from Content Hub Save frequently-used links — lead magnets, booking pages, sales pages — in Content Hub once, then insert them into any conversation with the `/` slash menu instead of retyping or re-pasting them every time. ### Bot-click filtering Mochi automatically filters out bot clicks (scanners, link previews, crawlers) so your click numbers reflect real people, not noise. ### Tips * Always send links through Mochi — a raw link that was never converted into a Mochi short link records zero clicks, even if the destination is correct. * Once a URL has been converted into a Mochi short link, it stays tracked even if that short link gets pasted somewhere else afterward. * Name your links clearly when you create them (e.g. "Free training — story CTA") so they're easy to find again in Dashboard > Links or Content Hub. ### Common mistakes & fixes | Mistake | Fix | | ----------------------------------------------- | --------------------------------------------------------------------------------------------------- | | Pasted a raw link instead of letting it convert | Always send through the composer with smart-link conversion on, or insert a saved Content Hub link. | | Expecting clicks on a link shared outside Mochi | Only clicks that route through a Mochi short link are tracked. | | Can't find click data for a link | Open Dashboard > Links (web) and click into the specific link. | ### Limits & good to know * Default links live on the shared `moch.me` domain. For your own branded subdomain instead, see Custom Branded Link Domain (web-only, gated beta). * Bot clicks are filtered out, not counted, so your numbers should reflect real engagement. **Related:** Custom Branded Link Domain, Connect Calendly, Slash commands & message templates, Links analytics, Account safety & Instagram limits --- # Branded link domain ## Custom Branded Link Domain **What it is** — Instead of sending links on the shared `moch.me` domain, use your own subdomain — producing links like `go.yourbrand.com/abc123` — for every tracked link you send. Tracking works identically; only the domain changes. **Who can use it** — Creator and Manager roles only. Web-only — iOS has no custom-domain settings at all. **Before you start** — Your organization needs to be in this feature's gated beta, and you'll need access to your domain's DNS settings to add a CNAME record. ### How to connect 1. Go to **Settings > Organization** and find **Custom link domain**. 2. Click **Connect domain**. 3. Add the CNAME record Mochi gives you to your domain's DNS settings, with your domain registrar or DNS provider. 4. Wait for verification. Once verified, every new link uses your domain automatically — producing links like `go.yourbrand.com/abc123` — and links you already sent on `moch.me` keep working; nothing breaks in the switch. ### Why bother Shared shortener domains like `moch.me` (or any public link shortener) pool reputation across everyone who uses them — if another user sends spammy links, it can affect deliverability for everyone on that domain. A domain that's yours alone carries only your own sending reputation, which matters more as your link volume grows. Branded links are also cited internally at Mochi as seeing up to roughly 40% higher click-through than generic shortener links. Treat that as a directional data point from Mochi's own observations, not a guaranteed lift for your account — but between the reputation benefit and the CTR difference, it's worth prioritizing once your link volume is meaningful. ### Tips * DNS changes can take a while to propagate. If verification doesn't complete right away, give it time before trying again. * This is most worth setting up once you're sending a meaningful volume of links — a brand-new account doesn't need to prioritize it. ### Common mistakes & fixes | Mistake | Fix | | ---------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | | Verification won't complete | Double-check the CNAME record was added exactly as shown, at the correct DNS provider, then allow time for propagation. | | Don't see Custom link domain under Settings > Organization | Your organization likely isn't in the beta yet. | | Looking for this setting on iOS | It isn't there — manage custom domains from the web app only. | ### Limits & good to know * Gated beta — not available to every organization yet. * Web-only, Creator/Manager only. * Existing `moch.me` links are unaffected and keep working after you connect a custom domain. **Related:** Tracking Links & Attribution, Organization & account settings, Links analytics --- # Connecting YouTube ## Connect Your YouTube Channel **What it is** — Connect your YouTube channel so Mochi can trace the path from a video view through to a DM conversation and a sale, and show that channel's video performance inside Mochi alongside your other attribution data. **Who can use it** — Not separately confirmed. Every other integration under Settings > Integrations (Calendly, iClosed, Payments) is Creator/Manager-only on both web and iOS — it's reasonable to expect YouTube follows the same pattern, but this hasn't been confirmed specifically. **Before you start** — A YouTube channel you own or manage, and the ability to sign in to it during the connect flow. ### What connecting YouTube does * **Attribution** — traces a lead's path from watching one of your YouTube videos, through a DM conversation, to a sale, the same way Mochi already attributes Instagram link clicks. * **View analytics** — brings that channel's video performance into Mochi, so you can see how your YouTube content connects to your Instagram DM pipeline without leaving the platform. ### How to connect **Web:** 1. Go to `themochi.app/attribution/youtube-tracking` while signed in to Mochi. 2. Follow the prompts to connect your YouTube channel. **iOS:** Not confirmed. If you don't see a YouTube option in the Mochi iOS app, open the URL above in a mobile browser instead. ### Tips * Don't paste raw YouTube URLs into a DM. Run them through Mochi's link shortener first — you get click tracking and a cleaner-looking link either way. See Tracking Links & Attribution. ### Common mistakes & fixes | Mistake | Fix | | -------------------------------------------------- | ------------------------------------------------------------------------------------------------ | | Pasting a raw YouTube link into a DM | Send it through Mochi's link shortener instead, for tracking and a cleaner link. | | Can't find a YouTube connect option inside the app | Go directly to `themochi.app/attribution/youtube-tracking` rather than hunting through Settings. | ### Limits & good to know * Role gating and iOS availability aren't separately confirmed for this integration — see the flag above. **Related:** Tracking Links & Attribution, Mochi + Claude (MCP), Payment integrations --- # Tracking Pixel **What it is** — A tracking snippet you install on an external page you control — a VSL (video sales letter), landing page, or similar — so a visit to that page attributes back to a lead, the same way Mochi's tracking links already attribute clicks. It lives under Dashboard > Links, in its own **Tracking Pixel** tab. **Who can use it** — Not separately confirmed by role. It sits in the same Dashboard > Links area as tracking-link analytics; installing a page-level snippet is the kind of setup task that's Creator/Manager-only elsewhere in Mochi (e.g., custom domains), so expect similar gating — but this hasn't been confirmed specifically for the pixel. **Before you start** — An external page (VSL, landing page, etc.) that you control and that supports adding custom code — some hosted pages, like a scheduling tool's own confirmation screen, don't allow this. ### How to install it **Web:** 1. Go to **Dashboard > Links**. 2. Open the **Tracking Pixel** tab. 3. Copy the snippet Mochi provides. 4. Paste it into the external page you want to track — typically into the page's `` or wherever that page host accepts custom tracking scripts. **iOS:** Not confirmed. Dashboard > Links is documented as a web flow, with iOS using Content Hub for link creation instead — treat the Tracking Pixel tab as web-only until confirmed otherwise. ### Tips * Mochi tracking links already attribute clicks on anything you send through Mochi (see Tracking Links & Attribution). The pixel is specifically useful for attributing a page visit itself, independent of which link got someone there, on pages you host and control. * If your funnel already routes end to end through tracked Mochi links, weigh whether adding the pixel to a given page adds meaningfully more signal before spending time installing it. ### Common mistakes & fixes | Mistake | Fix | | -------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Assuming the pixel replaces tracking links | It complements them — links track clicks and conversation attribution; the pixel tracks visits to a page you control. | | Trying to install on a page you can't add custom code to | Not possible on hosted pages that don't allow custom code (e.g., some scheduling tools' own confirmation pages). Rely on link-click tracking for that step instead. | | Pixel shows "inactive" with no obvious fix | Not yet a confirmed self-serve fix — flag it to Mochi support rather than troubleshooting alone. | | Don't see the Tracking Pixel tab under Dashboard > Links | Visibility has been reported as inconsistent across organizations — check with your Mochi contact if it's missing. | ### Limits & good to know * Confirmed to exist: Dashboard > Links > Tracking Pixel tab, for attributing visits to external pages (VSL/landing pages) you control. * Reported rough edges: inconsistent tab visibility across organizations, and an unclear "inactive" state — see above. **Related:** Tracking Links & Attribution, Custom Branded Link Domain, Payment integrations --- # Payment Integrations **What it is** — Connect Stripe, Whop, FanBasis, or Ablefy so payments sync into Mochi directly — clients, transactions, revenue, and costs, matched back to the leads and conversations that produced them. Once connected, commissions, processing fees, and net revenue calculate automatically. **Who can use it** — Connecting a payment provider follows the same gating as the rest of Settings > Integrations: Creator and Manager roles, on web and iOS. **Before you start** — An account with one of the four supported providers: Stripe, Whop, FanBasis, or Ablefy, and an API key from that provider. ### How to connect 1. Go to **Settings > Integrations > Payments**. 2. Choose your provider — Stripe, Whop, FanBasis, or Ablefy. 3. Paste the API key from that provider and save. Repeat for any additional provider you use — connecting one doesn't stop you from connecting another. ### Real-time sync vs. delayed sync If you're connecting Stripe, use an API key that includes **webhook-creation permission** — that gets you real-time sync, so payments show up in Mochi as they happen. Without that permission, Mochi still syncs your Stripe data, just on a delay of roughly 24 hours instead of instantly. This nuance is specifically documented for Stripe; the sync cadence for Whop, FanBasis, and Ablefy isn't separately detailed in current sources. ### What syncs Once connected, Mochi brings in: * Clients/customers from the provider * Transactions * Revenue * Costs (processing fees, refunds) Everything is matched back to your leads automatically, by **email and Instagram handle**. Some payments come through unmatched — usually because the identifying info on the provider side doesn't line up with what's saved on the lead — and need manual matching. ### Where it appears **Dashboard > Payments** — a Payments tab sits alongside Home, Performance, and Links on the web Dashboard, when enabled for your organization (gated). See the Payments dashboard article for how to read it once connected. ### It also feeds your ad tracking Connected payment data feeds Meta's Conversions API (CAPI) too — if you're running Meta ads, this helps close the loop between an ad and an actual sale, which can improve targeting and reduce acquisition cost over time. That's a separate setup from the payment connection itself; see `themochi.app/meta-ads`. ### Commissions, fees, and net revenue Once a provider is connected, Mochi automatically calculates: * **Setter/closer commissions** — from the commission % set on each team member (Settings > Team) * **Processing fees** — per-provider fees on each transaction * **Net revenue** — revenue after fees and refunds No manual math, and no back-filling — figures update as payments come in. ### Manual logging (the fallback, not the primary path) Before direct provider sync existed, teams logged collected payments by hand: from a lead's profile or conversation, an **Add Payment** action lets a Closer manually record a payment against that lead. That's still there as a fallback — useful for a provider outside the four directly-synced options, or for cash and off-platform payments — but it isn't the primary workflow anymore. If you're on Stripe, Whop, FanBasis, or Ablefy, connect it directly instead of logging payments by hand. ### Tips * Connect your payment provider early so commission math and dashboard revenue are accurate from day one, instead of back-filling manually logged payments later. * If you're on Stripe and want real-time sync, double-check the API key includes webhook-creation permission before you paste it in — it's the difference between instant updates and a \~24-hour delay. * If a payment shows as unmatched, check that the email (and/or Instagram handle) on the provider side matches what's saved on the lead's Mochi profile. ### Common mistakes & fixes | Mistake | Fix | | ------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------- | | Using a provider outside the four supported ones | Not directly supported today — log payments manually with Add Payment instead. | | Payments showing as unmatched | The identifying info (email/Instagram handle) likely doesn't line up between the provider and the lead record — match it by hand. | | Expecting real-time Stripe sync with a key that lacks webhook permission | Reissue a Stripe API key with webhook-creation permission, or expect syncing on a \~24-hour delay instead. | | Assuming every role can see payment data | Only Creator, Manager, and (where present) Finance roles see payment data. | ### Limits & good to know * Only four providers are directly supported today: Stripe, Whop, FanBasis, and Ablefy. * Real-time sync depends on Stripe webhook permissions specifically; otherwise expect up to a \~24-hour delay. * Payment data visibility is limited to Creator, Manager, and Finance roles. **Related:** Payments dashboard, Mochi AI (Ask Mochi), Mochi + Claude (MCP), Zapier integration --- # Mochi MCP: connect your AI assistant **What it is**: Mochi MCP connects the AI assistant you already use to your Mochi workspace. Once it's connected, you can ask about your leads, conversations, setters and closers, funnel, links, bookings and payments in plain English. The answers come from your real Mochi data. The assistant can also make a few small, safe changes when you ask, like tagging a lead or moving it to another stage. MCP (Model Context Protocol) is the open standard most AI assistants use to plug into other tools. Mochi runs one MCP server that every compatible assistant can use. **Who can use it**: Anyone with a Creator, Manager, Setter or Closer seat in a Mochi workspace. The assistant acts as you, with your Mochi role (see [What it can see and do](#what-it-can-see-and-do)). ## The server URL Every assistant connects to the same address: ```text https://mcp.themochi.app/mcp ``` It's a remote server using the streamable HTTP transport. There's no API key to copy. You sign in to Mochi instead (see [How sign-in works](#how-sign-in-works)). ## Pick your assistant | Assistant | Where it runs | Guide | | --- | --- | --- | | Claude and Claude Code | Web, desktop, mobile, terminal | [Connect Claude](https://themochi.app/docs/integrations-and-tracking/mcp/claude) | | ChatGPT | Web | [Connect ChatGPT](https://themochi.app/docs/integrations-and-tracking/mcp/chatgpt) | | Gemini | Gemini app (web) and Gemini CLI | [Connect Gemini](https://themochi.app/docs/integrations-and-tracking/mcp/gemini) | | GitHub Copilot | VS Code | [Connect GitHub Copilot](https://themochi.app/docs/integrations-and-tracking/mcp/github-copilot) | | Codex | Codex CLI, IDE extension and ChatGPT desktop app | [Connect Codex](https://themochi.app/docs/integrations-and-tracking/mcp/codex) | | Windsurf (now Devin Desktop) | Desktop editor | [Connect Windsurf](https://themochi.app/docs/integrations-and-tracking/mcp/windsurf) | | Mistral Vibe (formerly Le Chat) | Web | [Connect Mistral](https://themochi.app/docs/integrations-and-tracking/mcp/mistral-le-chat) | | Manus | Web | [Connect Manus](https://themochi.app/docs/integrations-and-tracking/mcp/manus) | | Goose | Desktop and CLI | [Connect Goose](https://themochi.app/docs/integrations-and-tracking/mcp/goose) | | Hermes Agent | Terminal | [Connect Hermes Agent](https://themochi.app/docs/integrations-and-tracking/mcp/hermes-agent) | | Meta Muse | Meta AI (setup not yet confirmed) | [Connect Meta Muse](https://themochi.app/docs/integrations-and-tracking/mcp/meta-muse) | Your assistant isn't listed? If it can add a **remote MCP server with OAuth sign-in**, it will work. Give it the server URL above and follow its own steps for adding a custom MCP server. ## How sign-in works 1. You add the server URL to your assistant. 2. The assistant opens a Mochi sign-in page in your browser. 3. You sign in to Mochi and **pick one workspace**. 4. You approve the connection, and the browser hands you back to the assistant. From then on, the assistant works in that one workspace as you. To use a different workspace, remove the connection and add it again, then pick the other workspace. To disconnect, remove Mochi from your assistant's connector or MCP settings. ## What it can see and do The assistant gets **the same access you have in Mochi**. A Setter sees what a Setter sees, and a Closer sees what a Closer sees. | You can ask it to | Who can | | --- | --- | | Answer questions about leads, conversations, team performance, funnel, links, bookings and account health | Creator, Manager, Setter, Closer | | Read payments and revenue (Stripe, Whop, Commas, Ablefy and manual payments) | Creator, Manager, Finance | | Tag a lead, change its stage, archive it, reassign it or add contact details | Creator, Manager | | Draft an automation (always saved **inactive**, for you to review and switch on in Mochi) | Creator, Manager | | Draft or publish a workspace funnel | Creator, Manager | **What it can't do:** - Send messages to leads. - Switch an automation on. - Delete data. - Move money or change billing. If you ask for any of these, it will point you to the right place in Mochi instead. **One connection covers every channel** in the workspace: Instagram, WhatsApp and Messenger. You can refer to a lead by Instagram username, WhatsApp number, name, or Messenger name. There are more than 60 tools in all. The [full list, with what each tool does](https://themochi.app/mcp.md), is kept in step with the server. ## Things to try - "How did my setters do last week? Who booked the most calls?" - "What are the top objections this month, and which ones went unanswered?" - "Show me the funnel for the last 30 days compared with the 30 days before." - "Which links drove the most bookings?" - "Tag @example_lead as *hot* and move them to Qualified." (The assistant asks before changing anything.) ## Tips - **Be specific.** "Reply rate per setter for the last 7 days" works better than "how are we doing?". Very broad questions can time out. - **Usage limits belong to your assistant.** If answers stop for a while, it's usually your AI plan's message limit, not Mochi. - **Payment questions need the right role.** If you're a Setter or Closer, revenue questions will come back empty. That's expected. ## Common problems | Problem | Fix | | --- | --- | | The sign-in window never opened | Look for a "Connect", "Authenticate" or "Login" button or command in your assistant's MCP settings (each guide says which). Pop-up blockers can also stop it. | | "Unauthorized" after it worked before | The sign-in expired or was revoked. Remove Mochi and add it again. | | It's reading the wrong workspace | You picked another workspace at sign-in. Reconnect and choose the right one. | | It says it can't change a lead | Your role is Setter or Closer. Changes need Creator or Manager. | | The assistant doesn't offer MCP at all | Your plan or workspace may not allow custom connectors. Each guide lists the plans that do. | **Related:** [Mochi MCP on themochi.app](https://themochi.app/mcp), [Connect an AI agent (Developers)](https://themochi.app/docs/api/common-tasks/connect-ai-agent), [Feature reference: MCP connector](https://themochi.app/docs/features/integrations/mcp) --- # Connect Mochi to Claude and Claude Code Connect Claude to your Mochi workspace once, then ask about your leads, team and revenue in any chat. New to Mochi MCP? Start with the [overview](https://themochi.app/docs/integrations-and-tracking/mcp). **Server URL:** `https://mcp.themochi.app/mcp` ## Claude (web, desktop and mobile) **What you need**: A Claude account. Custom connectors work on every plan: Free (one custom connector), Pro, Max, Team and Enterprise. A connector you add on the web or desktop also works in the Claude mobile apps. ### Pro, Max or Free 1. In Claude, open **Customize** → **Connectors**. 2. Click **+ Add**, then **Add custom connector**. 3. Name it **Mochi** and enter `https://mcp.themochi.app/mcp`. Click **Continue**. 4. Review the authentication settings Claude detects and click **Continue**. 5. If Claude asks for an OAuth client, keep the recommended option. Leave **Request headers** empty (Mochi doesn't use an API key), then click **Add**. 6. Click **Connect**. A Mochi sign-in page opens. Sign in, **pick your workspace** and approve. ### Team or Enterprise An Owner or Primary Owner adds the connector once for the organization: 1. Open **Organization settings** → **Connectors** → **Add**, hover **Custom** and choose **Web**. 2. Enter the name **Mochi** and the server URL, then finish as above. Each member then opens **Customize** → **Connectors**, finds Mochi and clicks **Connect**. Every member signs in to Mochi with their own account, so each person gets their own Mochi role. ### Use it in a chat Click **+** at the bottom left of the message box, open **Connectors** and switch **Mochi** on. Then ask something like "Who were my top setters last week?". Claude asks before it changes anything in Mochi. To disconnect, remove Mochi under **Customize** → **Connectors**. ## Claude Code **What you need**: Claude Code installed and signed in. 1. Add the server. This command adds it for every project on your computer: ```bash claude mcp add --transport http --scope user mochi https://mcp.themochi.app/mcp ``` Leave out `--scope user` to add it to the current project only. Use `--scope project` to share it with your team through a `.mcp.json` file in the repository. 2. Start Claude Code and run: ```text /mcp ``` 3. Choose **mochi** and pick the sign-in option. A browser opens. Sign in to Mochi, pick your workspace and approve. You can also sign in from your shell with `claude mcp login mochi`, and sign out with `claude mcp logout mochi`. If the browser doesn't open, copy the link Claude Code prints. If the redirect fails, paste the full callback URL back into Claude Code. Sign in interactively once before you use Mochi in non-interactive runs (`claude -p` or the Agent SDK), because those can't open a sign-in page. ## Troubleshooting | Problem | Fix | | --- | --- | | "Add custom connector" is missing on Team or Enterprise | Only Owners and Primary Owners can add connectors. Ask them to add Mochi under Organization settings. | | Free plan: you can't add another connector | Free allows one custom connector. Remove another one, or upgrade. | | Claude Code shows Mochi as needing authentication | Run `/mcp`, choose mochi and sign in again. | | Answers stop after a while | That's usually your Claude plan's usage limit, not Mochi. | Checked against Anthropic's documentation on 26 November 2026: [custom connectors](https://support.claude.com/en/articles/11175166-getting-started-with-custom-connectors-using-remote-mcp) and [Claude Code MCP](https://code.claude.com/docs/en/mcp). --- # Connect Mochi to ChatGPT Add Mochi to ChatGPT once, then bring your Mochi data into any chat with `@Mochi`. New to Mochi MCP? Start with the [overview](https://themochi.app/docs/integrations-and-tracking/mcp). **Server URL:** `https://mcp.themochi.app/mcp` ## What you need - **ChatGPT Business, Enterprise or Edu** for full access. On Business, only admins and owners can add custom MCP servers. On Enterprise and Edu, admins can also allow selected members. - **ChatGPT Pro** can connect custom MCP servers too, but OpenAI limits them to read and fetch actions there. You can ask Mochi questions, but changes like tagging a lead may not be available. - **The ChatGPT website.** Custom MCP servers can't be added in the mobile apps. OpenAI's pages disagree on whether Plus can add custom MCP servers. If you're on Plus and don't see the option below, your plan doesn't include it. ## Add Mochi 1. Go to **Plugins** in ChatGPT ([chatgpt.com/plugins](https://chatgpt.com/plugins)). 2. Click **+**, then **Add custom MCP server**. 3. Name it **Mochi**. A description is optional. 4. Under **Connection**, enter `https://mcp.themochi.app/mcp`. 5. Under authentication, choose **OAuth**. 6. Read the warning and tick **I understand and want to continue**. 7. Click **Create as a plugin**. A Mochi sign-in page opens. Sign in, **pick your workspace** and approve. 8. Wait while ChatGPT scans Mochi's tools. On Business, Enterprise and Edu, an admin can publish Mochi to the whole workspace: **Admin Console** → your workspace → **Plugins** → **Manage Legacy Apps** → **Drafts** → **Publish**. Each member still signs in to Mochi with their own account. ## Use it in a chat Type `@` in the message box and pick **Mochi**, then ask something like "Show me my funnel for the last 30 days". The pick applies to that one message, so mention `@Mochi` again in follow-ups that need Mochi data. ChatGPT asks before it changes anything. ## Troubleshooting | Problem | Fix | | --- | --- | | There's no "Add custom MCP server" option | Your plan or role doesn't allow it. On Business, ask an admin. On Enterprise or Edu, ask an admin to allow you. | | Mochi can answer questions but can't tag or move leads | On Pro, custom servers are limited to read actions. Changes also need a Creator or Manager role in Mochi. | | Mochi stopped working after a while | Remove the plugin and add it again to sign in fresh. | Checked against OpenAI's documentation on 26 November 2026: [Connecting custom MCP servers in ChatGPT](https://help.openai.com/en/articles/12584461-developer-mode-and-mcp-apps-in-chatgpt) and the [developer mode guide](https://developers.openai.com/api/docs/guides/developer-mode). --- # Connect Mochi to Gemini You can connect Mochi to the Gemini app in your browser or to Gemini CLI in your terminal. New to Mochi MCP? Start with the [overview](https://themochi.app/docs/integrations-and-tracking/mcp). **Server URL:** `https://mcp.themochi.app/mcp` ## Gemini app (gemini.google.com) **What you need**: Google currently limits custom apps to: - a **personal** Google Account (work and school accounts are excluded); - people **18 or over in the US**, using Gemini in English; - Gemini Apps activity (**Keep Activity**) switched on. You add the app on the web. Once added, it also works in the Gemini mobile app. 1. On a computer, go to [gemini.google.com](https://gemini.google.com) and open **Settings** → **Connected Apps**. 2. Under **Custom apps**, click **Add a custom app**. 3. Enter `https://mcp.themochi.app/mcp` and click **Next**. 4. Follow the on-screen steps. When the Mochi sign-in page opens, sign in, **pick your workspace** and approve. To use it, type `@` in a chat, pick **Mochi** and ask your question. Google's help page doesn't describe the sign-in screens in detail, and some regions show this feature under a different name. If you don't see **Custom apps**, your account isn't eligible yet. Use Gemini CLI below instead. ## Gemini CLI **What you need**: Gemini CLI on a computer with a browser. Sign-in needs a browser on the same machine, so it won't work over SSH or in a container. 1. Add Mochi. Either run: ```bash gemini mcp add --transport http mochi https://mcp.themochi.app/mcp ``` or add this to `~/.gemini/settings.json` yourself: ```json { "mcpServers": { "mochi": { "httpUrl": "https://mcp.themochi.app/mcp" } } } ``` Use `httpUrl`, not `url`: `url` is for the older SSE transport. 2. Start `gemini` and sign in: ```text /mcp auth mochi ``` A browser opens. Sign in to Mochi, pick your workspace and approve. 3. Check it worked: `/mcp` shows Mochi as **CONNECTED**. Gemini CLI keeps your sign-in in `~/.gemini/mcp-oauth-tokens.json` and refreshes it automatically. Google has replaced Gemini CLI with Antigravity CLI for unpaid and Google One users. We haven't confirmed whether Antigravity CLI uses the same settings file. ## Troubleshooting | Problem | Fix | | --- | --- | | No "Custom apps" in Gemini settings | Your account isn't eligible (personal US account, 18+, English, Keep Activity on). | | `/mcp auth` doesn't open a browser | You're on a remote or headless machine. Run Gemini CLI locally. | | Mochi shows as disconnected | Run `/mcp auth mochi` again. | Checked against Google's documentation on 26 November 2026: [custom apps in Gemini](https://support.google.com/gemini/answer/17209137) and [Gemini CLI MCP servers](https://geminicli.com/docs/tools/mcp-server/). --- # Connect Mochi to GitHub Copilot Use your Mochi data from Copilot Chat in VS Code. New to Mochi MCP? Start with the [overview](https://themochi.app/docs/integrations-and-tracking/mcp). **Server URL:** `https://mcp.themochi.app/mcp` ## What you need - **VS Code 1.99 or later** with GitHub Copilot. - On **Copilot Business or Enterprise**, your organization must have the **MCP servers in Copilot** policy switched on. If it's off, ask your GitHub admin. ## Add Mochi from VS Code (easiest) 1. Open the Command Palette and run **MCP: Add Server**. 2. Choose **HTTP (HTTP or Server-Sent Events)**. 3. Enter `https://mcp.themochi.app/mcp`. 4. Name it `mochi`. 5. Choose to install it globally, so it works in every project, and accept the trust prompt. ## Or add it to a config file To add it to one project only, create `.vscode/mcp.json` in the project: ```json { "servers": { "mochi": { "type": "http", "url": "https://mcp.themochi.app/mcp" } } } ``` To add it for every project, run **MCP: Open User Configuration** and add the same entry there. Newer VS Code versions also read `~/.copilot/mcp-config.json`, or `.mcp.json` at the root of a project. Those files use a top-level `"mcpServers"` key instead of `"servers"`. ## Sign in and use it 1. In the MCP server list, or in the editor above the entry, click **Start** next to **mochi**. 2. A browser window opens the first time. Sign in to Mochi, **pick your workspace** and approve. 3. Open Copilot Chat and choose **Agent**. Click the tools icon to check that Mochi's tools are listed. 4. Ask something like "Which of my leads went quiet this week?". ## Troubleshooting | Problem | Fix | | --- | --- | | Mochi's tools don't show up in chat | Make sure you're in **Agent** mode and the server is started. | | "MCP is disabled by your organization" | Your Copilot Business or Enterprise admin needs to switch on the MCP servers policy. | | You need to sign in again or switch workspace | Run **Authentication: Remove Dynamic Authentication Providers**, then start the server again. | Checked against Microsoft's and GitHub's documentation on 26 November 2026: [VS Code MCP servers](https://code.visualstudio.com/docs/copilot/customization/mcp-servers), [MCP configuration reference](https://code.visualstudio.com/docs/agents/reference/mcp-configuration) and [extending Copilot Chat with MCP](https://docs.github.com/en/copilot/how-tos/provide-context/use-mcp/extend-copilot-chat-with-mcp). The two vendors describe Agent mode and the recommended config file slightly differently. Both setups above work. --- # Connect Mochi to Codex The Codex CLI, the Codex IDE extension and the ChatGPT desktop app all share the same Codex settings, so you add Mochi once. New to Mochi MCP? Start with the [overview](https://themochi.app/docs/integrations-and-tracking/mcp). **Server URL:** `https://mcp.themochi.app/mcp` ## Codex CLI 1. Add Mochi: ```bash codex mcp add mochi --url https://mcp.themochi.app/mcp ``` Or add it to `~/.codex/config.toml` yourself: ```toml [mcp_servers.mochi] url = "https://mcp.themochi.app/mcp" ``` 2. Sign in: ```bash codex mcp login mochi ``` A browser opens. Sign in to Mochi, **pick your workspace** and approve. On a machine without a browser, run `codex mcp login mochi --no-browser`. Open the link it prints on another device, sign in, then paste the full redirect URL back into the terminal. If `codex mcp add` doesn't accept `--url`, your Codex is out of date: update it, or use the config file instead. ## Codex IDE extension 1. Open the gear menu → **MCP servers** → **Add server**. 2. Name it `mochi`, choose **Streamable HTTP** and enter `https://mcp.themochi.app/mcp`. 3. Save, then choose **Restart extension**. 4. Click **Authenticate** and sign in to Mochi in the browser. ## Use it Ask Codex something like "Pull this week's bookings from Mochi and summarise them by setter". In ChatGPT work chats, your workspace admin decides which tools are available. ## Troubleshooting | Problem | Fix | | --- | --- | | Mochi tools fail with "unauthorized" | Run `codex mcp login mochi` again. | | You followed an old guide that sets an experimental flag | Remove it. Current Codex doesn't need one for remote servers. | Checked against OpenAI's Codex documentation on 26 November 2026: [MCP in the Codex CLI](https://learn.chatgpt.com/docs/extend/mcp?surface=cli) and [MCP in the IDE extension](https://learn.chatgpt.com/docs/extend/mcp?surface=ide). --- # Connect Mochi to Windsurf (Devin Desktop) Windsurf became **Devin Desktop** in June 2026. Existing plans carried over unchanged. These steps cover both. New to Mochi MCP? Start with the [overview](https://themochi.app/docs/integrations-and-tracking/mcp). **Server URL:** `https://mcp.themochi.app/mcp` ## What you need - Windsurf or Devin Desktop. - On **Teams or Enterprise**, an admin may have to allow MCP servers, or add Mochi to the allowlist. On Enterprise, MCP must also be switched on in settings. ## Add Mochi (Devin Desktop) 1. In the **Agents** window, open **Customize** → **MCPs**. 2. Set **Install MCPs for** to **This computer**. 3. Add a server named **mochi** with the URL `https://mcp.themochi.app/mcp`, then switch it on. 4. When Mochi shows **Needs authentication**, click **Authenticate**. A browser opens. Sign in to Mochi, **pick your workspace** and approve. ## Add Mochi (older Windsurf builds) 1. Open **Settings** → **Tools** → **Windsurf Settings** → **Add Server**. Or edit `mcp_config.json` directly and add: ```json { "mcpServers": { "mochi": { "serverUrl": "https://mcp.themochi.app/mcp" } } } ``` 2. Click the **refresh** button in the MCP panel. 3. Click **Authenticate** if Mochi asks for it, then sign in to Mochi in the browser. Use the settings screen if you can. Devin's official docs give different locations for `mcp_config.json` (under `~/.codeium/` in one place, `~/.config/devin/` in another), and we couldn't confirm which one your version uses. ## Use it Ask the agent something like "Summarise yesterday's conversations that mention price". It calls Mochi's tools when it needs your data. ## Troubleshooting | Problem | Fix | | --- | --- | | Mochi says **Needs authentication** | Click **Authenticate** and sign in again. Do the same when your sign-in expires. | | You can't add servers | Your Teams or Enterprise admin has turned MCP off or limited it to an allowlist. | | Edited `mcp_config.json` but nothing changed | You edited a file your version doesn't read. Add Mochi through the settings screen instead. | Checked against Devin's documentation on 26 November 2026: [Cascade MCP](https://docs.devin.ai/windsurf/plugins/cascade/mcp), [Devin Desktop MCP](https://docs.devin.ai/desktop/cascade/mcp) and the [Devin Desktop FAQ](https://docs.devin.ai/desktop/devin-desktop-faq). --- # Connect Mochi to Mistral Vibe (Le Chat) Mistral renamed Le Chat to **Vibe** in 2026. It's still at [chat.mistral.ai](https://chat.mistral.ai). Connectors are part of **Vibe Work**. New to Mochi MCP? Start with the [overview](https://themochi.app/docs/integrations-and-tracking/mcp). **Server URL:** `https://mcp.themochi.app/mcp` ## What you need - **Admin rights** in your Mistral workspace. Only admins can add connectors. On Free, Pro and Student plans, the account owner is the admin. ## Add Mochi 1. Open the **Connectors** page in Vibe. 2. Click **+ Add Connector** and switch to the **Custom MCP Connector** tab. 3. Name it `mochi` (no spaces or special characters). Enter `https://mcp.themochi.app/mcp` as the server URL. 4. Click **Connect**. Vibe detects that Mochi uses OAuth and walks you through sign-in. Sign in to Mochi, **pick your workspace** and approve. Mistral's docs don't say where **Connectors** sits in the sidebar, and guides disagree (it has appeared under **Intelligence** and under **Context**). In larger organizations, connectors may be managed from Mistral's admin console instead. ## Use it Start a Vibe Work conversation, make sure Mochi is enabled in your tools, and ask something like "Which leads asked about price this week?". Mistral's custom connectors don't support MCP resources or prompt templates. Mochi only uses tools, so nothing is lost. ## Troubleshooting | Problem | Fix | | --- | --- | | No "Add Connector" button | You're not an admin of the workspace. Ask the owner to add Mochi. | | The name is rejected | Use letters only, for example `mochi`. | Checked against Mistral's documentation on 26 November 2026: [MCP connectors](https://docs.mistral.ai/vibe/work/web/connectors/mcp-connectors) and [Le Chat is now Vibe](https://help.mistral.ai/en/articles/682992-le-chat-is-now-vibe). --- # Connect Mochi to Manus Manus can use Mochi as a custom MCP connector. New to Mochi MCP? Start with the [overview](https://themochi.app/docs/integrations-and-tracking/mcp). **Server URL:** `https://mcp.themochi.app/mcp` ## Add Mochi 1. Open **Settings** (bottom left) → **Connectors**. 2. Click **+ Add connectors**, open the **Custom MCP** tab and choose **Add custom MCP** (sometimes labelled **Add MCP by URL**). 3. Name it `mochi`. Keep the transport type **HTTP** and enter `https://mcp.themochi.app/mcp` as the server URL. 4. Click **Save**. Manus's own pages describe this path in two different ways (**Connectors → Create → Add MCP by URL**, and **Settings → Integrations → Custom MCP Servers**). Look for whichever your account shows. The fields are the same. ## Sign in The first time Manus uses a Mochi tool, it pauses and asks you to **Log in**. Sign in to Mochi, **pick your workspace** and approve. After that the connection stays signed in across tasks. Manus's official docs don't describe this sign-in step. It comes from an integration guide published by another MCP provider. If Manus doesn't ask you to log in, remove the connector and add it again. ## What you need Manus says connector availability "can depend on your account". It doesn't publish which plans include custom MCP. Checked against Manus's [connectors page](https://manus.im/features/connectors) and [custom MCP docs](https://manus.im/docs/integrations/custom-mcp) on 26 November 2026, plus [Apify's Manus guide](https://docs.apify.com/integrations/manus) for the detailed steps. --- # Connect Mochi to Goose Goose is a free, open-source AI agent. It calls MCP servers "extensions". New to Mochi MCP? Start with the [overview](https://themochi.app/docs/integrations-and-tracking/mcp). **Server URL:** `https://mcp.themochi.app/mcp` ## Goose Desktop 1. Click the button at the top left to open the sidebar. 2. Click **Extensions** → **Add custom extension**. 3. Set the type to **Streamable HTTP**. Name it `mochi` and enter `https://mcp.themochi.app/mcp` as the endpoint. 4. Click **Add**. ## Goose CLI 1. Run `goose configure`. 2. Choose **Add Extension**, then **Remote Extension (Streamable HTTP)**. 3. Name it `mochi`. 4. Enter `https://mcp.themochi.app/mcp` as the endpoint. 5. Keep the default timeout (300 seconds). Add a description if you like. 6. Answer **No** to custom headers. Mochi doesn't use an API key. Prefer the config file? Add this to `~/.config/goose/config.yaml`. Note the key is `uri`, not `url`: ```yaml extensions: mochi: name: Mochi type: streamable_http uri: https://mcp.themochi.app/mcp enabled: true timeout: 300 ``` To try Mochi for one session only: ```bash goose session --with-streamable-http-extension "https://mcp.themochi.app/mcp" ``` ## Sign in Goose registers itself with Mochi automatically, so there's no client ID to enter. When Goose connects to Mochi, a browser window opens. Sign in to Mochi, **pick your workspace** and approve. On macOS, Goose may ask for keychain access to store the sign-in. Goose's own docs confirm the automatic registration but don't describe the sign-in screens. The browser window and keychain prompt above come from user reports. ## Troubleshooting | Problem | Fix | | --- | --- | | The sign-in redirect fails on your network | Set a fixed callback port with the `GOOSE_OAUTH_CALLBACK_PORT` environment variable and try again. | | Mochi doesn't appear in a session | Check that the extension is enabled in **Extensions** or in `config.yaml`. | Checked against Goose's documentation on 26 November 2026: [using extensions](https://goose-docs.ai/docs/getting-started/using-extensions) and [remote extension example](https://goose-docs.ai/docs/mcp/github-mcp). --- # Connect Mochi to Hermes Agent Hermes Agent by Nous Research supports remote MCP servers out of the box. New to Mochi MCP? Start with the [overview](https://themochi.app/docs/integrations-and-tracking/mcp). **Server URL:** `https://mcp.themochi.app/mcp` ## Add Mochi 1. Open `~/.hermes/config.yaml` and add Mochi under `mcp_servers`: ```yaml mcp_servers: mochi: url: "https://mcp.themochi.app/mcp" auth: oauth ``` 2. Sign in: ```bash hermes mcp login mochi ``` Hermes prints a sign-in link and opens your browser when it can. Sign in to Mochi, **pick your workspace** and approve. Hermes waits five minutes for you to finish. 3. In a running session, run `/reload-mcp`, or start a new session. 4. Optional: check the connection with `hermes mcp test mochi`. Hermes stores the sign-in in `~/.hermes/mcp-tokens/mochi.json` and refreshes it automatically. ## On a server without a browser Run `hermes mcp login mochi`, open the printed link on another device, and paste the redirect URL back into the terminal when asked. An SSH port-forward to the callback port also works. ## Troubleshooting | Problem | Fix | | --- | --- | | Mochi stopped working in the background gateway | The background gateway and `/reload-mcp` never open a browser. Run `hermes mcp login mochi` again in a terminal. | | The login timed out | Run it again. You can also raise `oauth.timeout` in the config. | Checked against the [Hermes Agent MCP documentation](https://hermes-agent.nousresearch.com/docs/user-guide/features/mcp) on 26 November 2026. --- # Connect Mochi to Meta Muse Meta Muse can use outside services through **custom connectors**. Unlike most assistants, it has no settings field where you paste an MCP server URL. You set it up by asking Muse in a chat. New to Mochi MCP? Start with the [overview](https://themochi.app/docs/integrations-and-tracking/mcp). **Server URL:** `https://mcp.themochi.app/mcp` ## Add Mochi 1. Start a chat with Muse and ask: ```text Create a custom connector for the Mochi MCP server at https://mcp.themochi.app/mcp ``` 2. Follow Muse's prompts. If it asks you to sign in or enter credentials, it uses a separate secure entry step. Never paste a password into the chat itself. 3. Open **Settings** → **Connectors** to choose whether Muse must ask you before it uses Mochi. Meta doesn't review custom connectors, so only add services you trust. ## Before you rely on it We couldn't confirm Muse's custom connector flow against Meta's own help article. The article loads only in a browser, and guides from other companies disagree about the steps. In particular, it isn't documented whether Muse supports the browser sign-in Mochi uses (OAuth). If Muse can't complete the Mochi sign-in, use one of the other assistants in the [overview](https://themochi.app/docs/integrations-and-tracking/mcp). We'll update this page once the flow is confirmed. Sources: Meta's help article [How Muse works with Connectors](https://www.meta.com/help/artificial-intelligence/1687253048996149/), plus guides from other companies. Checked 26 November 2026. --- # Notifications **What it is** — Mochi notifies your team through mobile push notifications on the iOS app — new leads, replies, booked calls, cancellations, payment reminders, and team mentions — so nobody has to sit and refresh the Inbox to catch what's happening. **Who can use it** — Everyone on the team. Push is a per-device, per-user iOS setting, so each person controls their own. iOS only — there's nothing to set up on web. > Slack alerts are discontinued. Mochi previously offered a Slack integration that posted these same kinds of alerts to a connected Slack workspace. It has been retired and is not part of Mochi going forward. If you're looking for a Slack connection, there's nothing to set up — it isn't offered anymore, and it isn't coming back. ### What push covers * New messages from your assigned leads * Lead-window-closing warnings * AI takeover and handoff — when the AI setter hands a conversation back to a human * Team note and team chat mentions * Team announcements Most of these are on by default. The one exception: a Closer's lead-window-expiring warning is off by default, even for organizations where the feature is otherwise enabled — a Closer has to opt in explicitly. Notifications for a single conversation are grouped together so your lock screen doesn't flood. ### How to enable it **Web:** Nothing to connect. Push notifications need no separate setup on web — they follow automatically from signing in on the iOS app. **iOS:** 1. Sign in on the iPhone app and select your organization. 2. Tap **Allow** when iOS asks for notification permission. 3. If you tapped Deny earlier, re-enable it under the iPhone's Settings > Notifications > Mochi. ### Tips * Push identity is tied to your user, not a single organization — one device gets alerts across every organization you belong to. * If you're a Closer and want a heads-up before a lead's messaging window expires, turn that on yourself — it isn't automatic. * If your team has a Slack Connect channel with Mochi's support team for SOPs and questions, that's a separate support channel — not an in-app notification feature, and it doesn't post automated alerts from your Mochi account. ### Common mistakes & fixes | Mistake | Fix | | ------------------------------------------------------- | ------------------------------------------------------ | | Looking for a Slack integration to connect | Discontinued — there's nothing to set up or re-enable. | | Denied the iOS permission prompt, then no pushes arrive | Fix it under iPhone Settings > Notifications > Mochi. | | Expecting a Closer's window-expiring warning by default | It's opt-in — turn it on explicitly. | ### Limits & good to know * iOS only; there's no web equivalent to configure. * Closer's lead-window-expiring warning needs explicit opt-in. **Related:** The Inbox, Manage your Instagram connection, Common issues & instant fixes --- # Home Dashboard ## The Home dashboard **What it is** — The Home dashboard turns your Instagram sales activity into numbers: headline counts, a funnel breakdown, and an unqualified breakdown, all filterable by date range. It's the fastest way to see how your pipeline is doing without opening the Leads table or counting by hand. **Who can use it** — Everyone on the team can open the Dashboard, but what you see depends on your role. Creators and Managers get an org-wide Home view covering the whole team. Setters and Closers get a Home view focused on their own work. Available on **Web** and **iOS**. ### How to use it **Web:** 1. Open **Dashboard** in the sidebar. 2. Select **Home** — this is the default tab. **iOS:** 1. Tap the **Dashboard** tab in the bottom bar. 2. Use the picker at the top and select **Overview**. Both platforms show the same underlying view — web labels it "Home," iOS labels the same screen "Overview." ### What's on the Home dashboard * **Headline counts** — new leads, qualified leads, booked calls, and won deals for your selected date range. The exact cards shift depending on whether you're viewing as a setter, closer, or admin. * **Funnel / pipeline breakdown** — how many leads sit at, or moved through, each stage: New, In contact, Qualified, Booked call, Deposit, Won, Lost, No show. * **Unqualified breakdown** — a closer look at your Unqualified leads. Since a lead marked Unqualified can carry a reason (financial objection, time waster, ghosted, and so on), this is where you spot whether one reason is doing most of the damage. * **Date range** — every card responds to the date-range picker at the top of the page, so you can scope the whole view to a specific week, month, or custom period. ### Why your numbers might not match a hand count This is the single most common point of confusion, so it's worth reading once. > Every number on this dashboard is counted by the **date of the stage-change event**, not the date the lead was created. A lead created in January who doesn't book a call until February shows up as a New Lead in January's totals and a Booked Call in February's — each event lands in whichever month it actually happened, never both in the lead's original creation month. The Home dashboard also doesn't count rows in your Leads table. Funnel and booked-call numbers are built from **stage-change events** that happened inside your date range, plus **current-stage snapshots** — not a raw tally of leads. In practice, that means a lead who moved from Qualified to Booked call and back again inside your date range can show up in more than one stage-change count, and the dashboard's totals for a given range won't always match what you count by hand in the Leads table or Inbox. Treat the dashboard as your trend and health check, and the Leads table as your source of truth for any individual lead. ### Tips * Check Home first thing each day — the funnel breakdown tells you where to focus before you open the inbox. * Compare date ranges (this week vs. last week) instead of staring at a single snapshot; single-day numbers are noisy. * If a number looks off, cross-check it against the Leads table for that specific lead rather than assuming the dashboard is wrong — remember the stage-change-event caveat above. * Pair Home's funnel breakdown with the benchmarks in Benchmarks & diagnostics to know what "good" looks like at each stage. ### Common mistakes & fixes | Mistake | Fix | | ---------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | | Expecting a lead's New Lead and Booked Call counts to land in the same month | They're counted by the date each stage change actually happened, not the lead's creation date — see above | | Expecting the funnel breakdown to equal a hand count from the Leads table | Remember it's built from stage-change events plus snapshots, not row counts — see above | | A setter or closer expects to see the same numbers as a Creator/Manager | Home is role-scoped — setters and closers see their own work, admins see the whole org | | Assuming Links or Payments data lives on Home | Those are separate tabs on the Dashboard that only appear when enabled for your org — see Links analytics and The Payments dashboard | ### Limits & good to know * Home is part of the wider Dashboard, which also includes **Performance** and — when enabled for your org — **Links** and **Payments** tabs. * What you see is role-based; it isn't something you configure yourself. **Related:** The Performance dashboard, Links analytics, The Payments dashboard, Benchmarks & diagnostics --- # Performance Dashboard ## The Performance dashboard **What it is** — The Performance dashboard shows how your team is doing, member by member: messages sent, reply activity, booked calls, and similar activity, plus org-wide message stats over your chosen date range. **Who can use it** — Creators and Managers get the full team Performance view. Setters and Closers can open a **read-only** version on **Web**. On **iOS**, the Performance tab is shown to admins (Creator/Manager) only — setters and closers won't see it there. ### How to use it **Web:** 1. Open **Dashboard** in the sidebar. 2. Select **Performance**. 3. Filter to a subset of members if you want to narrow the view. **iOS (Creator/Manager only):** 1. Tap the **Dashboard** tab in the bottom bar. 2. Use the picker at the top and select **Performance**. ### What's on the Performance dashboard * **Per-member rows** — one row per setter, closer, or member, showing messages, reply activity, booked calls, potential earnings, and similar activity metrics for your date range. * **Org-wide message stats** — total messaging activity across the whole org over the same range. * **Member filtering** — narrow the view down to specific people when you only want to check one or two setters. * **Date range** — like Home, the view responds to a date-range picker; the default **This week** option runs **Monday–Sunday** and isn't adjustable to a different start day. ### Potential earnings Each member's row includes a **potential earnings** figure. It's calculated from payments already **logged or pending** in Mochi — synced from a connected payment provider, or manually logged on a lead — combined with that member's commission %. It is **not** an AI estimate of how big an in-flight deal might turn out to be: if a deal hasn't been logged as paid or pending anywhere in the system, it doesn't factor into the number. Earnings display on Performance is **percentage-only** — you'll see a member's commission rate, not a converted dollar figure. There's currently no toggle to switch the display to a dollar amount. ### Response time: why it can look high Setter response time is one of the per-member metrics here — see Benchmarks & diagnostics for healthy targets. The calculation has historically counted **overnight hours** — the hours a setter is asleep and not expected to be responding — which can make the average look alarmingly high even for a fast-replying setter. If your team works normal daytime hours and still sees a multi-hour average, this is the likely reason, not a slow team. ### Tips * Filter to one member at a time when you want to hold an individual setter accountable to their own numbers, rather than comparing everyone in one crowded view. * Use Performance alongside the funnel breakdown on The Home dashboard — Home tells you *where* the pipeline is stuck, Performance tells you *who* is or isn't moving it. * If today's numbers look low, give it a few minutes and refresh before assuming something's broken — see the freshness note below. * Don't assume a high average response time means setters are slow — check whether it's counting overnight hours before reacting. ### Common mistakes & fixes | Mistake | Fix | | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | | A setter or closer looks for Performance on iOS and can't find it | It's admin-only on iOS (Creator/Manager). On web, setters and closers can still open a read-only version. | | Filtering by a member and getting an empty or wrong-looking view | Member filtering doesn't validate — an outdated or mistyped member ID is silently dropped instead of showing an error. Reselect from the current member list. | | Expecting today's activity to be fully up to date | Performance is cached for a few minutes, so very recent activity can lag slightly. Refresh after a moment. | | Pulling org message stats over a multi-year range | Date ranges for org message stats are bounded to about a year; very wide ranges are rejected — narrow the range. | | Expecting earnings to show as a dollar amount | Setter earnings display is percentage-only — there's no dollar toggle. | | Assuming a several-hour average response time means setters are ignoring leads | The calculation has historically included overnight hours — see the response-time note above. | ### Limits & good to know * Freshness lag: Performance views are cached for a few minutes, so today's numbers can trail live activity briefly. * Org message stats accept a date range up to about a year. * Setters and closers get read-only Performance on web; on iOS, Performance is admin-only. * The same stage-change-event math used on Home applies to booked-call numbers here too — see The Home dashboard for what that means. * Potential earnings reflect logged/pending payments only — never an AI guess at deal size. * Setter earnings display is percentage-only; there's no dollar-amount toggle. * The default **This week** filter runs Monday–Sunday and isn't user-adjustable. **Related:** The Home dashboard, Benchmarks & diagnostics, Invite your team & roles --- # Link analytics ## Links analytics **What it is** — Every Mochi tracking link records who clicked it, when, and from where. Links analytics is where you read that data — both per-link, on the Dashboard, and per-lead, on that lead's own timeline. **Who can use it** — Anyone who can open the Dashboard can view link analytics — it isn't role-gated the way Payments or custom domains are. Confirmed on **Web**. **iOS** covers creating and managing links, but the detailed per-link analytics view below is only confirmed for web — see the note under "How to use it." **Before you start** — You need at least one tracking link created and sent. If you haven't set one up yet, start with Tracking links & attribution. ### How to use it **Web:** 1. Open **Dashboard > Links**. 2. Click into any link to see its analytics. **iOS:** 1. Open **Settings > Content Hub** to view and manage your saved links. ### What each link's analytics show Every send tracks: * **Clicked?** — whether the link was clicked at all. * **First click** — when it was clicked for the first time. * **Total clicks** — how many times it's been clicked. * **Location and device** — basic geographic and device info for the clicks. Bot clicks are filtered out automatically, so these numbers reflect real people. ### Lead timeline events Beyond the aggregate view at **Dashboard > Links**, every individual lead's timeline shows **link-sent** and **link-clicked** events for that specific lead. Open the lead's profile to see exactly which links they got and whether they engaged — useful context right before you follow up. ### Tips * A link that's sent but not clicked is a real signal — pair it with an AI follow-up rule so no one has to remember to nudge manually. * Always send links through Mochi's composer, or insert a saved link from Content Hub, rather than pasting a raw URL — see the common mistake below. * Check a lead's timeline before a call to see what they've already clicked; it's a quick way to gauge real interest. ### Common mistakes & fixes | Mistake | Fix | | ---------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Pasting a raw URL (like a Calendly link) as plain text | It bypasses tracking entirely — no click is ever recorded. Let smart-link conversion turn it into a Mochi short link first, or insert a saved link from Content Hub. | | Assuming a low click count means the lead isn't interested | Check location and device too, and remember bot clicks are already filtered out — what's left is real activity. | | Expecting a link's analytics to update instantly | Give it a moment. Like the rest of the Dashboard, analytics can lag slightly behind the most recent click. | ### Limits & good to know * Once a URL has been converted into a Mochi short link, it stays tracked even if someone later pastes it directly — but only after that first conversion happens. * Custom branded domains (for example `go.yourbrand.com` instead of `moch.me`) are a separate, web-only, Creator/Manager-gated beta feature — see Custom branded link domain. * Links and Payments tabs on the Dashboard only appear when enabled for your org. **Related:** Tracking links & attribution, Custom branded link domain, AI follow-up rules, The Home dashboard --- # Payments dashboard ## The Payments dashboard **What it is** — When a payment provider is connected, the Payments tab on your Dashboard turns that data into revenue, client, transaction, and cost views. **Who can use it** — Payment data is restricted to admins — the **Creator** and **Manager** roles.Everyone else — setters, closers, and any other role — won't see numbers here. Confirmed on **Web** (`Dashboard > Payments`); iOS availability is unconfirmed — see below. **Before you start** — Connect a payment provider first: Stripe, Whop, FanBasis, or Ablefy. See Payment integrations for the connect flow — this article only covers reading the dashboard once payments are connected. ### How to use it **Web:** 1. Open **Dashboard**. 2. Select **Payments** — this tab only appears once payments are enabled for your org. ### What the four views cover Mochi organizes payment data into four areas: * **Revenue** — money coming in from your connected provider(s). * **Clients** — the people who've paid. * **Transactions** — individual payment records. * **Costs** — provider-side fees or expenses. If you'd rather not click through tabs, ask Mochi AI a plain-English question like "What's our revenue this month?" instead — it draws on the same data, for the same admin roles (Creator/Manager, and Finance where present). ### Tips * If the Payments tab is missing entirely, check two things: whether a payment provider is actually connected, and whether your role is Creator, Manager, or Finance (where present). * Prefer asking Mochi AI a direct question over hunting through tabs when you just need one number. ### Common mistakes & fixes | Mistake | Fix | | ---------------------------------------------- | ----------------------------------------------------------------------------------------------------- | | A Setter or Closer can't find the Payments tab | It's role-gated to admins (Creator/Manager, and Finance where present) by design — not a bug. | | No data shows up at all | Confirm a payment provider is connected under **Settings > Integrations** — see Payment integrations. | ### Limits & good to know * Role-gated to admins — Creator, Manager, and Finance where present — everyone else is excluded by design. * Only appears on the Dashboard when enabled for your org. * Connecting a provider (Stripe, Whop, FanBasis, Ablefy) and what syncs is covered in Payment integrations, not here. **Related:** Payment integrations, Mochi AI (Ask Mochi), The Home dashboard --- # Ask Mochi ## Mochi AI (Ask Mochi) **What it is** — Mochi AI is the assistant built into Mochi that you chat with in plain English. Ask it about your DMs, leads, funnel, team performance, links, and payments, and it answers using your own organization's real data. It also helps you draft content ideas, reels plans, objection-handling scripts, follow-up plans, and weekly recaps. **Who can use it** — Everyone on the team: coaches, setters, and closers can all use it. ### How to use it **Web:** 1. Open the **Inbox**. 2. Tap the **Ask Mochi** button in the conversation list — or press **Cmd+O** (Mac) / **Ctrl+O** (Windows) from anywhere in the app. 3. Type your question in plain English and send it. **iOS:** 1. Tap the glowing **Mochi mascot** button next to the bottom tab bar — visible from tabs like Inbox and Dashboard. This opens the assistant full screen. 2. Type your question and send it. This is a different feature from **AI Setter**, which works inside individual conversations. Mochi AI only answers questions about your data — it never messages a lead. Behind the scenes, Ask Mochi runs on the same large, read-only tool set that powers the Mochi + Claude (MCP) connector — so if your team also queries Mochi data through Claude, the kinds of questions you can ask there and here overlap closely. ### Example questions to try * "Which leads are hottest right now and need a follow-up today?" * "What are our top objections this month, and how well are we handling them?" * "Give me a performance report for the team this week." * "Based on our DMs, give me 10 content ideas to attract more of this audience." * "Show me our funnel and where the biggest drop-off is." Mochi pulls the real numbers behind every answer — it never makes up figures. If something isn't tracked, it says so instead of guessing. ### Saved prompt library The first time you open Mochi AI, you'll see starter prompts and a saved prompt library — Content Ideas, Objection Handling, Funnel Health, and more. Run any of them with one tap, then edit the wording to fit your business. ### Scheduled recipes Save any prompt — a starter prompt, a library prompt, or one you wrote yourself — as a **recipe** that reruns automatically on a schedule: daily, weekly, or monthly. Share it with your team so everyone gets the same report without having to ask for it again. ### What Mochi AI can't do Mochi AI is **read-only**. It can read and analyze your data, but it can't change anything, send messages, or take any action. If you ask it to message a lead, it points you to where you can do that yourself in the app. ### Tips * Be specific. Very broad questions can time out — narrow the question ("this week," "for setter X," "in the Qualified stage") for a faster, sharper answer. * Start from a saved prompt and edit it rather than writing from scratch every time. * Set up a scheduled recipe for anything you'd otherwise ask every week, like a Monday funnel-health check. ### Common mistakes & fixes | Mistake | Fix | | ---------------------------------------------------------- | ---------------------------------------------------------------------------------------- | | Asking Mochi AI to send a message or change a lead's stage | It can't — it's read-only. It tells you where to do that in the app instead. | | A Setter asks a payment question and gets no data | Payment answers are limited to admin roles (Creator/Manager, and Finance where present). | | Asking a very broad, open-ended question | It can time out. Be specific — add a date range, a person, or a stage. | ### Limits & good to know * Read-only: it never sends, edits, or takes action — it only answers. * Answers come only from your tracked data; it won't guess at what isn't there. * Very broad questions can time out — be specific. **Related:** The Home dashboard, The Performance dashboard, The Payments dashboard, Mochi + Claude (MCP) --- # Benchmarks and diagnostics ## Benchmarks & diagnostics **What it is** — A set of healthy benchmarks for each pipeline stage, plus a diagnostic framework — sometimes called the manager diagnostic flow — for figuring out *why* a number is off and what to do about it. Use this alongside the Home and Performance dashboards to turn raw numbers into a decision — this article is about how to read your numbers, not a feature you click into. **Who can use it** — Anyone can apply these benchmarks to their own numbers. Creators and Managers can diagnose the whole org from the Home and Performance dashboards; setters and closers can apply the same thinking to their own Home view. ### Healthy benchmarks These are general guidelines, not hard platform limits — your real "healthy" numbers will shift with your niche, price point, and traffic source. Use them as a starting point, not a verdict. | Stage | Healthy benchmark | Where to check it | | ----------------------------- | ---------------------------- | --------------------------------------- | | In Contact rate | Above 30% of new leads | Home's funnel breakdown | | Qualified rate | Above 15% of conversations | Home's funnel breakdown | | Booking rate | Above 20% of qualified leads | Home's funnel breakdown | | Show rate | Above 70% of booked calls | Home's funnel breakdown | | Response time (core hours) | Under 2 hours | Performance's per-member reply activity | | Response time (fresh inbound) | Under 5 minutes | Performance's per-member reply activity | A Qualified rate under 10% is a stronger signal than a normal dip — treat it as urgent rather than something to watch for another week. Response time can look far worse than either target if the calculation is still counting overnight hours — see The Performance dashboard for that caveat before assuming your team is slow to reply. ### How to read your numbers: the diagnostic framework A single low number rarely tells the whole story on its own — it's the *pattern* across two adjacent stages that points to the real cause. Open the Home dashboard's funnel breakdown to see where leads are piling up, then match the pattern below. | What you're seeing | Likely root cause | What to do | | ------------------------------ | ---------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | High new leads, low In Contact | Spam inflating your lead count, or setters responding too slowly | Check your spam filter and setter response time | | High In Contact, low Qualified | Wrong audience reaching you, or weak qualifying conversations | Review your marketing message and setter qualification quality | | High Qualified, low Booking | A CTA or follow-up problem | Review your booking CTA and follow-up sequence — and confirm booking links are actually being sent **from inside Mochi** (tracked), not copy-pasted (untracked sends won't count toward Booking rate) | | High Booking, low Show | Missing reminders, or low lead quality upstream | Add day-before and day-of call reminders; check lead quality upstream | | High Show, low Won | A closing problem | This sits with your closer or sales process, not with Mochi | ### Tips * Filter Performance to one setter at a time when you suspect the bottleneck is a person, not a process. * Compare date ranges on Home before reacting to a single bad day — one slow Tuesday isn't a trend. * Work top-down through the diagnostic table: fixing a downstream stage, like Show rate, won't help if an upstream stage, like Qualified rate, is the real leak. * Re-check the same benchmark a week after you make a change — give it enough time to show up in the numbers. ### Common mistakes & fixes | Mistake | Fix | | ----------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | | Reacting to one bad day instead of a trend | Compare date ranges on Home; look at a week, not a day | | Fixing Show rate when Qualified rate is actually the leak | Work through the diagnostic table in order — find the first broken link, not the most visible one | | Treating these benchmarks as hard, universal targets | They're general guidelines; your real healthy range depends on your niche, price point, and traffic | | Comparing your funnel numbers to a hand count and assuming something's broken | See the metric-semantics note on The Home dashboard — dashboard numbers are stage-change events, not row counts | ### Limits & good to know * These benchmarks and the diagnostic framework are general sales guidance, not numbers Mochi enforces or alerts you about automatically. * They map onto the same stage names used throughout Mochi: New, In contact, Qualified, Booked call, Deposit, Won, Lost, No show. * Pair this with the metric-semantics caveat on The Home dashboard — a dashboard number and a hand count can legitimately differ. * Numbers are dated by when a stage change happened, not when the lead was created — see The Home dashboard for the full explanation. **Related:** The Home dashboard, The Performance dashboard, Mochi AI (Ask Mochi), The Leads page: work your pipeline --- # Organization and account settings ## Organization & Account Settings **What it is** — Settings is the control center for your Mochi account: your organization's identity, your Instagram connection, your team, your integrations, and your AI setup all live here. This article maps out what's where, so you can go straight to the right screen instead of hunting for it. **Who can use it** — Everyone on your team can open Settings and see their own basics. Organization-wide areas — Team management, Integrations, reconnecting Instagram, and the custom link domain — are limited to the **Creator** and **Manager** roles, on both web and iOS. ### Your organization: name, logo, and access code You set your organization's name and logo once, when you first create it at `use.themochi.app`. If you haven't done this yet, see **Create your account & organization** for the full first-time setup — this article picks up after that's done. During that same setup, you'll enter an **access code**: a short code unique to your organization, sent to you in your welcome email. Entering it is what finishes creating your organization. If you never received your welcome email or can't find your access code, check spam first. If it's still missing, email `hey@themochi.app`. ### Where things live in Settings | Settings area | What you'll find there | Access notes | | ---------------- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------- | | **Organization** | Org-level settings, including your custom link domain (branded short links instead of `moch.me`) | Custom link domain: Creator/Manager only, web-only | | **Intelligence** | Your AI setup — Setter Playbook, Creator DNA, Lead Summary, Spam Filter, Voice Cloning | Setter Playbook and Creator DNA are web-only; iOS covers Voice Cloning, Lead Summary, and Spam Filter; setup is generally done by Creator/Manager | | **Integrations** | Connect Calendly and iClosed for call booking | Creator/Manager only — Setters can't reach this screen on web or iOS | | **Team** | Invite teammates, assign roles, set commission, set lead-distribution percentages | Management actions are Creator/Manager | | **Socials** | Connect and reconnect Instagram, upgrade permissions, manage Excluded Contacts | Reconnecting and upgrading permissions: Creator/Manager only | For the custom link domain specifically: go to `Settings > Organization > Custom link domain`, click **Connect domain**, add the CNAME record Mochi gives you to your DNS, and wait for verification. It's a gated beta feature, web-only, and limited to Creator and Manager. Full steps live in **Custom branded link domain**. ### Tips * Start with `Settings > Socials` if something feels broken across the board — a disconnected Instagram is the single most common root cause of "nothing is working." * If you're a Setter or Closer and don't see **Team** or **Integrations** in your Settings menu, that's expected: those are Creator/Manager only, not a bug. * Bookmark this article's table if you're new to Mochi — it's faster than clicking through every tab to find something. * Sending at real volume, or onboarding more setters onto the connected account? See **Account Safety & Instagram Link Limits** before you scale up outreach. ### Common mistakes & fixes | Mistake | Fix | | ------------------------------------------------ | ------------------------------------------------------------------------- | | Looking for Voice Cloning under **Organization** | It's under **Intelligence**, not Organization. | | Assuming any team member can open Integrations | Only Creator/Manager can reach `Settings > Integrations`, on web and iOS. | | Losing the access code before finishing setup | Check spam, then email `hey@themochi.app`. | | Expecting the custom link domain on iOS | It's web-only; there's no iOS equivalent screen. | ### Limits & good to know * Settings also includes **Tags** and **Content Hub**, which aren't covered in this orientation — see **AI tags: auto-tag leads by intent** and the Content Hub article in Module 03. * The custom link domain is a gated beta feature. If you don't see it under `Settings > Organization`, it isn't enabled for your organization yet. * Billing questions aren't handled from inside Settings. Contact Mochi support directly rather than looking for a billing screen. **Related:** * Manage Your Instagram Connection * Account Safety & Instagram Link Limits * Invite your team & roles * Connect Calendly * Custom branded link domain --- # Managing your Instagram connection ## Manage Your Instagram Connection **What it is** — Mochi runs on a live connection to your Instagram account. When that connection breaks, new messages stop syncing and sending fails until someone reconnects it. This article covers the warning signs, why it happens, how to fix it, and how to stop it from happening again. **Who can use it** — Only a **Creator** or **Manager** can reconnect Instagram or upgrade its permissions, on both web and iOS. If you're a Setter or Closer, ask your Creator or Manager to fix it — the option won't appear for you. **Before you start** — Have your Instagram login on hand. Reconnecting walks you through Instagram's own login and permission screens, not just a button inside Mochi — Mochi connects through Meta's official OAuth flow and never sees or stores your Instagram password. ### How to tell your connection dropped * New DMs and comments stop appearing in the inbox. * A reconnect banner appears in the inbox, warning that you can't read or send chats until you reconnect. * Replies fail to send. * `Settings > Socials` shows the account as disconnected, with a **Reconnect** button. * Automations and comment replies stop firing. ### Why a connection drops * **Token expired.** Instagram tokens are time-limited. Mochi refreshes them automatically, but if a refresh fails, the token lapses. * **App removed or permissions revoked.** If someone removes Mochi from the Instagram or Facebook account's connected apps, Meta sends a deauthorization signal and the connection drops. * **Password changed.** Changing your Instagram or Facebook password can invalidate the existing token. * **A permission is missing.** If a needed permission — comment replies, for example — was never granted or got revoked, that one feature breaks even though the rest of the connection looks fine. Settings shows a reconnect-to-enable note in this case. * **Meta restricts the account.** If Instagram flags or restricts the account, Meta refuses Mochi's API calls and the connection shows as disconnected. ### How to reconnect #### Web 1. Go to **Settings**, then open the **Socials** tab. 2. Click **Reconnect** (or **Connect**) and complete Instagram's login and permission screens. 3. Or click **Reconnect** directly from the banner in the inbox. #### iOS 1. Open **Settings**, then tap **Socials**. 2. Tap **Reconnect Instagram** and finish the Instagram login and permission prompts. Reconnecting keeps everything else intact — your settings, leads, and automations don't reset. ### Upgrade Instagram Permissions (comment replies) If messaging still works but comment replies or another permission-gated feature doesn't, you don't need a full reconnect. On the same `Settings > Socials` screen, use **Upgrade Instagram Permissions** to grant just the missing permission without redoing the whole connection. ### "Connected" but no messages coming in? Do a full re-grant The single most common cause of "Instagram shows connected, but nothing is coming through" is a **partial permission grant** — the connection went through, but Instagram didn't hand over every permission Mochi needs to actually sync messages. This has been the confirmed root cause in live troubleshooting more than once, so treat it as the first thing to check, not a last resort. 1. Go to `Settings > Socials` and disconnect Instagram completely — don't just click **Reconnect** over the top of the existing connection. 2. Reconnect from the same screen, and this time go slowly through **every single permission prompt** Instagram shows you. Accept all of them, even ones that don't sound related to messaging. 3. Send yourself a test DM, or wait for a real one, and confirm it appears in the inbox. If messages still aren't flowing after a clean disconnect-and-full-reconnect, contact Mochi support — at that point it's worth a deeper look rather than repeating the same steps. ### Can't find your account by its handle? If Mochi can't find your account by its usual @handle while connecting, check whether you're actually signed into a **secondary or backup Instagram account** rather than your main one — a common mix-up, especially if you manage more than one account. Search for the backup account and connect that one instead. This isn't necessarily a sign anything is wrong with your main account; it's worth ruling out before you assume something's broken. ### Multiple people logging into this account? Reduce ban risk If several teammates log into the same connected Instagram account directly — especially from different locations, different countries, or on a rotating travel schedule — that login pattern reads as suspicious to Instagram's own systems, separate from anything anyone sends. Login pattern is one of the signals Meta's account-integrity scoring looks at (see **Account Safety & Instagram Link Limits**), and it gets riskier the more locations and devices a single login touches. The fix is to stop sharing one login. Set up **Meta Business Suite** with individual per-person roles, so each setter has their own login and their own two-factor authentication instead of everyone typing the same shared password. Mochi's own connection to the account is unaffected by this change — it's about how your team accesses Instagram natively, not how Mochi's API connection works. ### How to prevent disconnections * Accept every permission prompt during reconnect — partial grants are a common cause of "connected but half-broken." * Reconnect Mochi right away after changing your Instagram or Facebook password. * Don't remove Mochi from the account's connected apps. * Keep your Instagram account in good standing — Meta restrictions can disconnect Mochi too (see **Why Messages Fail to Send** for restriction detail). ### Tips * If Instagram shows "connected" but messages still aren't flowing, or Mochi can't find your account by handle, see the two sections above — a partial permission grant and a secondary-account mix-up are the most common cause of each. * Only a **Business** or **Creator** Instagram account can connect — not Personal. Switch inside the Instagram app: `Settings > Account > Switch to Professional Account > Creator` (free, about two minutes). * If your organization sends at real volume, see **Account Safety & Instagram Link Limits** for the fuller picture on login patterns, link limits, and safe-sending habits. ### Common mistakes & fixes | Mistake | Fix | | --------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | | Granting only some permissions during reconnect | Go through reconnect again and accept every prompt — comment replies and messaging both depend on it. | | Instagram shows "Connected" but no new messages appear | Disconnect and reconnect fully, then accept every permission prompt — a partial grant, not a broken "connected" status, is almost always the real cause. | | Trying to connect a Personal Instagram account | Switch to a Business or Creator account first; Personal accounts can't connect. | | Changing your Instagram/Facebook password without reconnecting | Reconnect Mochi immediately after any password change. | | Removing Mochi from Instagram/Facebook's connected apps | Don't — this is what triggers the deauthorization signal that disconnects Mochi. | | Several teammates log into the same Instagram account from different places | Set up Meta Business Suite with individual per-person roles instead of one shared login — it lowers ban risk and gives each person their own 2FA. | | Assuming any team member can reconnect | Only Creator/Manager can; everyone else needs to ask one of them. | ### Limits & good to know * Only Creator and Manager can reconnect or upgrade permissions — no exceptions for other roles. * If Meta has restricted the underlying Instagram account, Mochi keeps showing it as disconnected until the restriction lifts on Instagram's side — see **Why Messages Fail to Send**. * For the deeper mechanics of why Instagram restricts or bans accounts — and how to send safely at volume — see **Account Safety & Instagram Link Limits**. **Related:** * Organization & Account Settings * Why Messages Fail to Send * Account Safety & Instagram Link Limits * Connect your Instagram * The 24-hour reply window (and the 7-day extension) --- # Common Issues and Fixes ## Common Issues & Instant Fixes **What it is** — A quick-reference table for the most common Mochi hiccups: what's actually happening, and the fastest way to fix it. Most of these take under a minute and don't need support. **Who can use it** — Anyone on the team can use this table. A few fixes need a **Creator** or **Manager** role — reconnecting Instagram, adjusting lead distribution, and editing tags or the spam filter prompt — noted inline below. ### Common mistakes & fixes | Issue | Fix | | ----------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Login link expired** | Magic login links expire after 15 minutes. Go back to `use.themochi.app` and request a new one. | | **Instagram won't connect** | Must be a Business or Creator account, not Personal. In the Instagram app: `Settings > Account > Switch to Professional Account > Creator`. Confirm the account isn't private, then connect or reconnect via `Settings > Socials` in Mochi (Creator/Manager only). | | **Team invite / login link keeps erroring (expired, already accepted)** | Work through it in order: **Resend** the invite from `Settings > Team` → try a different email address → try an incognito/private browser window → clear your browser's Mochi-specific cache (search your browser history for "mochi" and delete just those entries, not your whole history) → still stuck? Contact Mochi support directly rather than repeating the same steps. | | **Calendly bookings not updating a lead's status** | Confirm the link was sent from inside Mochi — copy-pasted links don't carry tracking. Check `Settings > Integrations` still shows Calendly as connected. For bookings from outside Mochi, add a question containing "Instagram" to your Calendly form so Mochi can match the booking. | | **AI tags not firing** | The prompt is usually too vague — a tag with no AI prompt only ever applies manually. In `Settings > Tags`, rewrite the prompt with specific signals and example phrases (what should and shouldn't match), then run **Retag** to sweep existing conversations. | | **Spam filter too aggressive** | In `Settings > Intelligence > Spam Filter`, add explicit "do NOT filter if…" exceptions for the legitimate patterns it's catching. Setters can still manually mark spam even with the filter tuned down. | | **Lead distribution won't save** | Percentages across your team must add up to exactly 100%. Recalculate in `Settings > Team > Lead Distribution`. | | **No leads appearing yet** | Mochi only shows messages from the moment you connected Instagram — historical DMs aren't available, on any tool, by Meta's own rules. Give it 2–4 days after connecting for new conversations to accumulate. | | **Suggestion pills not available** | They need enough message history and a completed Setter Playbook to personalize. There's no manual override — keep using Mochi and they'll unlock as data accumulates. | | **Voice clone sounds off** | Robotic: re-record with more natural variation and lower the stability slider. Too formal or hyped: you likely used teaching/course audio — re-record in a natural, conversational tone. Set up and adjust under `Settings > Intelligence > Voice Clone`. | | **Running ManyChat (or another tool) alongside Mochi** | Update the **Handover Protocol** on the Facebook Page linked to your Instagram account, so the two tools aren't both trying to claim the same conversation. See the note below this table for the current best-known path. | | **Expecting Mochi to send fully automated cold outbound DMs** | Not possible, for any tool — Meta's API doesn't allow automated outbound messaging to people who haven't messaged you first. Mochi sends are always a human hitting Send, or the AI replying inside a conversation that's already open (Away/AI Mode) — never unprompted cold outreach. | ### Data & privacy * **Mochi never sees or stores your Instagram password.** Instagram connects through Meta's official OAuth flow — Mochi only holds the access token Meta issues, the same one that gets refreshed or revoked in **Manage Your Instagram Connection**. * **Conversations are visible inside your organization based on role** — see *Invite your team & roles* (Team & Leads module) for exactly who sees what. The Mochi team can also access conversation data for support and quality purposes. If a conversation needs to stay fully private, add that contact to Excluded Contacts instead of relying on role permissions alone — it removes them from Mochi entirely, for everyone, including support. * **Your lead data is exportable any time.** Go to **Leads > Export CSV** for a file containing name, stage, assigned setter, tags, deal value, last interaction, and payment status. ### Tips * Start with `Settings > Socials` first if several things seem broken at once — a disconnected Instagram is behind most "nothing is working" reports. * Copy the exact error text before asking for help — it's the fastest way to get a precise fix. * Sending links at real volume, or worried about account risk generally? See **Account Safety & Instagram Link Limits**. * Most of these fixes are self-serve. If you've tried the fix above and it's still not working, contact Mochi support with what you already tried. ### Limits & good to know * Billing questions aren't self-serve from inside the app — contact Mochi support directly rather than looking for a billing settings screen. * This table covers the most frequent issues, not every possible one. If your issue isn't listed here, check the specific feature's article first (see Related) before contacting support. **Related:** * Manage Your Instagram Connection * Why Messages Fail to Send * Account Safety & Instagram Link Limits * Invite your team & roles * AI tags: auto-tag leads by intent * Spam filter --- # Account safety and Instagram limits ## Account Safety & Instagram Link Limits **What it is** — Instagram increasingly scores your whole account, not just individual messages, when it decides whether to restrict or ban you. This article explains what actually trips that scoring, what Mochi does to reduce your risk automatically, and the sending habits that keep your account safe — especially around links. **Who can use it** — Relevant to everyone who sends Instagram DMs through Mochi — Creator, Manager, Setter, Closer. Reviewing organization-wide sending volume, custom domains, and how many people log into the account directly is typically a **Creator** or **Manager** decision. Applies equally on **web and iOS** — this is about Instagram's own rules, not one specific Mochi screen. **Before you start** — This assumes Instagram is connected to Mochi and sending normally. If sends are actively failing right now, see **Why Messages Fail to Send** for symptom-based troubleshooting first, then come back here for the fuller picture. ### Why Instagram restricts accounts for links Instagram doesn't just look at one message at a time anymore. Since late April 2026, Meta significantly escalated an "Account Integrity" enforcement wave that scores your whole account — message volume, message similarity, external-link click-through rate, login patterns, and the Business Manager assets connected to it — instead of judging a single DM in isolation. Meta has confirmed removing more than 10 million Instagram accounts in this wave. Appeals are largely automated and often rejected instantly, even for verified, paying accounts, and a flagged account can trigger a "carpet ban" that cascades to other accounts sharing the same phone number, email address, or device. Separately, Meta cut industry-wide DM rate limits from 5,000 per hour to roughly **200 per hour** in October 2025 — a big drop that makes every send count for more than it used to. **The triggers that matter most for links specifically:** * **Fingerprinting.** Identical text plus an identical link sent to roughly **25 or more recipients within an hour** flags the account, even though each message technically went to a different person. * **External-link click-through rate.** A high rate of clicks going to non-Instagram URLs raises your account's risk score. * **Destination-domain reputation.** `t.me` (Telegram) links are effectively pre-flagged and often blocked outright inside Instagram's own in-app browser. Generic shorteners (bit.ly, tinyurl, and similar) are guilty by association — one abusive user on a shared domain can hurt deliverability for everyone else using it. Even YouTube or Google Drive links aren't automatically "safe" — they're still off-platform destinations. * **Sending promotional links outside the 24-hour window.** This is a hard policy violation, not just a risk factor — see **The 24-hour reply window**. A first offense is typically around a 7-day restriction; a repeat offense is closer to 30 days. ### How Mochi reduces your risk A few Mochi features exist specifically to keep your sending out of the patterns above, and they run automatically once you're sending through Mochi: * **Custom branded link domains.** Move off the shared `moch.me` domain onto your own subdomain, so your links carry only your own sending reputation instead of pooling with everyone else on a shared domain. See **Custom Branded Link Domain**. * **A unique link slug per lead, per setter, per organization.** No two recipients ever receive a byte-identical link, even when the message text and destination are the same — which directly defeats the fingerprinting check above. * **Slow-down mode.** As your sending volume nears Instagram's velocity thresholds, Mochi automatically queues sends instead of blasting through or letting them fail outright. * **AI template rotation.** Content Hub templates automatically vary repeated wording while keeping the meaning intact, so the same message doesn't go out identically to dozens of people in a row. As a side benefit, this builds real phrasing-performance data over time. ### Why Mochi is lower-risk than the alternatives Mochi runs exclusively on Meta's official Instagram Graph API, as a verified **Meta Tech Provider** that has passed Meta's own App Review. Mochi's own comparison puts official Graph/Messenger-API-based tools at roughly **27 times lower ban risk** than unofficial browser-bot tools that simulate a human clicking around inside Instagram's web app — treat that figure as directional, not an independently audited number. This enforcement wave isn't a Mochi problem, and switching tools won't fix it. It's hitting every automation tool's users right now, including ManyChat's — the trigger is your sending behavior and the links you send, not which platform sends them. ### The 8-point safe-sending playbook 1. **Don't put a link in your first message** to a brand-new lead — build a little context first. 2. **Send at most one link per message.** 3. **Keep promotional links inside the 24-hour window** — sending one after it closes is a hard policy violation, not just a risk factor. 4. **Avoid raw `t.me` links.** Wrap them in a Mochi link (or your custom domain) instead of pasting the raw Telegram URL. 5. **Send less, to better-qualified people**, rather than blasting a wider list — quality beats volume for both conversion and account safety. 6. **Capture email early** and move long-term nurture off Instagram once you have it, so you're not fully dependent on the DM channel staying open. 7. **Run only one automation tool per Instagram account.** Stacking Mochi with ManyChat (or anything else) on the same account doesn't split anything — you still share the same \~200/hour budget, and you double your fingerprint surface for no benefit. 8. **If you get restricted, stop sending for 24 hours**, check Instagram's own Account Status inside the Instagram app, and file **one** specific, evidence-based appeal rather than a flood of repeated ones. ### If your account gets flagged or restricted A temporary restriction (see **Why Messages Fail to Send**) usually clears on its own — Mochi automatically pauses, queues, and retries your messages, and real restrictions typically lift within 6–24 hours. When an account gets restricted repeatedly, the underlying cause is almost always volume plus similarity together. A representative real pattern: an account sending around 576 DMs a day, spiking past 1,300 on some days, most of it identical copy-pasted script sent to ten or more leads at once. That combination — high volume, low message variation — is the clearest signal Instagram's systems look for, and it's exactly what the playbook above is designed to avoid. **If the account is fully banned, not just restricted, set expectations accordingly.** Mochi does not have a guaranteed way to get a banned Instagram account back. Recovery depends entirely on Meta's own support and appeals process, which is outside Mochi's control — prevention is far more reliable than appeal. ### Tips * Login patterns count too. Signing into the same Instagram account from many different people or locations — especially across countries — reads as suspicious on its own, separate from anything you send. See **Manage Your Instagram Connection** for the Meta Business Suite fix. * Template rotation and unique link slugs reduce risk automatically, but they're not a substitute for the playbook above. * If something feels off — a lead says they never got your message, links look broken, sends are randomly slow — check Instagram's own Account Status before assuming it's a Mochi issue. * You can ask Ask Mochi (or Claude, if you've connected the Mochi + Claude MCP integration) about your account's sending risk — both draw on the same read-only data as your dashboards, including a predictive restriction-risk read and a breakdown of recent send failures. ### Common mistakes & fixes | Mistake | Fix | | ------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | | Leading with a link in the very first message to a cold lead | Build context first; add the link once there's real back-and-forth. | | Sending the same script and link to 25+ people inside an hour | Let Mochi's template rotation vary the wording, and space sends out over time. | | Pasting a raw `t.me` link | Wrap it in a Mochi link (or your custom domain) instead. | | Running ManyChat and Mochi on the same Instagram account | Pick one automation tool per account — stacking tools shares the same hourly limit and doubles your risk surface. | | Sending a promotional link after the 24-hour window closed | Wait for the lead to message again, or revive the conversation natively first — see **The 24-hour reply window**. | | Resending immediately after a "paused" notice | Don't — Mochi already queues and retries automatically; resending looks like more spammy behavior, not less. | ### Limits & good to know * The \~200/hour DM limit and the \~25-recipient/hour fingerprinting threshold are Instagram-wide constraints, not Mochi settings — there's no way to raise them from inside Mochi. * The 7-day/30-day restriction lengths for out-of-window promotional links are typical, not guaranteed — Meta decides actual enforcement case by case. * A temporary restriction and a full ban are different outcomes. Mochi can help you avoid and recover from the first; the second depends on Meta. * This applies to every organization sending through Mochi regardless of size — a smaller, newer account isn't exempt from fingerprinting or link-reputation checks. **Related:** * Why Messages Fail to Send * Manage Your Instagram Connection * Tracking Links & Attribution * Custom Branded Link Domain * The 24-hour reply window (and the 7-day extension) --- # What Mochi does Mochi is a CRM and inbox for coaches and creators who sell through Instagram DMs. Your account represents your business. Everyone you invite holds a role — such as manager, setter, closer, finance or assistant — and that role decides what they can see and do. Someone who messages you on Instagram becomes a lead, and moves through your sales process from first contact to a closed sale, with different people on your team looking after different stages. Mochi is available as a web app and as an iPhone app, and both show the same information. --- # Onboarding Onboarding is the short series of screens you go through the first time you sign up. You enter your name, your WhatsApp number and a name for your workspace. Then you get access either by choosing a paid plan or by entering an access code, if you have one. After a brief welcome video, the app opens and you are ready to go. Mochi remembers where you are in the process, so if you close the page partway through or come back later you pick up at the right place rather than starting again. --- # Signing in Signing in to Mochi does not use a password. You enter your email address and Mochi sends you a link — clicking it signs you in. There is no password to forget or reset. If you do not have an account yet, you are asked for your name, WhatsApp number and a workspace name on the same screen before the link is sent. Sign-in links last 15 minutes and work once. If yours has expired or you have already used it, just ask for a new one — that is normal, not a fault. You can also sign in with Facebook or Google. --- # Organizations Your Mochi account belongs to your business. Whoever set it up owns it, and that cannot be taken away or transferred to someone else. You build your team from Settings. Invite someone by email, choose their role — manager, setter, closer, finance or assistant — and set their commission rate. They get an email with a sign-in link, and become an active member as soon as they use it. --- # Organization calendar You can connect your Calendly account from Settings so your team can share booking links and have bookings tracked automatically. You choose how it works for your team: one shared Calendly account that everyone books through, or each teammate connecting their own. Managers and admins can change that setting and disconnect a shared account; with per-member connections, each person manages their own. Connecting takes you to Calendly to log in and approve access, then brings you back to Mochi. --- # Billing and plans Billing is your team's own subscription to Mochi — the plan you pay for so your team can use the product. You choose a plan when you sign up and pay monthly or yearly. Everything to do with your plan lives in Settings. There you can see which plan you are on, how much of your plan's limits you have used, and your past invoices. You can move up or down between plans at any time, and cancel when you want to. If a payment fails, or you cancelled and want to come back, you can reactivate and pick up where you left off. Depending on how you signed up, your payments are handled by either Stripe or Whop. This is separate from Payments, which is where you connect your own payment account so Mochi can track money your customers pay you. Billing is what you pay Mochi; Payments is what your customers pay you. --- # Inbox categories You can customise the category tabs in your inbox on the web. Next to To-do and All, everyone starts with Unread, Archive, Spam and Unqualified tabs. Beyond those you can build your own tabs that show only the conversations you want, based on things like a lead's stage, a tag, where the conversation came from, whether a link you sent was clicked, or conditions like unread, archived or mentioned me. A tab can combine several rules and match any or all of them, and you can rename tabs, drag them into the order you want, and delete ones you no longer use. The To-do tab works differently and has its own editor. Your tabs are yours alone. Other people on your team have their own, even though you are all looking at the same conversations. --- # To-do views The To-do tab in your web inbox shows the conversations you need to act on, grouped into cards by lead stage: Pinned, Reminders, New Lead, In Contact, Qualified, Call Booked and Expiring. Deposit and No-show cards can be added too. Each stage card lists leads who messaged last and are still inside Instagram's reply window, so the card is your list of people waiting on a reply. A merged lead appears once, even when they have several threads. The Expiring card always shows conversations in the last hour of their reply window, soonest first. Pinned shows the leads you pinned and leads where a teammate mentioned you in a team note, until you read the mention. It only appears when it has something in it. Setters see their own leads, closers see the leads they close, and creators and managers see the whole team's. You can shape the To-do. Open Edit categories, or right-click the To-do tab and choose Edit To-do. Add or remove cards, drag them into order, and limit any card to leads with certain tags. Creators, managers and team members with admin access can change the team's To-do for everyone. Anyone can create up to 20 personal To-dos, which appear as extra tabs next to To-do and are visible only to them. If you can't change the team To-do, editing it saves your version as a new personal To-do. Dragging cards on the To-do page and collapsing a card are remembered on that browser only. --- # Conversations Your Instagram DMs come into Mochi as conversations — one thread per person, holding everything you and they have sent each other. You can read and reply from the inbox on the web app or the mobile app, and both stay in step. Every message you send shows you where it has got to: sending, then sent, then delivered once Instagram confirms it reached them. If a message does not get through, it is marked as failed and you can retry it. Some messages cannot be sent at all if the person has not messaged you recently enough for Instagram to allow a reply. You can also filter your inbox by tag, the same way you filter your leads, or by conversations that have pending follow-ups. --- # Scheduled messages From a lead's conversation you can write a message and choose when it goes out instead of sending it right away — in half an hour, tomorrow morning, or a time and date you pick yourself. You can attach a photo, video or voice note to a scheduled message just as you would to a normal one. You can queue up to ten messages per conversation. Each one can be set to cancel itself automatically if the lead replies first, so a follow-up does not land on a conversation that has moved on. Until it goes out you can edit it, send it early, or cancel it. --- # Conversation summaries Mochi can read a lead's conversation and write a short summary of it, so anyone picking up the chat can see what matters without scrolling back through every message. On the web, open a conversation and look at the Profile tab beside the chat. The Chat Summary panel shows what the lead is struggling with, what they want to achieve, important things they said in their own words, and any red flags. A section is left out when the conversation has nothing for it. The summary is written automatically the first time you open a conversation, and again once the lead has sent at least two new messages since the last one. You can also press Summarize at any time. On iPhone, the summary appears on the lead's profile once one has been written, and you can regenerate it from there. Creators, managers and team members with admin access can change what the summary focuses on in Settings, under Intelligence, by editing the Lead Summary prompt. Summaries written after the change follow the new instructions. You can also choose the language the summary is written in, in Settings, under Intelligence, by selecting a Summary language. --- # Voice notes and voice Mochi gives you three things you can do with audio in a conversation, all from the microphone button next to the message box. You can dictate a message: record yourself talking and Mochi turns it into text in the message box, written the way you normally write rather than as a flat transcript. You can send audio in your own voice: the same recording, or text you have typed, can be turned into an audio clip in your cloned voice, with optional background sound (a car, a gym or a restaurant) so it sounds like you recorded it out and about. Audio in your cloned voice is not included on the Starter or Lite plan. And when someone sends you a voice note, you can have it transcribed so you can read it instead of listening. --- # Files and attachments You can attach an image, audio clip or video to a message — either a DM to someone on Instagram or a message to your own team inside Mochi. Pick a file, drag one in, take a photo, or record a voice note, and you will see it in the message box before you send. Images can be up to 8 MB, and audio and video up to 25 MB. Documents (PDFs, Word docs, spreadsheets, text files) up to 25 MB can be attached to Team Chat messages but not to DMs. Voice notes you record in your browser are converted automatically so Instagram accepts them, and videos get a thumbnail made for them. Attachments are not stored forever: a file you upload but never send is cleared out after a few hours, and links to private attachments stop working after seven days. --- # Team chat Team chat is a private group chat for your team inside Mochi, kept separate from your Instagram conversations with leads. Everyone on your team reads and writes in the same shared channel. You can mention a teammate to notify them, pin messages so they stay at the top, attach images, video or audio, link to a specific lead so anyone can jump straight to that conversation, and create events with RSVPs for things like team meetings. Pinning, broadcasts and managing events are available to whoever runs the business, your managers, and anyone you have given admin access to. Team chat sits pinned at the top of your inbox on both the web app and the mobile app, with its own unread count. --- # Team notes Team notes let your team leave internal comments on a lead's conversation. They are visible only to your team and never to the lead. You can mention a teammate in a note, and they will get a push notification and a to-do item so it does not get missed. Notes are available in the mobile app, opened from a conversation, and on the web app as a Notes tab beside the conversation. This is separate from team chat, which is your organisation-wide channel rather than notes attached to one person. --- # Notifications Mochi tells your team when something happens: a lead replies, a call is booked or cancelled, someone needs to follow up, a deal is won, or a teammate mentions you. Alerts reach you as push notifications on your phone. Which alerts are switched on is set for the whole organisation rather than per person. Push notifications go to the mobile app. --- # Leads A lead is the record Mochi keeps for each person who contacts you on Instagram — anyone who sends you a DM, comments, replies to a story, or that you reach out to. You get one lead per person, so everything about them stays in one place. Each lead shows who they are, which stage of your sales process they are at, who on your team is looking after them, and where they first came from. On the leads page you can search and filter your leads, including by tag, assign them to team members, tag several at once, and export them. A lead your team messaged first stays unassigned until a setter claims it with Assign to me when your workspace turns automatic distribution off; inbound leads keep being assigned automatically either way. Opening a lead shows its full history with you. All of this works on the mobile app as well as the web app. --- # Ad attribution When someone messages you after tapping a click-to-message ad on Instagram, Mochi records which ad they came from. The lead gets an Ad badge in the inbox and on the Leads page, and their profile shows the ad's name. A lead keeps the first ad that brought them in. If they message you first and tap an ad later, that ad is recorded; if they later tap a different ad, the first one stays. In the web inbox, Ads is its own option in the source filter and is included by default alongside your other sources. Untick it to hide ad leads, or choose specific ads to include. On the Leads page, turn on Ad leads to see only people who came from ads, and narrow it to particular ads if you want. In the iPhone app, the Ads switch in the inbox filters shows only ad leads, with the same option to pick specific ads. The ad picker lists each ad once with how many leads it brought in, even when you run the same ad in several ad sets, and you can search it by the ad's current or earlier name. Instagram only tells Mochi the ad itself, not the campaign or ad set, and Mochi does not show ad spend or return on ad spend. --- # Search In the inbox (web app and iOS), the search box uses unified search that finds conversations by lead name, handle, or message content all at once. A scope picker lets you narrow to Messages only or Users only. You can also use Gmail-style operators like from:@handle to find messages from someone or tag:vip to scope by a tag. Search ignores the active inbox category and filters, so you can find a thread even when your inbox is scoped to something else. On the Leads page, the search box finds leads by their Instagram display name or handle. It matches any part of the name, is case-insensitive, and does not search email addresses, phone numbers, or message content. --- # Lead timeline Every lead has a timeline showing everything that has happened with them, in order: when they became a lead, how they have moved through your sales process, who has been assigned to them, links you sent and whether they clicked, calls booked, taken or missed, payments, tags, notes your team has left, and when they went quiet. You will find it inside the lead's conversation on the web app, and on their profile screen in the mobile app. --- # Tags Tags label your leads and individual messages — things like "asked about price" or "booked a call". A tag can be applied automatically by AI reading the conversation, automatically when certain words appear in a message, or by hand. Tags are grouped into categories, and every new account starts with four: Openers, Follow Ups, Touch Points and Booking. You can create your own categories, rename them, change their colour, reorder them and delete them from Settings, and move tags between them. Tags do real work once applied: they highlight messages, and you can filter both your leads list and your inbox by them — showing people who have any of the tags you pick, all of them, or none of them, or filtering by a whole category at once. You can also set up phone push notifications per tag — choose who gets a push when a specific tag is applied. --- # Funnels and stages Every lead sits at one stage of your sales process — from new lead, through in contact, qualified, booked call and deposit, to won, lost or no show. You move a lead between stages from their conversation or their profile, and you can move many at once from the leads list or inbox. Some stages ask for a little extra detail as you go: a reason when a deal is lost, or the amounts and dates for a deposit. On top of that, if you run the business or manage the team you can build your own named funnels on the web app. A funnel is a reporting view you design yourself — you choose the columns and what each one counts, whether that is a stage, a tag, a source or a link, over any date range you pick. Building one does not change how your leads move; it just gives you your own way of looking at them. Each column counts its own matching leads over the date range, so the numbers side by side are not a step-by-step conversion rate. --- # Deals This is where you record money a lead has paid you by hand, as opposed to payments that arrive automatically from a connected payment provider. You can log a payment as paid in full, as a deposit with a balance still to come, or as an instalment plan split evenly over monthly payments. Recording a deposit and moving the lead to the deposit stage are the same action — one form does both. What you record shows up in that lead's payment history alongside everything else about them. --- # Meetings and scheduling links Mochi keeps track of calls you book with your leads, however you book them. If you have connected a booking tool, you can send a booking link straight from the message box using the slash menu, or book a time on the lead's behalf without sending them a link at all. If you have connected more than one tool, Mochi remembers which you used last. You can also just paste a booking link into a DM yourself — Mochi still notices it and records it. Once someone books, Mochi creates a meeting for them, moves them to the booked-call stage, and keeps the details with the lead. That happens whether they booked through a link you sent from Mochi or one you shared somewhere else entirely. --- # AI Setter AI Setter reads a lead's Instagram conversation and drafts a reply for you, written in your voice and based on the details you give it about your business, your offer, how you handle objections, and how you take bookings or payments. On every plan, AI Setter suggests replies for you to review in your inbox. Nothing reaches the lead until you approve it. On higher plans, a conversation can be switched into AI mode, where the AI replies on its own and hands the conversation back to you when it needs a person. AI mode is switched on one conversation at a time, or for new leads by giving the AI a share of them, not with a single switch for all of your existing conversations. --- # What it detects On conversations where AI Setter is switched on, Mochi reads each message as it arrives and picks up the things an experienced salesperson would notice. It spots when someone pushes back — that it is too expensive, they need to check with a partner, they are unsure — and what kind of hesitation it is. It notices when a day or time is suggested for a call, and when someone confirms one. It picks up when someone shares an email address or phone number, or signals they are ready to buy. And it reads the general mood of a message. What it finds shows up against the lead, so you can see at a glance where a conversation stands. --- # How it learns Separately from writing individual replies, Mochi keeps improving what your AI knows based on what actually works in your conversations. Each week it looks at the conversations that led to a booked call or a payment and works out what opened well, which qualifying questions worked, and what got past common objections — then feeds that back into how your AI works. You do not need to do anything for this to happen; it keeps up as your conversations change. --- # Playground The Playground lets you try out conversations with your AI Setter without any of it reaching a real lead. You open it from Settings, type or import a pretend message from a lead, have the AI reply, and give feedback on what it said — too formal, missed the point, or anything you want to write. Nothing is sent anywhere. A playground session is temporary and clears itself after a day unless you save it. Trying things here does not change what your real AI says to real leads unless you deliberately apply what you learned. --- # Setup wizard The setup wizard walks you through configuring AI Setter for your business in a series of steps: what the AI needs to know about what you do, what you want conversations to achieve, the the tone to use, how it opens and qualifies a conversation, when it hands over to you, and what material it learns from. The first time through, your answers are saved as a draft and nothing about your live AI changes until you finish and confirm. It is the guided alternative to setting everything up by hand. --- # Voice and writing style AI Setter is built to sound like you rather than like a chatbot. Mochi learns your writing style from the DMs you have actually sent — how long your messages tend to be, how you use emoji, the phrases you reach for, how you open and sign off, how formal you are, and how often you ask questions — and uses that in every reply it drafts. Before there is enough of your history to learn from, it works from what you told it during setup: your usual opener, your booking message, and the tone you chose. --- # Mochi AI assistant Ask Mochi is the assistant built into Mochi. It answers questions about your own business — your leads, your funnel, how your team is performing, your links, payments, bookings, and the health of your Instagram account — and gives you sales and growth coaching based on Mochi's own guidance. On the web app it opens as a panel with your chat history beside it. On the iPhone app you open it from the Ask Mochi button in the app's tab bar. You can save a prompt you use often as a recipe, and have it run for you daily, weekly or monthly. If you run the business or manage the team, you can also run a guided interview that writes your AI Setter playbook for you. In everyday use the assistant reads rather than changes things. The one exception is tagging: it can apply an existing tag to leads, and only after you confirm the tag and the exact list of leads in that conversation. It does not send messages, move leads between stages, assign teammates, create tags, or change your settings — it tells you where to do those yourself. Ask Mochi is included on every plan except Starter. This is a separate feature from AI Setter, which writes DMs to your leads. Ask Mochi only talks to you. --- # Automations and follow-ups Automations send a reply for you automatically. You choose what sets one off — someone sending you a DM, commenting on a post or reel, or replying to your story — and you can have it fire on every message or only when a particular word is used. Because an automation only starts when someone messages you, comments, or replies to your story, it never sends a cold first message to someone who hasn't reached out. An automation can reply by DM, post a public reply to a comment, ask for the person's email, send a voice note, image or video you have recorded, add or remove a tag, and assign the lead to someone on your team. You can chain several of these together in order, with a delay between them. Follow-ups are a simpler version for re-engaging people who have gone quiet. You pick who they apply to and how long to wait, and the message can either be one you write or one written for you from a short instruction. Both work the same on the web app and the mobile app. --- # Content Hub Content Hub is your team's library of things you send often, so nobody retypes them. It holds saved links, uploaded images, video and voice notes, multi-step message templates, and saved AI prompts. You manage the library from the Content screen in Settings, and pull items into a conversation from the Content button or the slash menu in the message box, on both the web app and the mobile app. Templates can fill in details like the lead's name automatically, and a single template can rotate between several wordings you have saved, so you are not sending identical text to everyone. Saved AI prompts are not sent to leads — they are instructions you keep for steering Mochi's reply suggestions. --- # Comment automation When someone comments on your Instagram post or reel, Mochi can respond automatically in two ways, and you can use both together. It can post a public reply to the comment itself, which anyone looking at the post can see. And it can send that person a private DM — Instagram allows this in response to a comment even though they have never messaged you before. You can also set any message in the automation to wait until the person replies before the next one goes out. --- # Connection and account health You connect one Instagram business account to Mochi, and that connection is what lets Mochi read and send your DMs. You or a manager connect it once through Instagram's own login screen, and Mochi keeps it working in the background from then on. A connection can stop working on its own — for example if you change your Instagram password, or remove Mochi's access from inside Instagram. Mochi finds out the next time it tries to use the connection, and will show your account as disconnected so you can reconnect it. --- # Direct messages Messages sent to your connected Instagram account arrive in your Mochi inbox within moments, and replies you send from Mochi go back to Instagram the same way. Instagram sets its own rules on this, and they apply to everyone. The main one is that you can normally only message someone for 24 hours after they last messaged you. Instagram can also refuse or briefly hold back sends if it sees patterns it does not like, or if the person has blocked you. When Instagram refuses a message, Mochi shows you that it did not go out, rather than leaving you to guess. --- # Instagram protection Mochi watches how your Instagram account sends messages and turns that into a protection score out of 100. You find it on your Home dashboard, where it sits on your account avatar with a short status line telling you whether your account looks protected or at risk. Alongside the score you get a 7-day trend, so you can see which way it is moving, and recommendations for what to change. Below that, seven checks cover the things Instagram pays attention to: how fast you send, how much you send in a day, repeated messages, the links you share, and more. Each check says in plain English what Mochi saw, and a check that flags something comes with a tip for what to change. The score needs real activity before it can tell you anything. It appears after your account has been connected for about a week and you have sent at least 10 messages in the last 24 hours. Until then, the dashboard tells you Mochi is still analyzing your account. This is advice, not a limit. Mochi tells you what to change; it does not stop you sending. --- # Dashboard and analytics The dashboard is where you look at your numbers, and what you see depends on your role. If you run the business or manage the team, you see the whole picture: revenue, how leads are moving through your sales process, and how your team is performing. In the mobile app, your overview also shows where deals are being lost. The mobile app also gives the rest of the team a personal overview. If you take calls, it shows your booked calls, how many you took, your no-show rate, and your own deals. If you handle first contact, it shows your conversion rate, your active and new leads, and your commission. There are also team-wide reports covering activity across everyone, and a home view showing how your account is doing overall. Both are available on the web app and the mobile app. On the web app, team members who take calls or handle first contact can open the team reports too. The team reports include script analysis, which groups the messages your team sends at each stage of your sales process and shows how often each one gets a reply within 24 hours. It measures messages already sent; it does not run a test between two versions of a message. --- # Links and attribution Mochi turns any link you send into a short, trackable one — either a Mochi short link or your own branded domain if you connect one. You do not have to do anything special: paste a link into a DM and it is converted for you. Every time a link goes out in a DM it is unique to that message, so you can see exactly who clicked, when, and how long after you sent it. If that person later books a call or pays, that can be traced back to the exact link and the person on your team who sent it. You can also share a short link outside of DMs — in your bio, a story, a video description — and still see the clicks it gets. --- # Tracking pixel Mochi can track what happens on your own website. You copy a short snippet from Mochi and paste it into your site once, and from then on Mochi records visits to your pages: how many people viewed each page, how far down they scrolled, how long they stayed, and when someone submits a form. Those visits are collected per website and shown back to you as a summary for each domain you have connected, including how many of your visitors match people already in your Mochi account. The snippet is unique to your account, so everything it records is attributed to you. --- # Payments Payments is where you connect your own payment provider so the money your customers pay you flows into Mochi automatically and lands against the right lead. Stripe, Whop, Commas (formerly FanBasis) and Ablefy are supported. You connect a provider from Settings by pasting in the key from your account. Mochi checks it, pulls in your payment history, and sets itself up to receive new payments as they happen. If it cannot complete that setup on its own, it walks you through the last step by hand. From then on, charges, refunds and disputes appear in Mochi and are matched to the lead who paid, using details like their Instagram handle, WhatsApp profile name, email or phone number. Anything Mochi cannot match confidently is left for you to resolve rather than guessed at. This is separate from Billing, which is what you pay Mochi. Payments is what your customers pay you. --- # MCP connector Mochi MCP (in Beta) lets an AI tool that supports MCP, such as Claude, answer questions using your Mochi data: leads and conversations, team and funnel numbers, objections, links, bookings, account health and Mochi's product knowledge. To connect, copy the server address from the Mochi MCP card. Creators, managers and team members with admin access find it under Settings, then Integrations, or on the Home dashboard. The iPhone app shows the same address in its Mochi MCP guide. Add the address as an MCP server or connector in your AI tool. The tool then asks you to sign in to Mochi, choose the workspace and approve the connection. Creators, managers, setters and closers can approve a connection; finance and assistant members can't. The AI tool acts as the person who approved it, and that person has to stay an active member of the workspace for the connection to keep working. Most of what the AI tool can do is read your data. Creators and managers can also ask it to apply an existing tag to leads, change a lead's stage or archive them, change who a lead is assigned to, and add a lead's email or phone number. Payment data is only available to creators and managers. Disconnecting Zapier in Mochi also disconnects AI tools connected through Mochi MCP. Reconnect them by signing in again from the AI tool. --- # YouTube You can connect your YouTube channel to Mochi so that links in your video descriptions become trackable Mochi links. When you connect, Mochi signs you in with Google and asks permission to see your videos and update their descriptions. It then shows you every link it found across your descriptions and lets you choose which ones to replace. After that you can see, for each video, how many people clicked, how many became leads, how many booked a call, and how much revenue came from that video. --- # Zapier Connecting Mochi to Zapier lets you send what happens in Mochi — new leads, payments — out to the thousands of other apps Zapier works with, like Google Sheets, Notion or your own CRM. You can also pull your performance figures into a Zap. You connect your Mochi account to Zapier once, then build your Zaps inside Zapier itself: pick a Mochi trigger such as a new lead, and Zapier takes it from there. You can turn individual Zaps on and off, or disconnect entirely, from either side. --- # Emails from Mochi Mochi sends the emails your account needs to work automatically: the magic sign-in link when you log in, a welcome message when your workspace is set up, and invitations whenever a teammate is added. If an email doesn't arrive, any Admin can use the Resend button on the invitation or sign-in screen to send it again. --- # Overview Use the Mochi Public API to connect your own software to Mochi. You can read leads, bookings, analytics, and revenue. Approved integrations can also update data. An **organization** is a Mochi workspace. Every connection can access only one organization and only the actions that Mochi has approved for it. ## Choose where to start | Your goal | Start with | | --- | --- | | Try the API with one safe, read-only request | [Make your first API request](https://themochi.app/docs/api/start-here/getting-started) | | Decide between an API key, browser sign-in, or an existing connection | [Choose how to authenticate](https://themochi.app/docs/api/start-here/authentication) | | Create, rotate, or revoke a controlled self-serve key | [Create and manage an API key](https://themochi.app/docs/api/start-here/manage-api-keys) | | Connect an AI tool | [Connect an AI agent](https://themochi.app/docs/api/common-tasks/connect-ai-agent) | | Continue a tool that is already connected through MCP | [Already connected through MCP?](https://themochi.app/docs/api/common-tasks/already-connected-mcp) | | Build a specific integration | Choose a guide under **Common tasks** in the sidebar | | Look up an exact path, field, or response | Use the generated **API Reference** | If you are new to APIs, start with the first row. A successful first request proves that your key, organization, and basic permission are correct. It does not change any Mochi data. ## Base URL ```text https://api.themochi.app ``` Add an endpoint path to this address. Current paths begin with `/v1/`. Most requests and responses use JSON, a standard text format for structured data. ## Your first-success path 1. When Mochi has enabled your organization, create or obtain an API key with the `leads:read` permission. 2. Follow [Make your first API request](https://themochi.app/docs/api/start-here/getting-started). 3. Confirm the response shape shown in [Make your first API request](https://themochi.app/docs/api/start-here/getting-started): it contains `data` and `next_cursor`. An empty `data` list is still a success. 4. Continue with a [language example](https://themochi.app/docs/api/start-here/code-examples) or a guide under **Common tasks**. Do not copy changing endpoint fields or response schemas from a task guide into your integration. Check the generated API reference when you implement a request. ## Keep credentials private An API key works like a password for an integration. Keep it in a server-side secret manager. Never put it in a web page, mobile app, source file, screenshot, prompt, log, or support message. ## For documentation maintainers and AI agents The canonical documentation origin is [https://themochi.app/docs/api](https://themochi.app/docs/api). Use this order so an integration is based on the current contract rather than remembered examples: 1. Read [https://themochi.app/docs/llms.txt](https://themochi.app/docs/llms.txt) and choose the smallest relevant task guide. 2. Read that guide for the goal, authentication choice, minimum scopes, safe sequence, and verification behavior. 3. Inspect the generated OpenAPI reference for exact paths, parameters, payloads, and response schemas. 4. If using the Mochi CLI, inspect the installed `mochi --help` and command help for its current read-only surface. Use [https://themochi.app/docs/llms-full.txt](https://themochi.app/docs/llms-full.txt) only for broad research across the documentation. If the current documentation or OpenAPI contract is unavailable, or if prose and OpenAPI disagree, stop and report the drift instead of guessing. This `docs/public-api/` directory is the editable source. GitBook renders and publishes it; GitBook UI edits are not canonical and must not replace reviewed Git changes. ## Availability during the initial rollout The self-serve Developers and Public API OAuth paths are in a controlled pilot. The Developers menu is available only to manually approved organizations; documentation or a direct URL never grants access. See [Create and manage an API key](https://themochi.app/docs/api/start-here/manage-api-keys) for the eligibility and safety rules. Ask your existing Mochi implementation or account contact if you need access when the controlled path is unavailable. --- # Make your first API request In this guide, you will ask Mochi for up to ten leads. This is a **read-only** request: it cannot add, change, or delete data. ## What you need You need three things: 1. An **API key** for your organization. This is a controlled pilot, so Settings → Developers appears only after Mochi manually approves your exact organization. If it is available, follow [Create and manage an API key](https://themochi.app/docs/api/start-here/manage-api-keys); otherwise contact Mochi instead of trying a direct URL. 2. The `leads:read` **scope**. A scope is a permission. This one allows the key to read leads. 3. A terminal on a trusted computer or server. Do not run this example in browser JavaScript, where visitors could see the key. Mochi shows a new key only once. Save it in a server-side secret manager. Do not paste a real key into source code, documentation, screenshots, prompts, or support messages. ## Step 1: set the key for this terminal Run the first command, paste the key when the cursor waits, and press Enter. The terminal does not display the key, and the key does not become part of the command in your shell history. The second command makes it available to cURL: ```bash read -s MOCHI_API_KEY export MOCHI_API_KEY ``` ## Step 2: request up to ten leads ```bash curl --fail --silent --show-error \ --request GET \ --url "https://api.themochi.app/v1/leads/?page_size=10" \ --header "Authorization: Bearer ${MOCHI_API_KEY}" \ --header "Accept: application/json" ``` ## Step 3: confirm success A successful response has this shape: ```json { "data": [], "next_cursor": null } ``` `data` is the list of leads. It may be empty when the organization has no leads. `next_cursor` tells you whether another page exists. You do not need it for this first request. Your first request succeeded if cURL exits without an error and the response contains both fields. The request can return only leads from the organization linked to the key. ## If the first request fails | Result | What to do | | --- | --- | | `401` | The key is missing, invalid, expired, or revoked. Check that the environment variable is set without printing its value. | | `403` | The key does not have `leads:read`. Ask for that permission instead of a broader key. | | `404` | Check the base URL and path. The endpoint may not be enabled for your organization. | | `429` | Wait for the number of seconds in the `Retry-After` response header, then try again. | For other failures, follow [Troubleshoot API requests](https://themochi.app/docs/api/troubleshooting-and-safety/diagnose-api-failures). Keep the `X-Request-ID` response header, but do not keep the key or response data in logs. ## Next steps - Use the same request in [cURL, Python, Node.js/TypeScript, or PHP](https://themochi.app/docs/api/start-here/code-examples). - Learn how to [load every page](https://themochi.app/docs/api/troubleshooting-and-safety/pagination). - [Choose how to authenticate](https://themochi.app/docs/api/start-here/authentication) for a scheduled job, browser app, or AI tool. - [Create and manage an API key](https://themochi.app/docs/api/start-here/manage-api-keys) if Mochi has approved your organization for the controlled pilot. - Follow [Test your integration safely](https://themochi.app/docs/api/troubleshooting-and-safety/testing-guide) before requesting write permissions. Remove the temporary environment variable when you finish: ```bash unset MOCHI_API_KEY ``` --- # Choose how to authenticate **Authentication** is how Mochi confirms which integration is making a request. Choose one method based on where the integration runs. | Where the integration runs | Use | Why | | --- | --- | --- | | A server, scheduled job, or CI runner | API key | It can read a secret from a server-side secret manager without a person signing in each time. | | A trusted local computer with a person present | Mochi CLI with OAuth | A browser opens so the person can choose an organization and approve permissions. The CLI stores the result safely. | | An AI tool already connected to Mochi through MCP | Existing MCP connection | Keep the existing connection. Do not export or convert its credential. | | A third-party browser application | Registered OAuth application | The app redirects the user to Mochi for approval and never receives the user's password. | If you are connecting an AI tool, follow [Connect an AI agent](https://themochi.app/docs/api/common-tasks/connect-ai-agent) after choosing the matching row. The self-serve Developers and Public API OAuth paths are in a controlled pilot. Documentation and a direct URL do not grant access. When Mochi enables the controlled path for an exact organization, follow [Create and manage an API key](https://themochi.app/docs/api/start-here/manage-api-keys). If you already use MCP, read [Already connected through MCP?](https://themochi.app/docs/api/common-tasks/already-connected-mcp). ## Use an API key on a server Send the key in the `Authorization` header of every request: ```http Authorization: Bearer mochi_sk_live_... ``` `Bearer` means that anyone who has the key can use it. Protect the key like a password. ## Keep an API key safe - Mochi shows the plaintext key once at creation. - Store it in a server-side secret manager. - Never put it in frontend JavaScript, mobile applications, URLs, source control, documentation, or logs. - Never send it in a query parameter. - Use separate keys for separate integrations so each can be scoped and revoked independently. Each key belongs to one Mochi organization. It cannot access another organization's resources. A request for a resource outside its organization returns `404` without revealing whether that resource exists. ## Use browser approval with the Mochi CLI OAuth lets a person approve a connection in the browser without giving the integration a password. A CLI OAuth connection also belongs to one organization and has only the approved scopes. The CLI stores its credential outside prompts and command history. Do not read or copy that storage. Already being signed in to Mochi makes approval faster, but it does not skip consent. The person still chooses the organization and permissions. ## Advanced: key identity types Mochi may issue an **organization-principal key** to an approved server integration. This key represents the organization. A **member-bound key** also follows the member's current role and active status. Connection and team-management changes require an organization-principal key. A member-bound key cannot perform those operations even when it has the named scope. Confirm current authentication requirements for an exact endpoint in the [canonical OpenAPI contract](https://themochi.app/docs/api/openapi.json). ## Replace or revoke a key Request a new key before replacing an existing key. Deploy the new key to your integration, verify it, and then revoke the old key. The controlled self-serve steps are in [Create and manage an API key](https://themochi.app/docs/api/start-here/manage-api-keys). Stop using a key immediately if it may have appeared in logs, source control, screenshots, browser storage, or a support message. Contact Mochi to revoke it. Share only its non-secret name or prefix, never the full key. --- # Create and manage an API key An API key lets one server-side integration make approved Public API requests for one Mochi organization. Treat it like a password for that integration. ## Availability is controlled **A controlled pilot is active.** **Settings → Developers** appears only for manually approved organizations. Knowing this guide or a direct URL does not grant access. Your exact organization must be in Mochi's approved cohort, have an active Mochi account, and you must be an eligible organization administrator. This includes Creator/Manager members and delegated administrators with equivalent access. If the menu is absent, contact Mochi; do not retry a direct URL or ask another person to create a key for you. ## Create a key when Mochi has enabled your organization 1. Open **Settings → Developers** and choose **Create API key**. 2. Give the key a clear, specific name, such as `Warehouse lead sync`. Use a separate key for each integration. 3. Choose the minimum scopes for that integration. For a first check, choose only `leads:read`. 4. Create the key. Its secret is shown only once. 5. Copy the secret directly into your server-side secret manager before closing the screen. Never put it in a prompt, source code, browser or mobile app, command argument, URL, screenshot, log, or support message. Creating a key does not make every endpoint available. Each request remains limited to its organization, selected scopes, member-role rules, and Mochi's current feature availability. Check the [generated OpenAPI contract](https://themochi.app/docs/api/openapi.json) for the exact operation before building a request. ## Make a first read-only request Start with [Make your first API request](https://themochi.app/docs/api/start-here/getting-started). It reads up to ten leads and does not change Mochi data. An empty result is still a successful first read-only request. Do not add write scopes until there is a specific, reviewed task that needs one. ## Review and revoke keys Settings → Developers lists each key's non-secret name, prefix, scopes, status, and recent use. It never shows the secret again. Revoke a key when its integration is no longer needed or the key may have been exposed. Revocation stops that key; it does not change other keys or integrations. ## Rotation Rotation replaces a key without an avoidable outage: 1. Create a new, narrowly scoped key and save its one-time secret in the secret manager. 2. Update the integration to use the new key. 3. Make a first read-only request and confirm the expected organization and scope boundary. 4. Revoke the old key in **Settings → Developers**. If you cannot see the Developers menu or need a key revoked while access is unavailable, contact Mochi. Send only a non-secret key name or prefix and the organization name—never the key itself. --- # Use an example in your language Choose the language your server already uses. The cURL, Python, Node.js/TypeScript, and PHP examples below all make the same read-only request. They use ordinary HTTP libraries, so you can see exactly what is sent to Mochi. Run these examples only on a trusted computer or server. Never put a Mochi API key in browser JavaScript, a mobile app, or software distributed to customers. Set these values before running an example. Run `read`, paste the key when the cursor waits, and press Enter. The terminal does not display the key or put it in the command in your shell history. ```bash read -s MOCHI_API_KEY export MOCHI_API_KEY export MOCHI_BASE_URL="https://api.themochi.app" ``` ## First example: list leads Each example requests up to ten leads. A successful response contains a `data` list and `next_cursor`, the value used to load another page. ### cURL ```bash curl --fail-with-body --silent --show-error \ --url "${MOCHI_BASE_URL}/v1/leads/?page_size=10" \ --header "Authorization: Bearer ${MOCHI_API_KEY}" \ --header "Accept: application/json" ``` ### Python This example uses [Requests](https://requests.readthedocs.io/). ```python import os import requests api_key = os.environ["MOCHI_API_KEY"] base_url = os.environ.get("MOCHI_BASE_URL", "https://api.themochi.app") response = requests.get( f"{base_url}/v1/leads/", headers={ "Authorization": f"Bearer {api_key}", "Accept": "application/json", }, params={"page_size": 10}, timeout=30, ) request_id = response.headers.get("X-Request-ID", "unknown") if not response.ok: raise RuntimeError(f"Mochi returned HTTP {response.status_code}; request_id={request_id}") payload = response.json() print(payload["data"]) print("next_cursor:", payload["next_cursor"]) ``` ### Node.js / TypeScript This example uses Node.js's built-in Fetch API. Run it on a currently supported Node.js release. ```typescript type LeadPage = { data: Array>; next_cursor: string | null; }; const apiKey = process.env.MOCHI_API_KEY; const baseUrl = process.env.MOCHI_BASE_URL ?? "https://api.themochi.app"; if (!apiKey) { throw new Error("MOCHI_API_KEY is required"); } const url = new URL("/v1/leads/", baseUrl); url.searchParams.set("page_size", "10"); const response = await fetch(url, { headers: { Authorization: `Bearer ${apiKey}`, Accept: "application/json", }, signal: AbortSignal.timeout(30_000), }); const requestId = response.headers.get("x-request-id") ?? "unknown"; if (!response.ok) { throw new Error(`Mochi returned HTTP ${response.status}; request_id=${requestId}`); } const payload = (await response.json()) as LeadPage; console.log(payload.data); console.log("next_cursor:", payload.next_cursor); ``` ### PHP This example requires a currently supported PHP release with the cURL extension. ```php true, CURLOPT_TIMEOUT => 30, CURLOPT_HTTPHEADER => [ "Authorization: Bearer " . $apiKey, "Accept: application/json", ], CURLOPT_HEADERFUNCTION => function ($curl, $header) use (&$requestId) { if (stripos($header, "X-Request-ID:") === 0) { $requestId = trim(substr($header, strlen("X-Request-ID:"))); } return strlen($header); }, ]); $body = curl_exec($handle); if ($body === false) { throw new RuntimeException("Mochi request failed: " . curl_error($handle)); } $status = curl_getinfo($handle, CURLINFO_RESPONSE_CODE); curl_close($handle); if ($status < 200 || $status >= 300) { throw new RuntimeException("Mochi returned HTTP {$status}; request_id={$requestId}"); } $payload = json_decode($body, true, flags: JSON_THROW_ON_ERROR); print_r($payload["data"]); echo "next_cursor: " . ($payload["next_cursor"] ?? "null") . PHP_EOL; ``` ## Next: load every page Treat `next_cursor` as opaque, which means you must not interpret or change it. Pass it back unchanged and stop when it is `null`. ```python cursor = None while True: params = {"page_size": 100} if cursor is not None: params["cursor"] = cursor response = requests.get( f"{base_url}/v1/leads/", headers={"Authorization": f"Bearer {api_key}"}, params=params, timeout=30, ) response.raise_for_status() page = response.json() for lead in page["data"]: print(lead) cursor = page["next_cursor"] if cursor is None: break ``` Do not construct a cursor, infer business meaning from it, or automatically restart from the first page when a cursor is rejected. ## Advanced: make a write safe to retry This example changes data by adding one existing manual tag to one lead. It requires `leads:write`, explicit approval, and an **idempotency key** that identifies this one intended change. Use only an approved test lead and tag. Generate a new UUID4 for each new intended operation. ```bash export MOCHI_LEAD_ID="123" export MOCHI_TAG_ID="456" export MOCHI_IDEMPOTENCY_KEY="$(python -c 'import uuid; print(uuid.uuid4())')" curl --fail-with-body --silent --show-error \ --request POST \ --url "${MOCHI_BASE_URL}/v1/leads/${MOCHI_LEAD_ID}/tags/" \ --header "Authorization: Bearer ${MOCHI_API_KEY}" \ --header "Accept: application/json" \ --header "Content-Type: application/json" \ --header "Idempotency-Key: ${MOCHI_IDEMPOTENCY_KEY}" \ --data "{\"tag_id\": ${MOCHI_TAG_ID}}" ``` If the client times out, retry the same method, path, body, and `Idempotency-Key`. Do not generate a new key for the retry. A successful replay includes `Idempotent-Replay: true`. ## Retry safely - Retry `429` only after the `Retry-After` delay. Add a small random delay when workers share a key. - Retry temporary network failures a limited number of times, waiting longer after each failure. - Do not retry `400`, `401`, `403`, or `404` automatically. - Do not log authorization headers, request or response bodies, cursors, contact values, or message content. - Retain the response `X-Request-ID`, status, method, path, and UTC timestamp for troubleshooting. Unset the example values when you finish: ```bash unset MOCHI_API_KEY MOCHI_BASE_URL MOCHI_LEAD_ID MOCHI_TAG_ID MOCHI_IDEMPOTENCY_KEY ``` --- # Choose permissions A **scope** is a permission granted to an API key or OAuth connection. Request only the permissions needed for one integration. This limits the impact of a mistake or exposed credential. | Scope | What it allows | | --- | --- | | `leads:read` | Read lead lists, lead details, and basic lead intelligence | | `signals:read` | Read signal lists and signal intelligence | | `analytics:read` | Read organization analytics | | `bookings:read` | Read bookings | | `revenue:read` | Read revenue; requires an approved organization identity or a member with a permitted role | | `config:read` | Read configuration, connection status, and send policy | | `team:read` | Read the team; requires an approved organization identity or a Creator or Manager member | | `leads:write` | Change lead stage, archive state, contact details, assignment, or tags | | `messages:send` | Schedule approved follow-ups | | `automations:write` | Create or run keyword automations and flows; restricted to permitted roles | | `links:write` | Create tracking links | | `config:write` | Change prompt configuration; restricted to permitted roles | | `content:write` | Create or change content and media | | `connections:write` | Manage provider connections; organization-principal keys only | | `team:write` | Invite or deactivate team members; organization-principal keys only | If you are making your first request, start with `leads:read`. Add another scope only when a specific task needs it. Having a scope does not bypass organization ownership, member-role rules, provider approval, feature availability, validation, or messaging safety rules. If a key lacks a required scope, the API returns `403`. Use a separate, narrowly scoped key for an unrelated integration instead of adding more power to an existing key. --- # Connect an AI agent An **AI agent** is a tool that can use commands or connected apps for you. Choose the connection based on where the agent runs. The agent must never receive, read, paste, print, or store a Mochi credential. After choosing a connection, use the [generated OpenAPI contract](https://themochi.app/docs/api/openapi.json) for current authentication requirements and exact operation details. ## Choose a connection | Workload | Use | Credential boundary | | --- | --- | --- | | Interactive agent or developer on a local computer | Mochi CLI OAuth | `mochi auth login` opens Mochi in the browser and stores the approved connection in the OS keychain. The agent sees only structured command results. | | Scheduled job, CI runner, or unattended server | Organization-scoped API key | An operator creates a key with only the needed permissions. The workload reads it from a server-side secret manager. | | Agent already connected through Mochi MCP | Existing MCP connection | Keep using that connection. Do not export, exchange, or convert its credential. | | Third-party browser application | Registered OAuth application | The application sends the user to Mochi for approval and manages its own redirect and refresh flow. | OAuth is browser-based approval. MCP is the connection standard used by some AI tools. An existing Mochi browser session makes approval smoother because the customer may not need to enter a password again. It does not skip consent: the customer still chooses the organization and approves the requested Public API scopes. ## Optional: give the agent the Mochi skill Install the high-level skill from the public CLI repository: ```bash npx skills add TheMochiApp/mochi-cli --skill mochi-api ``` The skill teaches the agent to read `/llms.txt`, choose the smallest current task guide, and inspect OpenAPI for exact request details. It does not contain a copied endpoint reference or credentials. Installing it does not grant access or expose credentials. Skill installation is separate from publishing the `@themochiapp/cli` npm package. Start with this safe prompt—before signing in, creating a credential, or making a request: > Read https://themochi.app/docs/llms.txt. I want to understand how to list up to ten leads for my organization. Do not make requests, sign in, or handle credentials. Tell me the smallest guide and minimum scope. ## Connect on a trusted local computer Use this path only when the agent and customer share a trusted local computer and Mochi has enabled Public API OAuth for that organization. The CLI npm package must also be published and its release instructions verified before this route is available. The Mochi CLI is a command-line tool for making approved, read-only requests. 1. Install the Mochi CLI from its [canonical repository](https://github.com/TheMochiApp/mochi-cli) using the currently published release instructions. 2. Inspect the installed command surface with `mochi --help`. 3. Run `mochi auth login`, request only the read scopes needed for the task, and complete organization/scope approval in the browser. 4. Check non-secret state with `mochi auth status`. 5. Run a read command and parse its single JSON result. Branch on `ok`; do not scrape human output. 6. Remove the approved connection with `mochi auth logout` when it is no longer needed. The CLI is intentionally read-only. For a write integration, read the relevant task guide and current OpenAPI contract. Write a specific plan and use a separately approved direct API integration. Never invent a write-oriented `mochi` command. ## Connect a scheduled job or server Use an API key for a scheduled job, CI runner, hosted agent, or server process: 1. Name the exact job and organization. 2. Request only the scopes used by that job. 3. Store the key in the platform secret manager and inject it at runtime. 4. Keep it out of prompts, command arguments, source control, logs, screenshots, browser code, and support messages. 5. Verify the first request is read-only and organization-bound before enabling a schedule. 6. Use separate keys for separate integrations so one workload can be rotated or revoked independently. See [Choose how to authenticate](https://themochi.app/docs/api/start-here/authentication) for key replacement and identity rules, [Create and manage an API key](https://themochi.app/docs/api/start-here/manage-api-keys) for the controlled self-serve path, and [Choose permissions](https://themochi.app/docs/api/start-here/scopes) for the current scope list. ## Keep an existing MCP connection If the customer already connected Mochi through MCP, continue through that connection. Installing the skill does not require another browser sign-in. The skill may help the agent find public documentation, but it must not ask to reveal an MCP token or assume that MCP supports every Public API operation. Read [Already connected through MCP?](https://themochi.app/docs/api/common-tasks/already-connected-mcp) before a task needs `/v1/`. ## Confirm the connection safely A successful setup proves only the intended boundary: - the selected organization is correct; - the granted scopes match the task; - a read returns structured data; - a disallowed scope or cross-organization resource is denied; and - no authorization header, token, API key, contact value, or customer payload appears in agent context or logs. If documentation, OpenAPI, installed CLI help, and observed behavior disagree, stop and record the sanitized `X-Request-ID`, status, method, path, and UTC time. Do not troubleshoot by printing the credential. --- # Use Mochi in Claude The Mochi connector lets Claude answer questions about your Instagram sales pipeline: leads, conversations, setter and closer performance, funnel numbers, links, bookings and payments. It can also make a few small changes to leads when you ask it to. Everything it reads and changes belongs to the Mochi workspace you approve. ## What you need - A Mochi account with access to a workspace. Sign up at [themochi.app](https://themochi.app). - Claude on a plan that supports connectors (Claude.ai web, desktop or mobile, or Claude Code). ## Connect 1. In Claude, open **Settings → Connectors**, find **Mochi** in the directory and select **Connect**. To add it by hand instead, choose **Add custom connector** and enter `https://mcp.themochi.app/mcp`. 2. Sign in to Mochi in the window that opens. 3. Choose the workspace Claude may use and approve the connection. Claude now sees the workspace with the same permissions as your own Mochi role. A setter sees what a setter sees in Mochi; payment data is only available to Creators, Managers and Finance members. ## Try it - "How did my setters do last week? Who booked the most calls?" - "What are the top objections leads raised this month, and which ones went unanswered?" - "Show me the funnel for the last 30 days and compare it with the 30 days before." - "Which of my links drove the most bookings, and which setter used them best?" - "List the leads tagged *hot* and summarise the conversation with the newest one." - "Tag @example_lead as *follow up* and move them to Qualified." (Claude asks before making changes.) ## What Claude can do **Read (no confirmation needed):** natural-language questions about your sales data, setter, closer and team metrics, funnel metrics and trends, objections, message and reply timing, lead lists and lead sources, tags, conversation summaries (never raw message transcripts), link performance, bookings, payment overviews from connected providers (Stripe, Whop, Commas, Ablefy), your product knowledge base, and account health. **Change (Claude asks before making changes, unless you choose to always allow a tool; Creators and Managers only):** | Tool | What it changes | | --- | --- | | Add Tag to Leads | Adds one of your existing tags to up to 50 leads. It never creates new tags. | | Update Lead Stage or Archive | Moves a lead to another funnel stage, or archives or unarchives it. | | Update Lead Assignment | Assigns a lead's setter or closer. | | Update Lead Contact Details | Adds an email or phone number; existing values change only when you say so. | The connector cannot send messages to leads, delete leads, move money or change billing. ## Disconnect Remove the connector in Claude under **Settings → Connectors**. Claude can then no longer reach your workspace. ## Privacy and support Mochi handles data from this connector under its [Data Privacy Policy](https://themochi.app/legal/data-privacy-policy) and [Terms of Service](https://themochi.app/legal/terms-of-service). Claude only receives the results of the tools it calls. For help, see [Get API support](https://themochi.app/docs/api/troubleshooting-and-safety/support) or contact your Mochi account contact. --- # Already connected through MCP? Keep using Mochi through MCP for the tasks that your existing MCP connection supports. You can install the Mochi skill to help an AI agent find the current documentation without reconnecting: ```bash npx skills add TheMochiApp/mochi-cli --skill mochi-api ``` Installing the skill does not grant access, reconnect MCP, or expose credentials. It only helps the agent read [`/llms.txt`](https://themochi.app/docs/llms.txt), select the smallest relevant guide, and inspect the generated [OpenAPI contract](https://themochi.app/docs/api/openapi.json) for exact details. ## Read lead handovers and sync changes Use `get_lead_crm_detail` with a Mochi lead ID to read team notes with their authors and dates, current tags with application dates, and dated funnel movements. Each collection contains `items` and `next_after_id`. To read more, request that section by name and pass its `next_after_id` as `after_id`. Tag dates are null where no application date was recorded. To build a chronological timeline, combine `stage_history` with `stage_relocations` (moves caused by retiring a funnel stage) and sort by `at`. Conversation summaries remain available through `get_conversation_detail`. Mochi operations can enable change tracking for an individual workspace with `python manage.py enable_lead_crm_sync ` after applying the database migration. The tool can start issuing checkpoints once writes already in progress finish. Lead detail is available independently. To sync your workspace: 1. Call `list_updated_leads` without arguments for an initial import. For a date-based start, pass an inclusive UTC date or a timestamp with a time zone in `updated_since`. Historical matches depend on the records Mochi still holds. An initial full import covers leads whose older changes have no surviving dated record. 2. For each returned `lead_id` in `lead_ids`, fetch its detail and upsert it in your CRM. Replace the local set of tags after reading all tag pages so removed tags disappear. A lead can occur again after a change or retry. 3. Persist `next_cursor` after saving the page, including empty pages. If `has_more` is true, continue immediately. Otherwise pass the saved cursor on your next scheduled poll. Use the same workspace and member for the cursor. A long-running database transaction can delay new changes across workspaces. Keep polling with the returned cursor so late commits are included. The feed tracks changes to visible leads, their notes, tag assignments and funnel movements. It returns IDs for records you can still read. Use a full import to reconcile deleted leads, changes in member visibility, or changes to shared labels such as renamed tags and author names. ## Do not move an MCP credential Never export, copy, exchange, or convert an MCP token. MCP/Zapier and the Public API share underlying OAuth infrastructure, but they are separate authorization boundaries: a legacy empty-resource MCP grant does not authorize `/v1/`. If a task needs a Public API-specific operation, it needs an API key or separate exact-resource consent when that controlled path is available. Do not assume that an MCP tool, token, or prior Zapier connection grants the operation. ## Browser sign-in is not approval An existing signed-in Mochi browser session can avoid password re-entry during a new approval flow. It does not skip organization or scope consent. The person approving the connection must still select the organization and explicitly approve the requested Public API scopes. See [Connect an AI agent](https://themochi.app/docs/api/common-tasks/connect-ai-agent) for the safest connection choice. If an MCP task fails, use the existing MCP reconnect screen only when that connection is invalid; do not troubleshoot by exposing its token. --- # Sync leads To **sync** leads is to copy new or changed lead data into another system. Copy only the fields the destination needs. Use CLI browser approval for a one-time local export. Use an API key with only `leads:read` for a scheduled server sync. Never copy contact values or customer data into an AI prompt. Before you start, confirm the exact paths, parameters, and response fields in the [generated OpenAPI contract](https://themochi.app/docs/api/openapi.json). ## Plan the sync 1. Check the current OpenAPI operations and response fields. 2. For the first import, request the first page without `updated_since`. Follow `next_cursor` until it is `null`. 3. Save each page by Mochi lead ID in a durable batch. An **upsert** means update an existing ID or insert a new one. 4. Save the opaque cursor only after that page is durable. Never decode or construct a cursor. 5. After a completed run, save its UTC time as a checkpoint. Pass that time as `updated_since` on the next run. Use a small time overlap and duplicate-safe upserts so retries or equal timestamps do not lose leads. 6. Request lead detail only when the list does not contain the field you need. 7. For failures, record the sanitized `X-Request-ID`, method, path, status, and UTC time. Never record the authorization header, cursor, response body, or contact data. ## Request leads changed since the last run Set `MOCHI_UPDATED_SINCE` to the UTC checkpoint from the last completed run. Check the parameter names against OpenAPI before shipping, because OpenAPI is the current endpoint contract. ### cURL ```bash curl --fail-with-body --silent --show-error --get \ "${MOCHI_BASE_URL}/v1/leads/" \ --header "Authorization: Bearer ${MOCHI_API_KEY}" \ --header "Accept: application/json" \ --data-urlencode "updated_since=${MOCHI_UPDATED_SINCE}" \ --data-urlencode "page_size=100" ``` ### Python ```python import os import requests response = requests.get( f"{os.environ['MOCHI_BASE_URL']}/v1/leads/", headers={"Authorization": f"Bearer {os.environ['MOCHI_API_KEY']}"}, params={"updated_since": os.environ["MOCHI_UPDATED_SINCE"], "page_size": 100}, timeout=30, ) response.raise_for_status() page = response.json() print({"count": len(page["data"]), "has_next_page": page["next_cursor"] is not None}) ``` ### Node.js / TypeScript ```typescript const baseUrl = process.env.MOCHI_BASE_URL ?? "https://api.themochi.app"; const url = new URL("/v1/leads/", baseUrl); url.searchParams.set("updated_since", process.env.MOCHI_UPDATED_SINCE!); url.searchParams.set("page_size", "100"); const response = await fetch(url, { headers: { Authorization: `Bearer ${process.env.MOCHI_API_KEY}` }, signal: AbortSignal.timeout(30_000), }); if (!response.ok) throw new Error(`Mochi HTTP ${response.status}`); const page = (await response.json()) as { data: Array<{ id: number }>; next_cursor: string | null }; console.log({ count: page.data.length, hasNextPage: page.next_cursor !== null }); ``` ### PHP ```php getenv("MOCHI_UPDATED_SINCE"), "page_size" => 100, ]); $handle = curl_init((getenv("MOCHI_BASE_URL") ?: "https://api.themochi.app") . "/v1/leads/?" . $query); curl_setopt_array($handle, [ CURLOPT_RETURNTRANSFER => true, CURLOPT_TIMEOUT => 30, CURLOPT_HTTPHEADER => ["Authorization: Bearer " . getenv("MOCHI_API_KEY")], ]); $body = curl_exec($handle); $status = curl_getinfo($handle, CURLINFO_RESPONSE_CODE); curl_close($handle); if ($body === false || $status < 200 || $status >= 300) throw new RuntimeException("Mochi read failed"); $page = json_decode($body, true, flags: JSON_THROW_ON_ERROR); echo json_encode(["count" => count($page["data"]), "has_next_page" => $page["next_cursor"] !== null]); ``` ## Instagram, WhatsApp and Messenger leads Mochi supports Instagram and WhatsApp, and Facebook Messenger for organizations that have it. A lead who has only written to your organization on WhatsApp or Messenger has no Instagram account. Lead responses carry these fields for that case: - `instagram_username` and `instagram_name` are `null` for a lead with no Instagram account (a WhatsApp-only or Messenger-only lead). A lead with an Instagram account returns the same strings as before. Store both as nullable columns. - `display_name` is the name to show for any lead: the Instagram name or username, else the WhatsApp profile name, else the WhatsApp number in international format (`+` and digits), else the lead's Facebook name (`"Facebook user"` when Facebook does not share it). It is an empty string when none is known. Use it instead of `instagram_username` when you need a label for every lead. - `channels` lists where the lead can be reached: any of `"instagram"`, `"whatsapp"` and `"messenger"`, in that order. To keep a sync Instagram-only, skip leads whose `channels` does not contain `"instagram"`. Treat a value you do not recognise as another channel rather than an error. - `conversations` lists every conversation of the lead as `{"id": ..., "channel": ...}`, the main one first. `channel` is `"instagram"`, `"whatsapp"` or `"messenger"`. A lead on several channels has at least one conversation per channel; a merged lead can have more than one on the same channel. The list is empty when the lead has no conversation yet. Until your organization connects a WhatsApp number or a Facebook Page, every lead is an Instagram lead: `channels` is `["instagram"]` and the Instagram fields are filled as before. Check the [generated OpenAPI contract](https://themochi.app/docs/api/openapi.json) for which operations return each field. ## Filter by location and link to the Mochi inbox Every lead carries three fields for this: - `location` is `{"country": "DE", "city": "Berlin"}`: the ISO country code and city of the lead's most recent click on a tracked Mochi link. It is where the lead's device was when they clicked, not a verified home address. It is `null` when the lead never clicked a tracked link or the click could not be placed, and `city` is `null` when only the country is known. Instagram does not share where a lead lives, so only leads who clicked have a location. - `conversation_id` is the lead's main Mochi conversation, the first entry of `conversations`. It is not the lead `id`. - `inbox_url` opens that conversation in the Mochi inbox. It only works for someone signed in to Mochi as a member of your organization. Both are `null` when the lead has no conversation yet. To list leads by location, repeat `location`: `DE` for a whole country, `DE:Berlin` for one city in it. It matches the lead's latest click only, exactly like the location filter in the app, so a lead who clicked from Germany and later from Austria is an Austrian lead. ```bash curl --fail-with-body --silent --show-error --get \ "${MOCHI_BASE_URL}/v1/leads/" \ --header "Authorization: Bearer ${MOCHI_API_KEY}" \ --data-urlencode "location=DE" \ --data-urlencode "location=AT:Vienna" \ --data-urlencode "page_size=100" ``` A new click does not change a lead's `updated_at`, so an `updated_since` run does not pick up a changed location. When locations matter, re-read them with the `location` filter or a full sync instead of relying on the checkpoint. ## Pagination, retries, and verification Pass `next_cursor` back unchanged and keep the same `updated_since` throughout one run. Retry only the read failures described in [Fix an API error](https://themochi.app/docs/api/troubleshooting-and-safety/errors) and [Handle rate limits](https://themochi.app/docs/api/troubleshooting-and-safety/rate-limits). Limit the number of attempts. Stop if Mochi rejects a cursor; silently restarting at page one can duplicate an entire export. Verify the destination count, unique Mochi IDs, first/last checkpoint, page count, and a small set of non-sensitive fields. A read sync has no Mochi rollback; rollback the destination batch and retain the previous durable checkpoint if validation fails. --- # Update a lead safely A **write** changes Mochi data. The Mochi CLI is read-only, so use a reviewed direct API integration for writes. The connection needs `leads:write` for the selected organization. A general request to “integrate Mochi” is not permission to change customer data. Use the [generated OpenAPI contract](https://themochi.app/docs/api/openapi.json) for exact paths, input fields, and response schemas. ## Follow this safety sequence 1. Read the lead and the current OpenAPI input schema. 2. Write a specific plan. Name the organization, lead ID, exact fields or manual tag, required scope, current state, idempotency key, failure behavior, verification, and rollback. 3. Obtain explicit approval for that plan. 4. Generate one UUID4 for the intended mutation. Preserve the same method, path, body, and `Idempotency-Key` if a documented retry is necessary. 5. Execute one mutation at a time and stop on an unexpected response. 6. Read the resource again and compare it with the approved target state. Only manual tags can be added through this operation. Mochi may reject a contact overwrite. Do not bypass that conflict without a separate approved plan. Removing a tag with `suppress` also prevents future automatic tagging, so use it only when the user explicitly asks for that behavior. ## Add one approved manual tag Set `MOCHI_LEAD_ID`, `MOCHI_TAG_ID`, and one caller-generated UUID4 in `MOCHI_IDEMPOTENCY_KEY`. These examples perform the same single mutation. ### cURL ```bash curl --fail-with-body --silent --show-error \ --request POST \ --url "${MOCHI_BASE_URL}/v1/leads/${MOCHI_LEAD_ID}/tags/" \ --header "Authorization: Bearer ${MOCHI_API_KEY}" \ --header "Content-Type: application/json" \ --header "Idempotency-Key: ${MOCHI_IDEMPOTENCY_KEY}" \ --data "{\"tag_id\": ${MOCHI_TAG_ID}}" ``` ### Python ```python import os import requests response = requests.post( f"{os.environ['MOCHI_BASE_URL']}/v1/leads/{os.environ['MOCHI_LEAD_ID']}/tags/", headers={ "Authorization": f"Bearer {os.environ['MOCHI_API_KEY']}", "Idempotency-Key": os.environ["MOCHI_IDEMPOTENCY_KEY"], }, json={"tag_id": int(os.environ["MOCHI_TAG_ID"])}, timeout=30, ) response.raise_for_status() print({"status": response.status_code, "replayed": response.headers.get("Idempotent-Replay") == "true"}) ``` ### Node.js / TypeScript ```typescript const baseUrl = process.env.MOCHI_BASE_URL ?? "https://api.themochi.app"; const response = await fetch(new URL(`/v1/leads/${process.env.MOCHI_LEAD_ID}/tags/`, baseUrl), { method: "POST", headers: { Authorization: `Bearer ${process.env.MOCHI_API_KEY}`, "Content-Type": "application/json", "Idempotency-Key": process.env.MOCHI_IDEMPOTENCY_KEY!, }, body: JSON.stringify({ tag_id: Number(process.env.MOCHI_TAG_ID) }), signal: AbortSignal.timeout(30_000), }); if (!response.ok) throw new Error(`Mochi HTTP ${response.status}`); console.log({ status: response.status, replayed: response.headers.get("idempotent-replay") === "true" }); ``` ### PHP ```php true, CURLOPT_POST => true, CURLOPT_TIMEOUT => 30, CURLOPT_HTTPHEADER => [ "Authorization: Bearer " . getenv("MOCHI_API_KEY"), "Content-Type: application/json", "Idempotency-Key: " . getenv("MOCHI_IDEMPOTENCY_KEY"), ], CURLOPT_POSTFIELDS => json_encode(["tag_id" => (int) getenv("MOCHI_TAG_ID")], JSON_THROW_ON_ERROR), ]); $body = curl_exec($handle); $status = curl_getinfo($handle, CURLINFO_RESPONSE_CODE); curl_close($handle); if ($body === false || $status < 200 || $status >= 300) throw new RuntimeException("Mochi write failed"); echo json_encode(["status" => $status]); ``` ## Partial failures and rollback Do not continue to a second write after an unverified first write. For a successful wrong tag addition, remove that exact tag only after confirming it was introduced by this operation; decide separately whether suppression is intended. For stage, archive, or contact changes, record the non-sensitive prior value and use a separately approved compensating update when the current state still matches the value written by this integration. Follow [Idempotency](https://themochi.app/docs/api/troubleshooting-and-safety/idempotency) and [Errors](https://themochi.app/docs/api/troubleshooting-and-safety/errors). Never generate a fresh idempotency key merely because the client timed out, and never retry an ambiguous mutation when current documentation does not define replay behavior. --- # Read business metrics Use this guide to build a report for one organization and a clear date range. Decide which measures and units the report needs before requesting data. A one-time local report can use CLI browser approval. A scheduled report should use an API key with only the read scopes it actually needs. Use the [generated OpenAPI contract](https://themochi.app/docs/api/openapi.json) for exact date parameters and result schemas. For a member-bound connection, `revenue:read` requires a Creator, Manager, or Finance role. Organization policy may add more restrictions. ## Define the report first 1. Name the organization and exact inclusive `date_from`/`date_to` calendar dates for analytics and revenue. 2. Use ISO 8601 timestamps with offsets for booking `start_from`/`start_to`, then normalize presentation separately. Do not silently mix organization-local calendar dates and UTC timestamps. 3. Choose only the required operations and scopes. A report that has no revenue section should not receive `revenue:read`. 4. Read the current OpenAPI response schemas before selecting fields. 5. Revenue integers are **minor currency units**, such as cents for a currency with two decimal places. Summary totals are in the organization's main currency, which the response names in `currency`, converted at the rate on each payment's day. Failed, pending and canceled charges are not counted. `conversion.unconverted_count` is how many payments have no exchange rate and are left out, and `conversion.pending` is true while the organization's main currency is changing. Individual transactions keep the currency they were paid in. 6. Treat conversion-rate numerators and denominators as part of the result, not just the displayed decimal. 7. Walk booking cursors to `null`; one page is not a complete period. ## Revenue summary request These examples request one explicit calendar period. They print only the aggregate response; keep the raw result out of prompts and logs if it contains business-sensitive metrics. ### cURL ```bash curl --fail-with-body --silent --show-error --get \ "${MOCHI_BASE_URL}/v1/revenue/summary/" \ --header "Authorization: Bearer ${MOCHI_API_KEY}" \ --header "Accept: application/json" \ --data-urlencode "date_from=${MOCHI_DATE_FROM}" \ --data-urlencode "date_to=${MOCHI_DATE_TO}" ``` ### Python ```python import os import requests response = requests.get( f"{os.environ['MOCHI_BASE_URL']}/v1/revenue/summary/", headers={"Authorization": f"Bearer {os.environ['MOCHI_API_KEY']}"}, params={"date_from": os.environ["MOCHI_DATE_FROM"], "date_to": os.environ["MOCHI_DATE_TO"]}, timeout=30, ) response.raise_for_status() summary = response.json() print({"period": summary["period"], "metrics_minor_units": summary["metrics"]}) ``` ### Node.js / TypeScript ```typescript const baseUrl = process.env.MOCHI_BASE_URL ?? "https://api.themochi.app"; const url = new URL("/v1/revenue/summary/", baseUrl); url.searchParams.set("date_from", process.env.MOCHI_DATE_FROM!); url.searchParams.set("date_to", process.env.MOCHI_DATE_TO!); const response = await fetch(url, { headers: { Authorization: `Bearer ${process.env.MOCHI_API_KEY}` }, signal: AbortSignal.timeout(30_000), }); if (!response.ok) throw new Error(`Mochi HTTP ${response.status}`); const summary = (await response.json()) as { period: object; metrics: object }; console.log({ period: summary.period, metricsMinorUnits: summary.metrics }); ``` ### PHP ```php getenv("MOCHI_DATE_FROM"), "date_to" => getenv("MOCHI_DATE_TO"), ]); $baseUrl = getenv("MOCHI_BASE_URL") ?: "https://api.themochi.app"; $handle = curl_init($baseUrl . "/v1/revenue/summary/?" . $query); curl_setopt_array($handle, [ CURLOPT_RETURNTRANSFER => true, CURLOPT_TIMEOUT => 30, CURLOPT_HTTPHEADER => ["Authorization: Bearer " . getenv("MOCHI_API_KEY")], ]); $body = curl_exec($handle); $status = curl_getinfo($handle, CURLINFO_RESPONSE_CODE); curl_close($handle); if ($body === false || $status < 200 || $status >= 300) throw new RuntimeException("Mochi read failed"); $summary = json_decode($body, true, flags: JSON_THROW_ON_ERROR); echo json_encode(["period" => $summary["period"], "metrics_minor_units" => $summary["metrics"]]); ``` ## Verification and failure behavior Verify that each response echoes the intended period, record `computed_at`, reconcile booking page counts, and compare a small aggregate against the Mochi product for the same organization and dates. Do not merge results whose periods or units differ. Reads can be retried only as described in [Errors](https://themochi.app/docs/api/troubleshooting-and-safety/errors) and [Rate limits](https://themochi.app/docs/api/troubleshooting-and-safety/rate-limits). Bound retries, honor current server guidance, and retain only sanitized request metadata plus `X-Request-ID`. A failed report should remain failed or explicitly partial; never fill a missing metric with zero. --- # Create an automation draft This guide creates an inactive automation draft. It does not activate the automation or send a reply. Creating it requires `automations:write` and a Creator or Manager role. Mochi must also have enabled the feature for the organization. Use the [generated OpenAPI contract](https://themochi.app/docs/api/openapi.json) for exact operation availability, input fields, and response schemas. Creating an inactive definition is different from activating it. Creating a flow is also different from starting a run. A general request to connect Mochi does not approve activation, a flow run, a message, or a stage change. ## Agree on the exact draft Before any request, write a plan with: - organization, member role, operation, and minimum scope; - exact trigger keywords and media, active hours, whether it runs once per lead, and any lead-stage changes; - every reply or flow step in execution order; - whether the definition remains inactive; - one caller-generated UUID4 idempotency key per intended write; - what to do if only part succeeds or the provider result is unknown; - post-write verification and rollback; and - the separate explicit approval required before activation or a flow run. Do not continue if you cannot confirm the current OpenAPI input fields or feature availability. Do not expand the approved plan with loops, arbitrary expressions, unrelated recipients, or invented CLI commands. ## Create an inactive keyword automation The following examples create one inactive `ANY_POST` keyword automation. They do not activate it and do not send the configured reply. Preserve the same idempotency key on a retry of this exact operation. ### cURL ```bash curl --fail-with-body --silent --show-error \ --request POST \ --url "${MOCHI_BASE_URL}/v1/automations/keyword/" \ --header "Authorization: Bearer ${MOCHI_API_KEY}" \ --header "Content-Type: application/json" \ --header "Idempotency-Key: ${MOCHI_IDEMPOTENCY_KEY}" \ --data '{"name":"Agent draft - pricing","is_active":false,"keywords":["pricing"],"comment_type":"ANY_POST","replies":[{"text":"Thanks—our team will follow up."}]}' ``` ### Python ```python import os import requests payload = { "name": "Agent draft - pricing", "is_active": False, "keywords": ["pricing"], "comment_type": "ANY_POST", "replies": [{"text": "Thanks—our team will follow up."}], } response = requests.post( f"{os.environ['MOCHI_BASE_URL']}/v1/automations/keyword/", headers={ "Authorization": f"Bearer {os.environ['MOCHI_API_KEY']}", "Idempotency-Key": os.environ["MOCHI_IDEMPOTENCY_KEY"], }, json=payload, timeout=30, ) response.raise_for_status() print({"id": response.json()["id"], "is_active": response.json()["is_active"]}) ``` ### Node.js / TypeScript ```typescript const baseUrl = process.env.MOCHI_BASE_URL ?? "https://api.themochi.app"; const payload = { name: "Agent draft - pricing", is_active: false, keywords: ["pricing"], comment_type: "ANY_POST", replies: [{ text: "Thanks—our team will follow up." }], }; const response = await fetch(new URL("/v1/automations/keyword/", baseUrl), { method: "POST", headers: { Authorization: `Bearer ${process.env.MOCHI_API_KEY}`, "Content-Type": "application/json", "Idempotency-Key": process.env.MOCHI_IDEMPOTENCY_KEY!, }, body: JSON.stringify(payload), signal: AbortSignal.timeout(30_000), }); if (!response.ok) throw new Error(`Mochi HTTP ${response.status}`); const automation = (await response.json()) as { id: string; is_active: boolean }; console.log({ id: automation.id, isActive: automation.is_active }); ``` ### PHP ```php "Agent draft - pricing", "is_active" => false, "keywords" => ["pricing"], "comment_type" => "ANY_POST", "replies" => [["text" => "Thanks—our team will follow up."]], ]; $baseUrl = getenv("MOCHI_BASE_URL") ?: "https://api.themochi.app"; $handle = curl_init($baseUrl . "/v1/automations/keyword/"); curl_setopt_array($handle, [ CURLOPT_RETURNTRANSFER => true, CURLOPT_POST => true, CURLOPT_TIMEOUT => 30, CURLOPT_HTTPHEADER => [ "Authorization: Bearer " . getenv("MOCHI_API_KEY"), "Content-Type: application/json", "Idempotency-Key: " . getenv("MOCHI_IDEMPOTENCY_KEY"), ], CURLOPT_POSTFIELDS => json_encode($payload, JSON_THROW_ON_ERROR), ]); $body = curl_exec($handle); $status = curl_getinfo($handle, CURLINFO_RESPONSE_CODE); curl_close($handle); if ($body === false || $status < 200 || $status >= 300) throw new RuntimeException("Mochi write failed"); $automation = json_decode($body, true, flags: JSON_THROW_ON_ERROR); echo json_encode(["id" => $automation["id"], "is_active" => $automation["is_active"]]); ``` ## Verify and activate separately Verify the returned name, trigger type, comment type, reply count, and `is_active: false`. Inspect the definition in Mochi with a human reviewer. If it is wrong, delete or correct the inactive draft through a currently documented and separately approved operation; do not activate it as a test. Creating a flow and starting a flow run are separate writes with separate idempotency keys. A run must name one approved flow and lead. Each flow is locked to one channel. `POST /v1/flows/` takes an optional `channel`, `INSTAGRAM` or `WHATSAPP`, and flow responses return it. A flow created without `channel` is an Instagram flow, as every flow created before the field existed. A `WHATSAPP` flow: - can only be created when Mochi has enabled WhatsApp for the organization; otherwise the request fails with the typed error `whatsapp_not_enabled`; - starts only for a lead who has written to the organization on WhatsApp; otherwise the run fails with `lead_history_required`. An Instagram flow likewise needs Instagram history, and WhatsApp messages do not count for it; - sends on the lead's WhatsApp conversation, and only inside WhatsApp's 24-hour reply window. Outside the window the run pauses and resumes when the lead writes again on WhatsApp. A lead's reply resumes or stops only the flows of the channel it arrived on. Recheck the current send and messaging-window rules before starting it. Stop if the provider result is unknown. Starting a run requires new explicit approval after someone reviews the inactive definition. Follow [Idempotency](https://themochi.app/docs/api/troubleshooting-and-safety/idempotency), [Errors](https://themochi.app/docs/api/troubleshooting-and-safety/errors), and [Rate limits](https://themochi.app/docs/api/troubleshooting-and-safety/rate-limits). Never retry a mutation with a new key merely because its response was lost. ## Work on canvas automations With `automations:write`, read `GET /v1/automations/definitions/capabilities/` for this workspace's supported features and document format. Use `GET /v1/automations/definitions/assets/?query=guide` to look up reusable tracked links and finished Content Hub media. A media variant references its workspace's file by `file_id` and `media_kind`. Voice generation or recording happens before that file is attached. 1. List definitions with `GET /v1/automations/definitions/`. Continue with `?after_id=` when more results are available. 2. Validate a candidate via `POST /v1/automations/definitions/validate/` with `{"document": ...}`. Include `automation_id` for an edit. 3. Create an inactive automation via `POST /v1/automations/definitions/` with `{"document": ...}`. 4. Read an existing definition at `GET /v1/automations/definitions/{automation_id}/`. The response contains its draft when present. 5. Save draft edits with `PUT` at the same URL. Send the full `document` and the `revision` and `etag` returned by the read. After a conflict, fetch the current document and reapply the intended changes. Review and publish in the app. All POST and PUT requests require an Idempotency-Key UUID4. Reuse that key only to retry the same request. Draft endpoints are available where the workspace supports drafts. MCP exposes the same operations as `get_automation_capabilities`, `list_automation_definitions`, `get_automation_definition`, `search_automation_assets`, `validate_automation_definition`, `create_automation_draft` and `edit_automation_draft`. Provide a stable caller-generated UUID for each new MCP draft. Reusing it returns the existing automation. MCP creation and editing require an active Creator or Manager. Creating, reading or editing a definition returns an absolute `editor_url` for the saved automation and a `flow_preview` with readable trigger, reply and step summaries. The editor requires access to the workspace. MCP Apps hosts can display the same saved snapshot inline. Text-only clients can show the flow and editor link from the tool result. Use `document` for the complete definition and for subsequent edits. --- # Troubleshoot API requests Identify the type of failure before changing a credential or retrying. Record only the status, method, path without private query values, UTC time, and `X-Request-ID`. Do not expose an authorization header, token, API key, request/response body, cursor, contact value, message content, or provider data in a prompt, log, screenshot, issue, or support message. Compare observed behavior with the [generated OpenAPI contract](https://themochi.app/docs/api/openapi.json) before changing a request. ## Start with these checks 1. Confirm the canonical docs and OpenAPI contract are reachable and describe the operation. 2. Confirm the expected organization, connection method, scope, and any required member role or rollout approval. 3. Use the HTTP status as the main category. Use a typed error value when present. Do not make decisions from human wording. 4. Apply only the current [Errors](https://themochi.app/docs/api/troubleshooting-and-safety/errors), [Rate limits](https://themochi.app/docs/api/troubleshooting-and-safety/rate-limits), and [Idempotency](https://themochi.app/docs/api/troubleshooting-and-safety/idempotency) rules. 5. After a correction, make the smallest safe read or verification request. Do not broaden scopes or expose a credential to “debug” it. ## `401`: the connection is not accepted The credential is missing, malformed, expired, invalid, revoked, or unavailable. For CLI browser approval, inspect `mochi auth status` and follow the current CLI error code. Do not read its credential storage. For an API key, ask the operator to check the secret-manager setting and key status without printing the value. For MCP, use the existing reconnect screen only when that connection is invalid. Do not export its token. Repeated `401` responses are not retryable until the authentication cause changes. ## `403`: the connection lacks permission Mochi accepted the connection, but it lacks a required permission or role. Compare the current OpenAPI scope with the approved task. If the permission was intentionally omitted, stop and request a separate, limited approval. A required member role or organization-principal identity cannot be bypassed by repeating the request. If the issue is controlled self-serve key access, check [Create and manage an API key](https://themochi.app/docs/api/start-here/manage-api-keys). A missing Developers menu means Mochi has not enabled the path for that exact organization; a direct URL cannot bypass the rollout. If this is an MCP connection, read [Already connected through MCP?](https://themochi.app/docs/api/common-tasks/already-connected-mcp). Do not export the token: an MCP grant does not by itself authorize a Public API `/v1/` operation. Never solve `403` by borrowing another person's credential or asking for a broader token in a prompt. ## `404`: the resource or feature is unavailable The resource may not exist, may belong to another organization, or may not be enabled. Mochi intentionally does not reveal whether another organization's resource exists. Recheck only non-secret IDs and availability. Do not try nearby IDs or assume the problem is authentication. ## `409`: another request or state conflicts For a write that supports safe retries, the same request may still be running. Follow [Retry writes safely](https://themochi.app/docs/api/troubleshooting-and-safety/idempotency) and preserve the key, method, path, and body. For a state conflict such as an overwrite, read the current resource and stop the write sequence. Get a new approved plan before changing it. ## `429`: too many requests Wait for the current `Retry-After` value. Add a small random delay when workers share a key. Limit attempts and the number of requests running at once. Do not rotate credentials to evade a limit. Staying under the API limit does not guarantee that Mochi will accept an outbound message. ## Network or `5xx` failure For a read, retry a limited number of times and wait longer after each failure. For a write, first check whether the current documentation defines a safe retry. If the provider or application result is unknown, do not invent a new idempotency key. If the contract does not define safe behavior, stop and ask for help with sanitized request details. ## Ask for support safely Provide support with: - documentation/OpenAPI version or URL; - UTC timestamp; - HTTP method and sanitized path; - status and typed error code, if present; - `X-Request-ID`; - connection method, organization identifier, and non-secret key or connection label; and - what safe verification was attempted. If a credential may have been exposed, stop using it, remove the exposed copy where possible, and ask the operator to revoke or rotate it through the supported UI. Do not include the credential itself in the incident record. --- # Load every page Some lists are too large to return at once. Mochi returns one **page** of results and a **cursor** for the next page. A cursor is an opaque continuation value: use it exactly as returned and do not try to read meaning from it. ## Follow the pages 1. Make the first request without a cursor. 2. Process the returned `data`. 3. If `next_cursor` contains a value, send that exact value as the next request's `cursor`. 4. Stop when `next_cursor` is `null`. ## Parameters | Parameter | Description | | --- | --- | | `page_size` | Number of records requested. Default: `50`; maximum: `100`. | | `cursor` | Continuation value returned in the previous response. Leave it out for the first page. | Example first page: ```http GET /v1/leads/?page_size=50 ``` Example response: ```json { "data": [], "next_cursor": "opaque-value" } ``` Request the next page by passing the value unchanged: ```http GET /v1/leads/?page_size=50&cursor=opaque-value ``` Do not parse, modify, generate, or store business meaning in a cursor. Mochi may reject a changed or old cursor. Treat that as an error. Do not silently restart at page one, because that can duplicate a full export. --- # Fix an API error An HTTP **status code** is the three-digit result of a request. Start with that code. Also keep the response `X-Request-ID`, which lets Mochi support find the request without seeing its private data. | Status | What it usually means | First action | | --- | --- | --- | | `400` | A field or required header is missing or invalid. | Correct the request. Do not retry it unchanged. | | `401` | Authentication is missing, invalid, expired, or revoked. | Check the connection or secret-manager binding without printing the credential. | | `403` | The connection lacks a required scope or role. | Compare the requested action with the approved permissions. | | `404` | The resource does not exist, belongs to another organization, or is not enabled. | Check non-secret IDs and availability. Do not try nearby IDs. | | `409` | Another matching request is running, or the current state conflicts with the change. | Stop and follow the operation's idempotency guidance. | | `429` | The request rate is too high. | Wait for `Retry-After`, then retry with a limit on attempts. | | `5xx` | Mochi or a provider had a temporary failure. | Retry reads with a limit; do not guess whether a write is safe to repeat. | For a step-by-step decision path covering API keys, OAuth, MCP, conflicts, and escalation, see [Troubleshoot API requests](https://themochi.app/docs/api/troubleshooting-and-safety/diagnose-api-failures). Confirm the current response schemas in the [canonical OpenAPI contract](https://themochi.app/docs/api/openapi.json). ## Error response formats Most endpoints return this format: ```json { "message": "Validation error", "extra": { "fields": { "field_name": ["A safe validation message."] } } } ``` Some team and flow operations return a typed format: ```json { "error": { "type": "machine_readable_type", "message": "A safe error message.", "request_id": "opaque-request-id" } } ``` An integration must handle both documented formats during the initial v1 rollout. Make decisions from the HTTP status and, when present, the typed error value. Do not make decisions from human-readable wording. Error messages intentionally omit stored message text, contact values, credentials, and provider payloads. --- # Handle rate limits A **rate limit** caps how many requests an integration can make in a period. When a limit is reached, Mochi returns `429 Too Many Requests` and a `Retry-After` header. Wait at least the number of seconds in `Retry-After`. Add a small random delay when several workers share a key, so they do not all retry at once. Always limit the number of retry attempts. For a full `429` decision and safe escalation path, see [Troubleshoot API requests](https://themochi.app/docs/api/troubleshooting-and-safety/diagnose-api-failures). ## Current request limits | Budget | Limit | | --- | --- | | Read requests | 120 per minute per API key | | Write requests | 60 per minute per API key | | Organization aggregate | 60,000 requests per day | Read and write requests use separate per-key minute buckets. All keys and supported API consumers for the same organization share the organization daily budget. Do not retry `400`, `401`, `403`, or `404` responses automatically. Treat `409` according to the operation's idempotency guidance. ## Additional limits for messages Outbound messages also have recipient, messaging-window, account, and pacing rules. Staying below the API request limit does not guarantee that Mochi will accept a message. Confirm the current operation surface in the [canonical OpenAPI contract](https://themochi.app/docs/api/openapi.json). --- # Retry writes safely A **write** changes Mochi data. An **idempotency key** lets Mochi recognize a retry of the same write, so a lost response does not accidentally create the same change twice. Every public write request requires an `Idempotency-Key` header containing a UUID version 4 (UUID4): ```http Idempotency-Key: 7ec24839-9134-4f51-9ee6-1e4c9049d9d3 ``` ## Choose when to create or reuse a key - Create a new UUID4 for each new change you intend to make. - Reuse the original key only when retrying the same HTTP method, path, and intended input. - If the client times out, retry first with the original key. The first request may have completed after the client disconnected. - Never use a new key merely because the response was lost. That can create a duplicate change. Mochi keeps successful responses for 24 hours. A recognized retry returns the original status and body and includes: ```http Idempotent-Replay: true ``` The saved result is also tied to the API key, method, and path. One organization cannot replay another organization's response. If the same request is still running, Mochi may return `409`. Wait briefly and retry with the same idempotency key. Validation errors and other unsuccessful responses are not saved. Correct those requests before trying again. For a `409`, timeout, or uncertain write result, follow [Troubleshoot API requests](https://themochi.app/docs/api/troubleshooting-and-safety/diagnose-api-failures). Confirm current write operations in the [canonical OpenAPI contract](https://themochi.app/docs/api/openapi.json). --- # Test your integration safely Start with a read-only test. Receiving an API key does not approve writes, messages, automations, flows, provider connections, or live-customer tests. ## Start with a read-only test Use a dedicated key for the test organization. Give it only the approved read scopes. Verify: 1. an authenticated list request succeeds; 2. a missing or invalid key returns `401`; 3. a route outside the key's scopes returns `403`; 4. an unknown or cross-organization resource returns `404`; 5. cursor pagination terminates with `next_cursor: null`; 6. the integration records `X-Request-ID` without logging response data; and 7. the key can be revoked without affecting another integration key. Use only data the tester is already allowed to access. Do not create test contacts in a live customer organization without that organization's approval. ## Test a write only after approval Mochi must explicitly approve the organization, scope, endpoint, and test record before a write test. For each write: - use a UUID4 `Idempotency-Key`; - target a reversible, non-critical record; - retry once with the same key and verify `Idempotent-Replay: true`; - verify the change appears in Mochi; - record only the request ID, status, method, path, and timestamp; and - restore the test record through the documented API or Mochi UI when appropriate. ## Treat messages, automations, flows, and connections separately Do not test these only because they appear in the API reference. They need an approved organization, key scope, provider account, person responsible for monitoring, and rollback plan. Some operations may remain unavailable during the initial rollout. Never direct a live outbound test at an unsuspecting lead. Use an approved recipient controlled by the testing organization and agree on the expected message, time window, and rollback before sending. ## Keep a safe test record Keep a sanitized test record containing: - organization name and test owner; - key name or non-secret prefix; - granted scopes; - method and path, without sensitive query values; - UTC timestamp, HTTP status, and `X-Request-ID`; - expected and observed outcome; and - rollback or cleanup result. Never retain the full API key, authorization header, request body containing contact or message data, provider data, or full response data. --- # Get API support First follow [Troubleshoot API requests](https://themochi.app/docs/api/troubleshooting-and-safety/diagnose-api-failures). If the problem remains, contact your existing Mochi implementation or account contact. If you cannot see **Settings → Developers**, the controlled self-serve path is not available to your organization. Documentation or a direct URL cannot grant access; see [Create and manage an API key](https://themochi.app/docs/api/start-here/manage-api-keys). If you are already connected through MCP, read [Already connected through MCP?](https://themochi.app/docs/api/common-tasks/already-connected-mcp): do not export its token, and use Public API-specific authorization only when that operation needs it. ## Include this information - the organization name; - the UTC timestamp; - HTTP method and path; - response status; - response `X-Request-ID`; - the API key's name or non-secret prefix; - whether this was the first attempt or a retry using the same `Idempotency-Key`; and - a short description of the expected and observed behavior. ## Do not include private data - the API key or `Authorization` header; - message text or media; - email addresses, phone numbers, usernames, or other contact values; - provider credentials or webhook URLs; - complete request or response bodies; or - cursor values unless Mochi specifically requests one through an approved secure channel. If a key may have been exposed, stop using it and request revocation immediately. Do not wait for the API problem to be diagnosed before revoking a possibly compromised key. --- # API reference Every endpoint of the Mochi Public API, generated from the OpenAPI contract. - [Leads](https://themochi.app/docs/api/reference/leads): List leads and tag several at once. - [Lead](https://themochi.app/docs/api/reference/lead): Read one lead, update its stage, assignment, contact details and tags. - [Follow-ups](https://themochi.app/docs/api/reference/follow): Schedule a follow-up message to a lead. - [Signals](https://themochi.app/docs/api/reference/signals): Buying signals Mochi detects in conversations. - [Bookings](https://themochi.app/docs/api/reference/bookings): Calls booked through connected calendars. - [Revenue](https://themochi.app/docs/api/reference/revenue): Revenue summary, provider transactions and manual payments. - [Analytics](https://themochi.app/docs/api/reference/analytics): Funnel, team, message, reply-rate and link metrics. - [Team](https://themochi.app/docs/api/reference/team): List, invite and deactivate team members. - [Config](https://themochi.app/docs/api/reference/config): Funnels and tags configured for the organization. - [Prompts](https://themochi.app/docs/api/reference/prompt): Update the AI prompts of the organization. - [Tag prompts](https://themochi.app/docs/api/reference/tag): Update the AI prompt behind one tag. - [Send policy](https://themochi.app/docs/api/reference/send): What the organization allows integrations to send. - [Keyword automations](https://themochi.app/docs/api/reference/keyword): Create a keyword-triggered automation draft. - [Automation definitions](https://themochi.app/docs/api/reference/automation): Create, validate and update automation definitions. - [Flows](https://themochi.app/docs/api/reference/flow): List flows and start flow runs. - [Content](https://themochi.app/docs/api/reference/content): Create, update and delete content items. - [Media](https://themochi.app/docs/api/reference/media): Upload media for messages and automations. - [Links](https://themochi.app/docs/api/reference/links): Create tracked links. - [Connections](https://themochi.app/docs/api/reference/connections): List integrations and start an OAuth connection. - [Stripe](https://themochi.app/docs/api/reference/stripe): Connect or disconnect Stripe. - [Whop](https://themochi.app/docs/api/reference/whop): Connect or disconnect Whop. - [Ablefy](https://themochi.app/docs/api/reference/ablefy): Connect or disconnect Ablefy. - [Fanbasis](https://themochi.app/docs/api/reference/fanbasis): Connect or disconnect Fanbasis. - [iClosed](https://themochi.app/docs/api/reference/iclosed): Connect or disconnect iClosed. - [ElevenLabs](https://themochi.app/docs/api/reference/elevenlabs): Store an ElevenLabs credential for voice. --- # Leads List leads and tag several at once. List leads and tag several at once. ## List leads `GET /v1/leads/` Required scope: `leads:read` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `stage_key` | query | string | No | | | `stage` | query | string | No | one of `NEW`, `IN_CONTACT`, `QUALIFIED`, `UNQUALIFIED`, `BOOKED_CALL`, `DEPOSIT`, `WON`, `LOST`, `NO_SHOW` | | `tag` | query | integer | No | min 1 | | `source` | query | string | No | one of `DM`, `COMMENT`, `STORY`, `OUTBOUND` | | `setter_id` | query | integer | No | min 1 | | `closer_id` | query | integer | No | min 1 | | `is_ad_lead` | query | boolean | No | | | `archived` | query | boolean | No | | | `updated_since` | query | string (date-time) | No | | | `location` | query | string[] | No | max 50 items | | `cursor` | query | string | No | | | `page_size` | query | integer | No | min 1; max 100 | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `data` | object[] | Yes | | | `data[].ad_title` | string | No | read-only | | `data[].archived` | boolean | No | read-only | | `data[].channels` | string[] | No | read-only | | `data[].closer` | object | No | read-only | | `data[].closer.member_id` | string | No | read-only | | `data[].closer.name` | string | No | read-only | | `data[].conversation_id` | string \| null | No | read-only | | `data[].conversations` | object[] | No | read-only | | `data[].conversations[].channel` | string | No | read-only | | `data[].conversations[].id` | string | No | read-only | | `data[].created_at` | string (date-time) | No | read-only | | `data[].display_name` | string | No | read-only | | `data[].has_email` | boolean | No | read-only | | `data[].has_phone` | boolean | No | read-only | | `data[].id` | string | No | read-only | | `data[].inbox_url` | string \| null | No | read-only | | `data[].instagram_name` | string \| null | No | read-only | | `data[].instagram_username` | string \| null | No | read-only | | `data[].is_ad_lead` | boolean | No | read-only | | `data[].is_excluded` | boolean | No | read-only | | `data[].is_reachable` | boolean | No | read-only | | `data[].is_spam` | boolean | No | read-only | | `data[].location` | object \| null | No | read-only | | `data[].location.city` | string \| null | No | read-only | | `data[].location.country` | string | No | read-only | | `data[].setter` | object | No | read-only | | `data[].setter.member_id` | string | No | read-only | | `data[].setter.name` | string | No | read-only | | `data[].source` | string | No | read-only | | `data[].source_media_type` | string | No | read-only | | `data[].stage` | string \| null | No | read-only | | `data[].stage_key` | string | No | read-only | | `data[].stage_name` | string | No | read-only | | `data[].tags` | object[] | No | read-only | | `data[].tags[].applied_by` | string | No | read-only | | `data[].tags[].id` | string | No | read-only | | `data[].tags[].name` | string | No | read-only | | `data[].unlocked_at` | string (date-time) | No | read-only | | `data[].unqualification_reason` | string | No | read-only | | `data[].updated_at` | string (date-time) | No | read-only | | `next_cursor` | string \| null | Yes | | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `429` The request-rate budget is exhausted. ```bash curl -X GET "https://api.themochi.app/v1/leads/" \ -H "Authorization: Bearer $MOCHI_API_KEY" ``` ## Tag leads in bulk `POST /v1/leads/bulk/tags/` Required scope: `leads:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Request body | Field | Type | Required | Notes | | --- | --- | --- | --- | | `lead_ids` | integer[] | Yes | max 100 items | | `tag_ids` | integer[] | Yes | max 20 items | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X POST "https://api.themochi.app/v1/leads/bulk/tags/" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" \ -H "Content-Type: application/json" \ -d '{"lead_ids":[1],"tag_ids":[1]}' ``` --- # Lead Read one lead, update its stage, assignment, contact details and tags. Read one lead, update its stage, assignment, contact details and tags. ## Get lead `GET /v1/leads/{lead_id}/` Required scope: `leads:read` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `lead_id` | path | integer | Yes | | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `ad_title` | string | No | read-only | | `archived` | boolean | No | read-only | | `channels` | string[] | No | read-only | | `closer` | object | No | read-only | | `closer.member_id` | string | No | read-only | | `closer.name` | string | No | read-only | | `conversation_id` | string \| null | No | read-only | | `conversations` | object[] | No | read-only | | `conversations[].channel` | string | No | read-only | | `conversations[].id` | string | No | read-only | | `created_at` | string (date-time) | No | read-only | | `display_name` | string | No | read-only | | `has_email` | boolean | No | read-only | | `has_phone` | boolean | No | read-only | | `id` | string | No | read-only | | `inbox_url` | string \| null | No | read-only | | `instagram_name` | string \| null | No | read-only | | `instagram_username` | string \| null | No | read-only | | `is_ad_lead` | boolean | No | read-only | | `is_excluded` | boolean | No | read-only | | `is_reachable` | boolean | No | read-only | | `is_spam` | boolean | No | read-only | | `location` | object \| null | No | read-only | | `location.city` | string \| null | No | read-only | | `location.country` | string | No | read-only | | `setter` | object | No | read-only | | `setter.member_id` | string | No | read-only | | `setter.name` | string | No | read-only | | `source` | string | No | read-only | | `source_media_type` | string | No | read-only | | `stage` | string \| null | No | read-only | | `stage_key` | string | No | read-only | | `stage_name` | string | No | read-only | | `tags` | object[] | No | read-only | | `tags[].applied_by` | string | No | read-only | | `tags[].id` | string | No | read-only | | `tags[].name` | string | No | read-only | | `unlocked_at` | string (date-time) | No | read-only | | `unqualification_reason` | string | No | read-only | | `updated_at` | string (date-time) | No | read-only | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `429` The request-rate budget is exhausted. ```bash curl -X GET "https://api.themochi.app/v1/leads//" \ -H "Authorization: Bearer $MOCHI_API_KEY" ``` ## Update lead `PATCH /v1/leads/{lead_id}/` Required scope: `leads:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `lead_id` | path | integer | Yes | | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Request body | Field | Type | Required | Notes | | --- | --- | --- | --- | | `archived` | boolean | No | | | `stage` | string | No | one of `NEW`, `IN_CONTACT`, `QUALIFIED`, `UNQUALIFIED`, `BOOKED_CALL`, `DEPOSIT`, `WON`, `LOST`, `NO_SHOW` | | `stage_key` | string | No | max length 32 | | `unqualification_reason` | string | No | one of `underaged`, `time_waster`, `no_money`, `language_barrier`, `ghosted`, `unclear`, `no_reason` | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `ad_title` | string | No | read-only | | `archived` | boolean | No | read-only | | `channels` | string[] | No | read-only | | `closer` | object | No | read-only | | `closer.member_id` | string | No | read-only | | `closer.name` | string | No | read-only | | `conversation_id` | string \| null | No | read-only | | `conversations` | object[] | No | read-only | | `conversations[].channel` | string | No | read-only | | `conversations[].id` | string | No | read-only | | `created_at` | string (date-time) | No | read-only | | `display_name` | string | No | read-only | | `has_email` | boolean | No | read-only | | `has_phone` | boolean | No | read-only | | `id` | string | No | read-only | | `inbox_url` | string \| null | No | read-only | | `instagram_name` | string \| null | No | read-only | | `instagram_username` | string \| null | No | read-only | | `is_ad_lead` | boolean | No | read-only | | `is_excluded` | boolean | No | read-only | | `is_reachable` | boolean | No | read-only | | `is_spam` | boolean | No | read-only | | `location` | object \| null | No | read-only | | `location.city` | string \| null | No | read-only | | `location.country` | string | No | read-only | | `setter` | object | No | read-only | | `setter.member_id` | string | No | read-only | | `setter.name` | string | No | read-only | | `source` | string | No | read-only | | `source_media_type` | string | No | read-only | | `stage` | string \| null | No | read-only | | `stage_key` | string | No | read-only | | `stage_name` | string | No | read-only | | `tags` | object[] | No | read-only | | `tags[].applied_by` | string | No | read-only | | `tags[].id` | string | No | read-only | | `tags[].name` | string | No | read-only | | `unlocked_at` | string (date-time) | No | read-only | | `unqualification_reason` | string | No | read-only | | `updated_at` | string (date-time) | No | read-only | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X PATCH "https://api.themochi.app/v1/leads//" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" \ -H "Content-Type: application/json" \ -d '{"archived":true,"stage":"NEW","stage_key":"string","unqualification_reason":"underaged"}' ``` ## Assign a lead `PUT /v1/leads/{lead_id}/assignment/` Required scope: `leads:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `lead_id` | path | integer | Yes | | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Request body | Field | Type | Required | Notes | | --- | --- | --- | --- | | `closer_id` | integer \| null | No | | | `setter_id` | integer \| null | No | | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `ad_title` | string | No | read-only | | `archived` | boolean | No | read-only | | `channels` | string[] | No | read-only | | `closer` | object | No | read-only | | `closer.member_id` | string | No | read-only | | `closer.name` | string | No | read-only | | `conversation_id` | string \| null | No | read-only | | `conversations` | object[] | No | read-only | | `conversations[].channel` | string | No | read-only | | `conversations[].id` | string | No | read-only | | `created_at` | string (date-time) | No | read-only | | `display_name` | string | No | read-only | | `has_email` | boolean | No | read-only | | `has_phone` | boolean | No | read-only | | `id` | string | No | read-only | | `inbox_url` | string \| null | No | read-only | | `instagram_name` | string \| null | No | read-only | | `instagram_username` | string \| null | No | read-only | | `is_ad_lead` | boolean | No | read-only | | `is_excluded` | boolean | No | read-only | | `is_reachable` | boolean | No | read-only | | `is_spam` | boolean | No | read-only | | `location` | object \| null | No | read-only | | `location.city` | string \| null | No | read-only | | `location.country` | string | No | read-only | | `setter` | object | No | read-only | | `setter.member_id` | string | No | read-only | | `setter.name` | string | No | read-only | | `source` | string | No | read-only | | `source_media_type` | string | No | read-only | | `stage` | string \| null | No | read-only | | `stage_key` | string | No | read-only | | `stage_name` | string | No | read-only | | `tags` | object[] | No | read-only | | `tags[].applied_by` | string | No | read-only | | `tags[].id` | string | No | read-only | | `tags[].name` | string | No | read-only | | `unlocked_at` | string (date-time) | No | read-only | | `unqualification_reason` | string | No | read-only | | `updated_at` | string (date-time) | No | read-only | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X PUT "https://api.themochi.app/v1/leads//assignment/" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" \ -H "Content-Type: application/json" \ -d '{"closer_id":1,"setter_id":1}' ``` ## Update lead contact `PATCH /v1/leads/{lead_id}/contact/` Required scope: `leads:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `lead_id` | path | integer | Yes | | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Request body | Field | Type | Required | Notes | | --- | --- | --- | --- | | `email` | string (email) | No | max length 254 | | `overwrite` | boolean | No | | | `phone_number` | string | No | max length 255 | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `ad_title` | string | No | read-only | | `archived` | boolean | No | read-only | | `channels` | string[] | No | read-only | | `closer` | object | No | read-only | | `closer.member_id` | string | No | read-only | | `closer.name` | string | No | read-only | | `conversation_id` | string \| null | No | read-only | | `conversations` | object[] | No | read-only | | `conversations[].channel` | string | No | read-only | | `conversations[].id` | string | No | read-only | | `created_at` | string (date-time) | No | read-only | | `display_name` | string | No | read-only | | `has_email` | boolean | No | read-only | | `has_phone` | boolean | No | read-only | | `id` | string | No | read-only | | `inbox_url` | string \| null | No | read-only | | `instagram_name` | string \| null | No | read-only | | `instagram_username` | string \| null | No | read-only | | `is_ad_lead` | boolean | No | read-only | | `is_excluded` | boolean | No | read-only | | `is_reachable` | boolean | No | read-only | | `is_spam` | boolean | No | read-only | | `location` | object \| null | No | read-only | | `location.city` | string \| null | No | read-only | | `location.country` | string | No | read-only | | `setter` | object | No | read-only | | `setter.member_id` | string | No | read-only | | `setter.name` | string | No | read-only | | `source` | string | No | read-only | | `source_media_type` | string | No | read-only | | `stage` | string \| null | No | read-only | | `stage_key` | string | No | read-only | | `stage_name` | string | No | read-only | | `tags` | object[] | No | read-only | | `tags[].applied_by` | string | No | read-only | | `tags[].id` | string | No | read-only | | `tags[].name` | string | No | read-only | | `unlocked_at` | string (date-time) | No | read-only | | `unqualification_reason` | string | No | read-only | | `updated_at` | string (date-time) | No | read-only | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X PATCH "https://api.themochi.app/v1/leads//contact/" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" \ -H "Content-Type: application/json" \ -d '{"email":"string","overwrite":true,"phone_number":"string"}' ``` ## Get lead intelligence `GET /v1/leads/{lead_id}/intelligence/` Required scope: `leads:read`, `signals:read` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `lead_id` | path | integer | Yes | | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `ai_mode` | object | No | read-only | | `ai_mode.enabled` | boolean | No | read-only | | `ai_mode.status` | string | No | read-only | | `conversation_stage` | object | No | read-only | | `conversation_stage.entered_at` | string (date-time) | No | read-only | | `conversation_stage.value` | string | No | read-only | | `engagement` | object | No | read-only | | `engagement.avg_score` | number | No | read-only | | `engagement.computed_at` | string (date-time) | No | read-only | | `engagement.max_score` | number | No | read-only | | `engagement.question_count` | integer | No | read-only | | `engagement.trend` | string | No | read-only | | `last_lead_message_at` | string (date-time) | No | read-only | | `last_org_message_at` | string (date-time) | No | read-only | | `objection` | object | No | read-only | | `objection.present` | boolean | No | read-only | | `objection.type` | string | No | read-only | | `outcome` | object | No | read-only | | `outcome.computed_at` | string (date-time) | No | read-only | | `outcome.confidence` | number | No | read-only | | `outcome.value` | string | No | read-only | | `sentiment` | object | No | read-only | | `sentiment.computed_at` | string (date-time) | No | read-only | | `sentiment.confidence` | number | No | read-only | | `sentiment.value` | string | No | read-only | | `window` | object | No | read-only | | `window.expires_at` | string (date-time) | No | read-only | | `window.status` | string | No | read-only | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `429` The request-rate budget is exhausted. ```bash curl -X GET "https://api.themochi.app/v1/leads//intelligence/" \ -H "Authorization: Bearer $MOCHI_API_KEY" ``` ## Get lead signals `GET /v1/leads/{lead_id}/signals/` Required scope: `signals:read` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `lead_id` | path | integer | Yes | | | `signal_type` | query | string | No | one of `BOOKING_LINK`, `PAYMENT_LINK`, `QUALIFIER_LINK`, `NURTURE_LINK`, `CALL_CONFIRMED`, `PRICE_DISCUSSED`, `OBJECTION_RAISED`, `OBJECTION_OVERCOME`, `HIGH_ENGAGEMENT`, `WENT_COLD`, `GHOSTED`, `SCHEDULING_PROPOSED`, `SCHEDULING_CONFIRMED`, `CONTACT_EXCHANGED` | | `lead_id` | query | integer | No | min 1 | | `detected_since` | query | string (date-time) | No | | | `updated_since` | query | string (date-time) | No | | | `min_confidence` | query | number | No | min 0; max 1 | | `cursor` | query | string | No | | | `page_size` | query | integer | No | min 1; max 100 | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `data` | object[] | Yes | | | `data[].confidence` | number | No | read-only | | `data[].detected_at` | string (date-time) | No | read-only | | `data[].id` | string | No | read-only | | `data[].lead_id` | string | No | read-only | | `data[].signal_type` | string | No | read-only | | `next_cursor` | string \| null | Yes | | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `429` The request-rate budget is exhausted. ```bash curl -X GET "https://api.themochi.app/v1/leads//signals/" \ -H "Authorization: Bearer $MOCHI_API_KEY" ``` ## Add tags to a lead `POST /v1/leads/{lead_id}/tags/` Required scope: `leads:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `lead_id` | path | integer | Yes | | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Request body | Field | Type | Required | Notes | | --- | --- | --- | --- | | `tag_id` | integer | Yes | | ### Response (201) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `ad_title` | string | No | read-only | | `archived` | boolean | No | read-only | | `channels` | string[] | No | read-only | | `closer` | object | No | read-only | | `closer.member_id` | string | No | read-only | | `closer.name` | string | No | read-only | | `conversation_id` | string \| null | No | read-only | | `conversations` | object[] | No | read-only | | `conversations[].channel` | string | No | read-only | | `conversations[].id` | string | No | read-only | | `created_at` | string (date-time) | No | read-only | | `display_name` | string | No | read-only | | `has_email` | boolean | No | read-only | | `has_phone` | boolean | No | read-only | | `id` | string | No | read-only | | `inbox_url` | string \| null | No | read-only | | `instagram_name` | string \| null | No | read-only | | `instagram_username` | string \| null | No | read-only | | `is_ad_lead` | boolean | No | read-only | | `is_excluded` | boolean | No | read-only | | `is_reachable` | boolean | No | read-only | | `is_spam` | boolean | No | read-only | | `location` | object \| null | No | read-only | | `location.city` | string \| null | No | read-only | | `location.country` | string | No | read-only | | `setter` | object | No | read-only | | `setter.member_id` | string | No | read-only | | `setter.name` | string | No | read-only | | `source` | string | No | read-only | | `source_media_type` | string | No | read-only | | `stage` | string \| null | No | read-only | | `stage_key` | string | No | read-only | | `stage_name` | string | No | read-only | | `tags` | object[] | No | read-only | | `tags[].applied_by` | string | No | read-only | | `tags[].id` | string | No | read-only | | `tags[].name` | string | No | read-only | | `unlocked_at` | string (date-time) | No | read-only | | `unqualification_reason` | string | No | read-only | | `updated_at` | string (date-time) | No | read-only | ### Responses - `201` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X POST "https://api.themochi.app/v1/leads//tags/" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" \ -H "Content-Type: application/json" \ -d '{"tag_id":1}' ``` ## Remove a tag from a lead `DELETE /v1/leads/{lead_id}/tags/{tag_id}/` Required scope: `leads:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `lead_id` | path | integer | Yes | | | `tag_id` | path | integer | Yes | | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Request body | Field | Type | Required | Notes | | --- | --- | --- | --- | | `suppress` | boolean | No | | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `ad_title` | string | No | read-only | | `archived` | boolean | No | read-only | | `channels` | string[] | No | read-only | | `closer` | object | No | read-only | | `closer.member_id` | string | No | read-only | | `closer.name` | string | No | read-only | | `conversation_id` | string \| null | No | read-only | | `conversations` | object[] | No | read-only | | `conversations[].channel` | string | No | read-only | | `conversations[].id` | string | No | read-only | | `created_at` | string (date-time) | No | read-only | | `display_name` | string | No | read-only | | `has_email` | boolean | No | read-only | | `has_phone` | boolean | No | read-only | | `id` | string | No | read-only | | `inbox_url` | string \| null | No | read-only | | `instagram_name` | string \| null | No | read-only | | `instagram_username` | string \| null | No | read-only | | `is_ad_lead` | boolean | No | read-only | | `is_excluded` | boolean | No | read-only | | `is_reachable` | boolean | No | read-only | | `is_spam` | boolean | No | read-only | | `location` | object \| null | No | read-only | | `location.city` | string \| null | No | read-only | | `location.country` | string | No | read-only | | `setter` | object | No | read-only | | `setter.member_id` | string | No | read-only | | `setter.name` | string | No | read-only | | `source` | string | No | read-only | | `source_media_type` | string | No | read-only | | `stage` | string \| null | No | read-only | | `stage_key` | string | No | read-only | | `stage_name` | string | No | read-only | | `tags` | object[] | No | read-only | | `tags[].applied_by` | string | No | read-only | | `tags[].id` | string | No | read-only | | `tags[].name` | string | No | read-only | | `unlocked_at` | string (date-time) | No | read-only | | `unqualification_reason` | string | No | read-only | | `updated_at` | string (date-time) | No | read-only | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X DELETE "https://api.themochi.app/v1/leads//tags//" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" \ -H "Content-Type: application/json" \ -d '{"suppress":true}' ``` --- # Follow-ups Schedule a follow-up message to a lead. Schedule a follow-up message to a lead. ## Schedule a follow-up `POST /v1/leads/{lead_id}/follow-ups/` Required scope: `messages:send` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `lead_id` | path | integer | Yes | | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Request body | Field | Type | Required | Notes | | --- | --- | --- | --- | | `cancel_on_reply` | boolean | No | | | `file_id` | string (uuid) | No | | | `send_at` | string (date-time) | Yes | | | `text` | string | No | max length 1000 | ### Response (201) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `file_id` | string | No | read-only | | `id` | string | No | read-only | | `is_human_initiated` | boolean | No | read-only | | `lead_id` | string | No | read-only | | `media_type` | string | No | read-only | | `send_at` | string (date-time) | No | read-only | | `send_origin` | string | No | read-only | | `skip_if_replied` | boolean | No | read-only | | `status` | string | No | read-only | ### Responses - `201` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X POST "https://api.themochi.app/v1/leads//follow-ups/" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" \ -H "Content-Type: application/json" \ -d '{"send_at":"2026-01-01T00:00:00Z"}' ``` --- # Signals Buying signals Mochi detects in conversations. Buying signals Mochi detects in conversations. ## List signals `GET /v1/signals/` Required scope: `signals:read` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `signal_type` | query | string | No | one of `BOOKING_LINK`, `PAYMENT_LINK`, `QUALIFIER_LINK`, `NURTURE_LINK`, `CALL_CONFIRMED`, `PRICE_DISCUSSED`, `OBJECTION_RAISED`, `OBJECTION_OVERCOME`, `HIGH_ENGAGEMENT`, `WENT_COLD`, `GHOSTED`, `SCHEDULING_PROPOSED`, `SCHEDULING_CONFIRMED`, `CONTACT_EXCHANGED` | | `lead_id` | query | integer | No | min 1 | | `detected_since` | query | string (date-time) | No | | | `updated_since` | query | string (date-time) | No | | | `min_confidence` | query | number | No | min 0; max 1 | | `cursor` | query | string | No | | | `page_size` | query | integer | No | min 1; max 100 | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `data` | object[] | Yes | | | `data[].confidence` | number | No | read-only | | `data[].detected_at` | string (date-time) | No | read-only | | `data[].id` | string | No | read-only | | `data[].lead_id` | string | No | read-only | | `data[].signal_type` | string | No | read-only | | `next_cursor` | string \| null | Yes | | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `429` The request-rate budget is exhausted. ```bash curl -X GET "https://api.themochi.app/v1/signals/" \ -H "Authorization: Bearer $MOCHI_API_KEY" ``` --- # Bookings Calls booked through connected calendars. Calls booked through connected calendars. ## List bookings `GET /v1/bookings/` Required scope: `bookings:read` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `status` | query | string | No | one of `SCHEDULED`, `COMPLETED`, `CANCELLED` | | `source` | query | string | No | one of `CALENDLY`, `ICLOSED`, `GOHIGHLEVEL`, `ONCEHUB`, `MANUAL` | | `lead_id` | query | integer | No | min 1 | | `start_from` | query | string (date-time) | No | | | `start_to` | query | string (date-time) | No | | | `updated_since` | query | string (date-time) | No | | | `cursor` | query | string | No | | | `page_size` | query | integer | No | min 1; max 100 | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `data` | object[] | Yes | | | `data[].canceler_type` | string | No | read-only | | `data[].cancelled_at` | string (date-time) | No | read-only | | `data[].created_at` | string (date-time) | No | read-only | | `data[].end` | string (date-time) | No | read-only | | `data[].id` | string | No | read-only | | `data[].lead_id` | string | No | read-only | | `data[].setter` | object | No | read-only | | `data[].setter.member_id` | string | No | read-only | | `data[].setter.name` | string | No | read-only | | `data[].source` | string | No | read-only | | `data[].start` | string (date-time) | No | read-only | | `data[].status` | string | No | read-only | | `data[].updated_at` | string (date-time) | No | read-only | | `next_cursor` | string \| null | Yes | | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `429` The request-rate budget is exhausted. ```bash curl -X GET "https://api.themochi.app/v1/bookings/" \ -H "Authorization: Bearer $MOCHI_API_KEY" ``` --- # Revenue Revenue summary, provider transactions and manual payments. Revenue summary, provider transactions and manual payments. ## Get revenue manual `GET /v1/revenue/manual/` Required scope: `revenue:read` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `date_from` | query | string (date) | No | | | `date_to` | query | string (date) | No | | | `updated_since` | query | string (date-time) | No | | | `cursor` | query | string | No | | | `page_size` | query | integer | No | min 1; max 100 | | `status` | query | string | No | one of `PENDING`, `PROCESSING`, `COMPLETE`, `CANCELLED` | | `payment_type` | query | string | No | one of `FULL`, `DEPOSIT`, `INSTALLMENT` | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `data` | object[] | Yes | | | `data[].amount` | integer | No | read-only | | `data[].due_at` | string (date-time) | No | read-only | | `data[].id` | string | No | read-only | | `data[].installment_counter` | string | No | read-only | | `data[].lead_id` | string | No | read-only | | `data[].paid_at` | string (date-time) | No | read-only | | `data[].payment_type` | string | No | read-only | | `data[].status` | string | No | read-only | | `next_cursor` | string \| null | Yes | | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `429` The request-rate budget is exhausted. ```bash curl -X GET "https://api.themochi.app/v1/revenue/manual/" \ -H "Authorization: Bearer $MOCHI_API_KEY" ``` ## Get revenue summary `GET /v1/revenue/summary/` Required scope: `revenue:read` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `date_from` | query | string (date) | Yes | | | `date_to` | query | string (date) | Yes | | | `source` | query | string | No | one of `transactions`, `manual` | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `computed_at` | string (date-time) | No | read-only | | `metrics` | object | No | read-only | | `metrics.amount` | integer | No | read-only | | `metrics.by_payment_type` | object[] | No | read-only | | `metrics.by_payment_type[].amount` | integer | No | read-only | | `metrics.by_payment_type[].count` | integer | No | read-only | | `metrics.by_payment_type[].payment_type` | string | No | read-only | | `metrics.by_product` | object[] | No | read-only | | `metrics.by_product[].amount` | integer | No | read-only | | `metrics.by_product[].count` | integer | No | read-only | | `metrics.by_product[].fee` | integer | No | read-only | | `metrics.by_product[].net` | integer | No | read-only | | `metrics.by_product[].product_name` | string | No | read-only | | `metrics.by_provider` | object[] | No | read-only | | `metrics.by_provider[].amount` | integer | No | read-only | | `metrics.by_provider[].count` | integer | No | read-only | | `metrics.by_provider[].fee` | integer | No | read-only | | `metrics.by_provider[].net` | integer | No | read-only | | `metrics.by_provider[].provider` | string | No | read-only | | `metrics.by_status` | object[] | No | read-only | | `metrics.by_status[].amount` | integer | No | read-only | | `metrics.by_status[].count` | integer | No | read-only | | `metrics.by_status[].status` | string | No | read-only | | `metrics.conversion` | object | No | read-only | | `metrics.conversion.pending` | boolean | No | read-only | | `metrics.conversion.unconverted_count` | integer | No | read-only | | `metrics.currency` | string | No | read-only | | `metrics.fee` | integer \| null | No | read-only | | `metrics.net` | integer \| null | No | read-only | | `metrics.source` | string | No | read-only | | `period` | object | No | read-only | | `period.end` | string (date) | No | read-only | | `period.start` | string (date) | No | read-only | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `429` The request-rate budget is exhausted. ```bash curl -X GET "https://api.themochi.app/v1/revenue/summary/" \ -H "Authorization: Bearer $MOCHI_API_KEY" ``` ## Get revenue transactions `GET /v1/revenue/transactions/` Required scope: `revenue:read` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `date_from` | query | string (date) | No | | | `date_to` | query | string (date) | No | | | `updated_since` | query | string (date-time) | No | | | `cursor` | query | string | No | | | `page_size` | query | integer | No | min 1; max 100 | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `data` | object[] | Yes | | | `data[].amount` | integer | No | read-only | | `data[].currency` | string | No | read-only | | `data[].fee` | integer | No | read-only | | `data[].id` | string | No | read-only | | `data[].kind` | string | No | read-only | | `data[].lead_id` | string | No | read-only | | `data[].net` | integer | No | read-only | | `data[].occurred_at` | string (date-time) | No | read-only | | `data[].product_name` | string | No | read-only | | `data[].provider` | string | No | read-only | | `data[].status` | string | No | read-only | | `next_cursor` | string \| null | Yes | | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `429` The request-rate budget is exhausted. ```bash curl -X GET "https://api.themochi.app/v1/revenue/transactions/" \ -H "Authorization: Bearer $MOCHI_API_KEY" ``` --- # Analytics Funnel, team, message, reply-rate and link metrics. Funnel, team, message, reply-rate and link metrics. ## Get analytics benchmarks `GET /v1/analytics/benchmarks/` Required scope: `analytics:read` ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `computed_at` | string (date-time) | No | read-only | | `metrics` | object | No | read-only | | `metrics.benchmarks` | object[] | No | read-only | | `metrics.benchmarks[].metric` | string | No | read-only | | `metrics.benchmarks[].p25` | number | No | read-only | | `metrics.benchmarks[].p50` | number | No | read-only | | `metrics.benchmarks[].p75` | number | No | read-only | | `metrics.benchmarks[].p90` | number | No | read-only | | `metrics.benchmarks[].period` | string | No | read-only | | `metrics.benchmarks[].sample_size` | integer | No | read-only | | `metrics.benchmarks[].value` | number | No | read-only | | `period` | object | No | read-only | | `period.end` | string (date) | No | read-only | | `period.start` | string (date) | No | read-only | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `429` The request-rate budget is exhausted. ```bash curl -X GET "https://api.themochi.app/v1/analytics/benchmarks/" \ -H "Authorization: Bearer $MOCHI_API_KEY" ``` ## Get analytics funnel `GET /v1/analytics/funnel/` Required scope: `analytics:read` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `date_from` | query | string (date) | Yes | | | `date_to` | query | string (date) | Yes | | | `member_id` | query | integer | No | min 1 | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `computed_at` | string (date-time) | No | read-only | | `metrics` | object | No | read-only | | `metrics.cohort_conversion` | object | No | read-only | | `metrics.cohort_conversion.cohort` | string | No | read-only | | `metrics.cohort_conversion.cohort_size` | integer | No | read-only | | `metrics.cohort_conversion.note` | string | No | read-only | | `metrics.cohort_conversion.rates` | object | No | read-only | | `metrics.cohort_conversion.rates.booked_to_won` | object | No | read-only | | `metrics.cohort_conversion.rates.booked_to_won.denominator` | integer | No | read-only | | `metrics.cohort_conversion.rates.booked_to_won.numerator` | integer | No | read-only | | `metrics.cohort_conversion.rates.booked_to_won.value` | number | No | read-only | | `metrics.cohort_conversion.rates.new_to_booked` | object | No | read-only | | `metrics.cohort_conversion.rates.new_to_booked.denominator` | integer | No | read-only | | `metrics.cohort_conversion.rates.new_to_booked.numerator` | integer | No | read-only | | `metrics.cohort_conversion.rates.new_to_booked.value` | number | No | read-only | | `metrics.cohort_conversion.rates.new_to_qualified` | object | No | read-only | | `metrics.cohort_conversion.rates.new_to_qualified.denominator` | integer | No | read-only | | `metrics.cohort_conversion.rates.new_to_qualified.numerator` | integer | No | read-only | | `metrics.cohort_conversion.rates.new_to_qualified.value` | number | No | read-only | | `metrics.cohort_conversion.rates.new_to_won` | object | No | read-only | | `metrics.cohort_conversion.rates.new_to_won.denominator` | integer | No | read-only | | `metrics.cohort_conversion.rates.new_to_won.numerator` | integer | No | read-only | | `metrics.cohort_conversion.rates.new_to_won.value` | number | No | read-only | | `metrics.cohort_conversion.rates.qualified_to_booked` | object | No | read-only | | `metrics.cohort_conversion.rates.qualified_to_booked.denominator` | integer | No | read-only | | `metrics.cohort_conversion.rates.qualified_to_booked.numerator` | integer | No | read-only | | `metrics.cohort_conversion.rates.qualified_to_booked.value` | number | No | read-only | | `metrics.cohort_conversion.reached_booked` | integer | No | read-only | | `metrics.cohort_conversion.reached_qualified` | integer | No | read-only | | `metrics.cohort_conversion.reached_won` | integer | No | read-only | | `metrics.stage_counts` | object | No | read-only | | `metrics.stage_counts.BOOKED_CALL` | integer | No | read-only | | `metrics.stage_counts.DEPOSIT_LEAD` | integer | No | read-only | | `metrics.stage_counts.IN_CONTACT` | integer | No | read-only | | `metrics.stage_counts.NEW_LEAD` | integer | No | read-only | | `metrics.stage_counts.NO_SHOW` | integer | No | read-only | | `metrics.stage_counts.QUALIFIED` | integer | No | read-only | | `metrics.stage_counts.UNQUALIFIED` | integer | No | read-only | | `metrics.stage_counts.WON` | integer | No | read-only | | `metrics.stages` | object[] | No | read-only | | `metrics.stages[].current_lead_count` | integer | No | read-only | | `metrics.stages[].key` | string | No | read-only | | `metrics.stages[].lead_count` | integer | No | read-only | | `metrics.stages[].name` | string | No | read-only | | `metrics.stages[].retired` | boolean | No | read-only | | `period` | object | No | read-only | | `period.end` | string (date) | No | read-only | | `period.start` | string (date) | No | read-only | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `429` The request-rate budget is exhausted. ```bash curl -X GET "https://api.themochi.app/v1/analytics/funnel/" \ -H "Authorization: Bearer $MOCHI_API_KEY" ``` ## Get analytics links `GET /v1/analytics/links/` Required scope: `analytics:read` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `date_from` | query | string (date) | Yes | | | `date_to` | query | string (date) | Yes | | | `member_id` | query | integer | No | min 1 | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `computed_at` | string (date-time) | No | read-only | | `metrics` | object | No | read-only | | `metrics.links` | object[] | No | read-only | | `metrics.links[].avg_latency_seconds` | number | No | read-only | | `metrics.links[].clicks` | integer | No | read-only | | `metrics.links[].conversions` | object | No | read-only | | `metrics.links[].conversions.bookings` | integer | No | read-only | | `metrics.links[].conversions.won` | integer | No | read-only | | `metrics.links[].link_id` | string | No | read-only | | `metrics.links[].name` | string | No | read-only | | `metrics.links[].reputation` | string | No | read-only | | `metrics.links[].sends` | integer | No | read-only | | `period` | object | No | read-only | | `period.end` | string (date) | No | read-only | | `period.start` | string (date) | No | read-only | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `429` The request-rate budget is exhausted. ```bash curl -X GET "https://api.themochi.app/v1/analytics/links/" \ -H "Authorization: Bearer $MOCHI_API_KEY" ``` ## Get analytics messages `GET /v1/analytics/messages/` Required scope: `analytics:read` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `date_from` | query | string (date) | Yes | | | `date_to` | query | string (date) | Yes | | | `member_id` | query | integer | No | min 1 | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `computed_at` | string (date-time) | No | read-only | | `metrics` | object | No | read-only | | `metrics.inbound` | integer | No | read-only | | `metrics.outbound` | integer | No | read-only | | `metrics.sent_via_mochi` | integer | No | read-only | | `period` | object | No | read-only | | `period.end` | string (date) | No | read-only | | `period.start` | string (date) | No | read-only | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `429` The request-rate budget is exhausted. ```bash curl -X GET "https://api.themochi.app/v1/analytics/messages/" \ -H "Authorization: Bearer $MOCHI_API_KEY" ``` ## Get analytics reply rate `GET /v1/analytics/reply-rate/` Required scope: `analytics:read` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `date_from` | query | string (date) | Yes | | | `date_to` | query | string (date) | Yes | | | `member_id` | query | integer | No | min 1 | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `computed_at` | string (date-time) | No | read-only | | `definition` | string | No | read-only | | `members` | object[] | No | read-only | | `members[].member_id` | string | No | read-only | | `members[].name` | string | No | read-only | | `members[].replies_received` | integer | No | read-only | | `members[].reply_rate` | number | No | read-only | | `members[].total_messages` | integer | No | read-only | | `metrics` | object | No | read-only | | `metrics.messages_with_reply` | integer | No | read-only | | `metrics.reply_rate` | number | No | read-only | | `metrics.total_outbound_messages` | integer | No | read-only | | `period` | object | No | read-only | | `period.end` | string (date) | No | read-only | | `period.start` | string (date) | No | read-only | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `429` The request-rate budget is exhausted. ```bash curl -X GET "https://api.themochi.app/v1/analytics/reply-rate/" \ -H "Authorization: Bearer $MOCHI_API_KEY" ``` ## Get analytics response times `GET /v1/analytics/response-times/` Required scope: `analytics:read` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `date_from` | query | string (date) | Yes | | | `date_to` | query | string (date) | Yes | | | `member_id` | query | integer | No | min 1 | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `computed_at` | string (date-time) | No | read-only | | `metrics` | object | No | read-only | | `metrics.median_seconds` | number | No | read-only | | `metrics.p25_seconds` | number | No | read-only | | `metrics.p75_seconds` | number | No | read-only | | `metrics.p90_seconds` | number | No | read-only | | `metrics.sample_size` | integer | No | read-only | | `period` | object | No | read-only | | `period.end` | string (date) | No | read-only | | `period.start` | string (date) | No | read-only | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `429` The request-rate budget is exhausted. ```bash curl -X GET "https://api.themochi.app/v1/analytics/response-times/" \ -H "Authorization: Bearer $MOCHI_API_KEY" ``` ## Get analytics team `GET /v1/analytics/team/` Required scope: `analytics:read` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `date_from` | query | string (date) | Yes | | | `date_to` | query | string (date) | Yes | | | `member_id` | query | integer | No | min 1 | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `computed_at` | string (date-time) | No | read-only | | `metrics` | object | No | read-only | | `metrics.members` | object[] | No | read-only | | `metrics.members[].bookings` | integer | No | read-only | | `metrics.members[].leads_assigned` | integer | No | read-only | | `metrics.members[].member_id` | string | No | read-only | | `metrics.members[].name` | string | No | read-only | | `metrics.members[].reply_rate` | number | No | read-only | | `metrics.members[].response_time_median` | number | No | read-only | | `metrics.members[].stage_transitions` | object | No | read-only | | `metrics.members[].stage_transitions.booked_call` | integer | No | read-only | | `metrics.members[].stage_transitions.in_contact` | integer | No | read-only | | `metrics.members[].stage_transitions.new_leads` | integer | No | read-only | | `metrics.members[].stage_transitions.qualified` | integer | No | read-only | | `metrics.members[].stage_transitions.won` | integer | No | read-only | | `period` | object | No | read-only | | `period.end` | string (date) | No | read-only | | `period.start` | string (date) | No | read-only | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `429` The request-rate budget is exhausted. ```bash curl -X GET "https://api.themochi.app/v1/analytics/team/" \ -H "Authorization: Bearer $MOCHI_API_KEY" ``` --- # Team List, invite and deactivate team members. List, invite and deactivate team members. ## Invite team member `POST /v1/team/invites/` Required scope: `team:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Request body | Field | Type | Required | Notes | | --- | --- | --- | --- | | `email` | string (email) | Yes | max length 254 | | `member_type` | string | Yes | one of `SETTER`, `CLOSER`, `MANAGER`, `FINANCE`, `ASSISTANT` | ### Response (201) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `member_id` | string | No | read-only | | `status` | string | No | read-only | ### Responses - `201` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X POST "https://api.themochi.app/v1/team/invites/" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" \ -H "Content-Type: application/json" \ -d '{"email":"string","member_type":"SETTER"}' ``` ## List team members `GET /v1/team/members/` Required scope: `team:read` ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `data` | object[] | Yes | | | `data[].accepted_at` | string (date-time) \| null | No | read-only | | `data[].email` | string | No | read-only | | `data[].first_name` | string | No | read-only | | `data[].is_active` | boolean | No | read-only | | `data[].language` | string | No | read-only | | `data[].last_name` | string | No | read-only | | `data[].member_id` | string | No | read-only | | `data[].member_type` | string | No | read-only | | `next_cursor` | string \| null | Yes | | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `429` The request-rate budget is exhausted. ```bash curl -X GET "https://api.themochi.app/v1/team/members/" \ -H "Authorization: Bearer $MOCHI_API_KEY" ``` ## Deactivate team member `POST /v1/team/members/{member_id}/deactivate/` Required scope: `team:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `member_id` | path | integer | Yes | | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Response (201) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `member_id` | string | No | read-only | | `status` | string | No | read-only | ### Responses - `201` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X POST "https://api.themochi.app/v1/team/members//deactivate/" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" ``` --- # Config Funnels and tags configured for the organization. Funnels and tags configured for the organization. ## Get config funnels `GET /v1/config/funnels/` Required scope: `config:read` ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `data` | object[] | Yes | | | `data[].id` | string | No | read-only | | `data[].name` | string | No | read-only | | `data[].stages` | object[] | No | read-only | | `data[].stages[].id` | string | No | read-only | | `data[].stages[].name` | string | No | read-only | | `data[].stages[].order` | integer | No | read-only | | `next_cursor` | string \| null | Yes | | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `429` The request-rate budget is exhausted. ```bash curl -X GET "https://api.themochi.app/v1/config/funnels/" \ -H "Authorization: Bearer $MOCHI_API_KEY" ``` ## Get config tags `GET /v1/config/tags/` Required scope: `config:read` ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `data` | object[] | Yes | | | `data[].ai_prompt` | string | No | read-only | | `data[].category` | string | No | read-only | | `data[].id` | string | No | read-only | | `data[].is_ai` | boolean | No | read-only | | `data[].name` | string | No | read-only | | `next_cursor` | string \| null | Yes | | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `429` The request-rate budget is exhausted. ```bash curl -X GET "https://api.themochi.app/v1/config/tags/" \ -H "Authorization: Bearer $MOCHI_API_KEY" ``` --- # Prompts Update the AI prompts of the organization. Update the AI prompts of the organization. ## Update prompt `PUT /v1/config/prompts/{prompt_kind}/` Required scope: `config:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `prompt_kind` | path | string | Yes | | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Request body | Field | Type | Required | Notes | | --- | --- | --- | --- | | `prompt` | string | Yes | max length 10000 | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `kind` | string | No | read-only | | `prompt` | string | No | read-only | | `prompt_hash` | string | No | read-only | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X PUT "https://api.themochi.app/v1/config/prompts//" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" \ -H "Content-Type: application/json" \ -d '{"prompt":"string"}' ``` --- # Tag prompts Update the AI prompt behind one tag. Update the AI prompt behind one tag. ## Update tag prompt `PUT /v1/config/prompts/tags/{tag_id}/` Required scope: `config:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `tag_id` | path | integer | Yes | | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Request body | Field | Type | Required | Notes | | --- | --- | --- | --- | | `prompt` | string | Yes | max length 10000 | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `kind` | string | No | read-only | | `prompt` | string | No | read-only | | `prompt_hash` | string | No | read-only | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X PUT "https://api.themochi.app/v1/config/prompts/tags//" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" \ -H "Content-Type: application/json" \ -d '{"prompt":"string"}' ``` --- # Send policy What the organization allows integrations to send. What the organization allows integrations to send. ## Get send policy `GET /v1/send-policy/` Required scope: `config:read` ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `data` | object | Yes | | | `data.channels` | object[] | No | read-only | | `data.channels[].account_decision` | object | No | read-only | | `data.channels[].account_decision.reason` | string | No | read-only | | `data.channels[].account_decision.status` | string | No | read-only | | `data.channels[].burst` | object | No | read-only | | `data.channels[].burst.limit` | integer | No | read-only | | `data.channels[].burst.remaining` | integer | No | read-only | | `data.channels[].burst.reset_at` | string (date-time) | No | read-only | | `data.channels[].burst.used` | integer | No | read-only | | `data.channels[].channel` | string | No | read-only | | `data.channels[].hourly` | object | No | read-only | | `data.channels[].hourly.limit` | integer | No | read-only | | `data.channels[].hourly.remaining` | integer | No | read-only | | `data.channels[].hourly.reset_at` | string (date-time) | No | read-only | | `data.channels[].hourly.used` | integer | No | read-only | | `data.channels[].recipient` | object | No | read-only | | `data.channels[].recipient.availability` | string | No | read-only | | `data.channels[].recipient.daily_limit` | integer | No | read-only | | `data.channels[].recipient.hourly_limit` | integer | No | read-only | | `data.computed_at` | string (date-time) | No | read-only | | `data.decisions` | object | No | read-only | | `data.decisions.would_accept` | integer | No | read-only | | `data.decisions.would_reject` | integer | No | read-only | | `data.mode` | string | No | read-only | | `data.sources` | object[] | No | read-only | | `data.sources[].count` | integer | No | read-only | | `data.sources[].source` | string | No | read-only | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `429` The request-rate budget is exhausted. ```bash curl -X GET "https://api.themochi.app/v1/send-policy/" \ -H "Authorization: Bearer $MOCHI_API_KEY" ``` --- # Keyword automations Create a keyword-triggered automation draft. Create a keyword-triggered automation draft. ## Create keyword automation `POST /v1/automations/keyword/` Required scope: `automations:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Request body | Field | Type | Required | Notes | | --- | --- | --- | --- | | `active_hours` | object \| null | No | | | `active_hours.windows` | object[] | Yes | max 14 items | | `active_hours.windows[].day` | string | Yes | one of `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY` | | `active_hours.windows[].end` | string | Yes | max length 5 | | `active_hours.windows[].start` | string | Yes | max length 5 | | `assigned_member_id` | integer \| null | No | | | `comment_type` | string | No | one of `ANY_POST`, `SPECIFIC_POST` | | `future_post_slots` | integer | No | | | `is_active` | boolean | Yes | | | `keywords` | string[] | No | max 20 items | | `match_mode` | string | No | one of `contains`, `is_exactly` | | `media_ids` | string[] | No | max 50 items | | `name` | string | Yes | max length 255 | | `once_per_lead` | boolean | No | | | `override_existing_assignment` | boolean | No | | | `replies` | object[] | Yes | max 20 items | | `replies[].ai_prompt` | string | No | max length 2000 | | `replies[].ask_email_timeout_seconds` | integer | No | | | `replies[].delay` | integer | No | | | `replies[].file_id` | string (uuid) \| null | No | | | `replies[].media_kind` | string | No | one of `IMAGE`, `VIDEO`, `AUDIO` | | `replies[].reply_type` | string | No | one of `DM`, `COMMENT`, `ASK_EMAIL`, `MEDIA` | | `replies[].text` | string | No | max length 1000 | | `replies[].variant_pairing` | string | No | one of `INDEPENDENT`, `FOLLOW_PREVIOUS` | | `replies[].variants` | object[] | No | max 10 items | | `replies[].variants[].buttons` | object[] | No | max 3 items | | `replies[].variants[].buttons[].button_type` | string | No | one of `URL`, `POSTBACK` | | `replies[].variants[].buttons[].name` | string | Yes | max length 20 | | `replies[].variants[].buttons[].payload` | string \| null | No | max length 1000 | | `replies[].variants[].buttons[].url` | string \| null | No | max length 2000 | | `replies[].variants[].file_id` | string (uuid) \| null | No | | | `replies[].variants[].media_kind` | string | No | one of `IMAGE`, `VIDEO`, `AUDIO` | | `replies[].variants[].text` | string | No | max length 1000 | | `replies[].variants[].traffic_percentage` | integer | No | | | `set_stage` | string \| null | No | one of `NEW`, `IN_CONTACT`, `QUALIFIED`, `UNQUALIFIED`, `BOOKED_CALL`, `DEPOSIT`, `WON`, `LOST`, `NO_SHOW` | | `tags` | string[] | No | max 50 items | | `tags_to_remove` | string[] | No | max 50 items | | `triggers` | object[] | No | max 10 items | | `triggers[].comment_type` | string \| null | No | one of `ANY_POST`, `SPECIFIC_POST` | | `triggers[].future_post_slots` | integer | No | | | `triggers[].keywords` | string[] | Yes | max 20 items | | `triggers[].lead_filter` | object \| null | No | | | `triggers[].match_mode` | string | No | one of `contains`, `is_exactly` | | `triggers[].media_ids` | string[] | No | | | `triggers[].trigger_type` | string | Yes | one of `DM`, `COMMENT`, `STORY` | ### Response (201) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `active_hours` | object | No | read-only | | `active_hours.windows` | object[] | No | read-only | | `active_hours.windows[].day` | string | No | read-only | | `active_hours.windows[].end` | string | No | read-only | | `active_hours.windows[].start` | string | No | read-only | | `comment_type` | string | No | read-only | | `created_at` | string (date-time) | No | read-only | | `id` | string | No | read-only | | `is_active` | boolean | No | read-only | | `name` | string | No | read-only | | `once_per_lead` | boolean | No | read-only | | `reply_count` | integer | No | read-only | | `set_stage` | string \| null | No | read-only | | `trigger_count` | integer | No | read-only | | `trigger_type` | string | No | read-only | ### Responses - `201` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X POST "https://api.themochi.app/v1/automations/keyword/" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" \ -H "Content-Type: application/json" \ -d '{"is_active":true,"name":"string","replies":[{"ai_prompt":"string","ask_email_timeout_seconds":1,"delay":1,"file_id":"00000000-0000-4000-8000-000000000000","media_kind":"IMAGE","reply_type":"DM","text":"string","variant_pairing":"INDEPENDENT","variants":[{}]}]}' ``` --- # Automation definitions Create, validate and update automation definitions. Create, validate and update automation definitions. ## Get automation definitions `GET /v1/automations/definitions/` Required scope: `automations:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `after_id` | query | integer | No | min 0 | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `automations` | object[] | No | read-only | | `automations[].id` | integer | No | read-only | | `automations[].is_active` | boolean | No | read-only | | `automations[].name` | string | No | read-only | | `next_after_id` | integer \| null | No | read-only | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `429` The request-rate budget is exhausted. ```bash curl -X GET "https://api.themochi.app/v1/automations/definitions/" \ -H "Authorization: Bearer $MOCHI_API_KEY" ``` ## Create automation definitions `POST /v1/automations/definitions/` Required scope: `automations:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Request body | Field | Type | Required | Notes | | --- | --- | --- | --- | | `document` | object | Yes | Canonical automation graph. Read the workspace capabilities endpoint for the enabled node types, fields and limits. | | `document.channel` | string \| null | No | | | `document.entry` | string \| null | No | | | `document.id` | integer \| null | No | | | `document.is_active` | boolean | No | | | `document.layout` | object | No | | | `document.name` | string | Yes | | | `document.nodes` | object[] | Yes | | | `document.public_replies` | object[] | No | | | `document.schema_version` | integer | No | | | `document.settings` | object | No | | | `document.triggers` | object[] | Yes | | ### Response (201) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `automation_id` | integer | No | read-only | | `document` | object | No | Canonical automation graph. Read the workspace capabilities endpoint for the enabled node types, fields and limits. | | `document.channel` | string \| null | No | | | `document.entry` | string \| null | No | | | `document.id` | integer \| null | No | | | `document.is_active` | boolean | No | | | `document.layout` | object | No | | | `document.name` | string | Yes | | | `document.nodes` | object[] | Yes | | | `document.public_replies` | object[] | No | | | `document.schema_version` | integer | No | | | `document.settings` | object | No | | | `document.triggers` | object[] | Yes | | | `editor_url` | string | No | read-only | | `etag` | string | No | read-only | | `flow_preview` | object[] | No | read-only | | `flow_preview[].description` | string | No | read-only | | `flow_preview[].title` | string | No | read-only | | `revision` | integer | No | read-only | ### Responses - `201` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X POST "https://api.themochi.app/v1/automations/definitions/" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" \ -H "Content-Type: application/json" \ -d '{"document":{"name":"string","nodes":[{}],"triggers":[{}]}}' ``` ## Get automation assets `GET /v1/automations/definitions/assets/` Required scope: `automations:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `query` | query | string | No | max length 255 | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `links` | object[] | No | read-only | | `links[].name` | string | No | read-only | | `links[].url` | string | No | read-only | | `media` | object[] | No | read-only | | `media[].file_id` | string | No | read-only | | `media[].media_kind` | string | No | read-only | | `media[].name` | string | No | read-only | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `429` The request-rate budget is exhausted. ```bash curl -X GET "https://api.themochi.app/v1/automations/definitions/assets/" \ -H "Authorization: Bearer $MOCHI_API_KEY" ``` ## Get automation capabilities `GET /v1/automations/definitions/capabilities/` Required scope: `automations:write` ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `ask` | boolean | No | read-only | | `audio` | boolean | No | read-only | | `branching` | boolean | No | read-only | | `drafts` | boolean | No | read-only | | `follow_ups` | boolean | No | read-only | | `format` | string | No | read-only | | `messenger` | boolean | No | read-only | | `new_triggers` | boolean | No | read-only | | `whatsapp` | boolean | No | read-only | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `429` The request-rate budget is exhausted. ```bash curl -X GET "https://api.themochi.app/v1/automations/definitions/capabilities/" \ -H "Authorization: Bearer $MOCHI_API_KEY" ``` ## Validate automation definition `POST /v1/automations/definitions/validate/` Required scope: `automations:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Request body | Field | Type | Required | Notes | | --- | --- | --- | --- | | `automation_id` | integer | No | | | `document` | object | Yes | Canonical automation graph. Read the workspace capabilities endpoint for the enabled node types, fields and limits. | | `document.channel` | string \| null | No | | | `document.entry` | string \| null | No | | | `document.id` | integer \| null | No | | | `document.is_active` | boolean | No | | | `document.layout` | object | No | | | `document.name` | string | Yes | | | `document.nodes` | object[] | Yes | | | `document.public_replies` | object[] | No | | | `document.schema_version` | integer | No | | | `document.settings` | object | No | | | `document.triggers` | object[] | Yes | | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `valid` | boolean | No | read-only | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X POST "https://api.themochi.app/v1/automations/definitions/validate/" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" \ -H "Content-Type: application/json" \ -d '{"document":{"name":"string","nodes":[{}],"triggers":[{}]}}' ``` ## Get automation definition `GET /v1/automations/definitions/{automation_id}/` Required scope: `automations:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `automation_id` | path | integer | Yes | | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `automation_id` | integer | No | read-only | | `document` | object | No | Canonical automation graph. Read the workspace capabilities endpoint for the enabled node types, fields and limits. | | `document.channel` | string \| null | No | | | `document.entry` | string \| null | No | | | `document.id` | integer \| null | No | | | `document.is_active` | boolean | No | | | `document.layout` | object | No | | | `document.name` | string | Yes | | | `document.nodes` | object[] | Yes | | | `document.public_replies` | object[] | No | | | `document.schema_version` | integer | No | | | `document.settings` | object | No | | | `document.triggers` | object[] | Yes | | | `editor_url` | string | No | read-only | | `etag` | string | No | read-only | | `flow_preview` | object[] | No | read-only | | `flow_preview[].description` | string | No | read-only | | `flow_preview[].title` | string | No | read-only | | `revision` | integer | No | read-only | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `429` The request-rate budget is exhausted. ```bash curl -X GET "https://api.themochi.app/v1/automations/definitions//" \ -H "Authorization: Bearer $MOCHI_API_KEY" ``` ## Set automation definition `PUT /v1/automations/definitions/{automation_id}/` Required scope: `automations:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `automation_id` | path | integer | Yes | | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Request body | Field | Type | Required | Notes | | --- | --- | --- | --- | | `document` | object | Yes | Canonical automation graph. Read the workspace capabilities endpoint for the enabled node types, fields and limits. | | `document.channel` | string \| null | No | | | `document.entry` | string \| null | No | | | `document.id` | integer \| null | No | | | `document.is_active` | boolean | No | | | `document.layout` | object | No | | | `document.name` | string | Yes | | | `document.nodes` | object[] | Yes | | | `document.public_replies` | object[] | No | | | `document.schema_version` | integer | No | | | `document.settings` | object | No | | | `document.triggers` | object[] | Yes | | | `etag` | string | Yes | max length 64 | | `revision` | integer | Yes | | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `automation_id` | integer | No | read-only | | `document` | object | No | Canonical automation graph. Read the workspace capabilities endpoint for the enabled node types, fields and limits. | | `document.channel` | string \| null | No | | | `document.entry` | string \| null | No | | | `document.id` | integer \| null | No | | | `document.is_active` | boolean | No | | | `document.layout` | object | No | | | `document.name` | string | Yes | | | `document.nodes` | object[] | Yes | | | `document.public_replies` | object[] | No | | | `document.schema_version` | integer | No | | | `document.settings` | object | No | | | `document.triggers` | object[] | Yes | | | `editor_url` | string | No | read-only | | `etag` | string | No | read-only | | `flow_preview` | object[] | No | read-only | | `flow_preview[].description` | string | No | read-only | | `flow_preview[].title` | string | No | read-only | | `revision` | integer | No | read-only | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X PUT "https://api.themochi.app/v1/automations/definitions//" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" \ -H "Content-Type: application/json" \ -d '{"document":{"name":"string","nodes":[{}],"triggers":[{}]},"etag":"string","revision":1}' ``` --- # Flows List flows and start flow runs. List flows and start flow runs. ## List flows `GET /v1/flows/` Required scope: `automations:write` ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `data` | object[] | Yes | | | `data[].channel` | string | No | read-only | | `data[].created_at` | string (date-time) | No | read-only | | `data[].id` | string | No | read-only | | `data[].is_active` | boolean | No | read-only | | `data[].name` | string | No | read-only | | `data[].step_count` | integer | No | read-only | | `data[].updated_at` | string (date-time) | No | read-only | | `next_cursor` | string \| null | Yes | | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `429` The request-rate budget is exhausted. ```bash curl -X GET "https://api.themochi.app/v1/flows/" \ -H "Authorization: Bearer $MOCHI_API_KEY" ``` ## Create flow `POST /v1/flows/` Required scope: `automations:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Request body | Field | Type | Required | Notes | | --- | --- | --- | --- | | `channel` | string | No | one of `INSTAGRAM`, `WHATSAPP`, `MESSENGER` | | `is_active` | boolean | Yes | | | `name` | string | Yes | max length 255 | | `steps` | any \| any \| object \| object \| object \| object \| object \| object \| object \| object \| object[] | Yes | A bounded DAG: maximum depth 3 and at most 10 send steps. Step ids and targets form the graph.; max 20 items; min 1 items | ### Response (201) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `channel` | string | No | read-only | | `created_at` | string (date-time) | No | read-only | | `id` | string | No | read-only | | `is_active` | boolean | No | read-only | | `name` | string | No | read-only | | `step_count` | integer | No | read-only | | `updated_at` | string (date-time) | No | read-only | ### Responses - `201` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X POST "https://api.themochi.app/v1/flows/" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" \ -H "Content-Type: application/json" \ -d '{"is_active":true,"name":"string","steps":["string"]}' ``` ## Get flow run `GET /v1/flows/runs/{run_id}/` Required scope: `automations:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `run_id` | path | integer | Yes | | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `created_at` | string (date-time) | No | read-only | | `current_step` | string | No | read-only | | `event_counts` | object | No | read-only | | `event_counts.claimed` | integer | No | read-only | | `event_counts.failed` | integer | No | read-only | | `event_counts.paused` | integer | No | read-only | | `event_counts.succeeded` | integer | No | read-only | | `finished_at` | string (date-time) \| null | No | read-only | | `flow_id` | string | No | read-only | | `lead_id` | string | No | read-only | | `next_wake_at` | string (date-time) \| null | No | read-only | | `run_id` | string | No | read-only | | `state` | string | No | read-only | | `updated_at` | string (date-time) | No | read-only | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `429` The request-rate budget is exhausted. ```bash curl -X GET "https://api.themochi.app/v1/flows/runs//" \ -H "Authorization: Bearer $MOCHI_API_KEY" ``` ## Get flow `GET /v1/flows/{flow_id}/` Required scope: `automations:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `flow_id` | path | integer | Yes | | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `channel` | string | No | read-only | | `created_at` | string (date-time) | No | read-only | | `id` | string | No | read-only | | `is_active` | boolean | No | read-only | | `name` | string | No | read-only | | `step_count` | integer | No | read-only | | `updated_at` | string (date-time) | No | read-only | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `429` The request-rate budget is exhausted. ```bash curl -X GET "https://api.themochi.app/v1/flows//" \ -H "Authorization: Bearer $MOCHI_API_KEY" ``` ## Create flow run `POST /v1/flows/{flow_id}/runs/` Required scope: `automations:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `flow_id` | path | integer | Yes | | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Request body | Field | Type | Required | Notes | | --- | --- | --- | --- | | `lead_id` | integer | Yes | | ### Response (201) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `created_at` | string (date-time) | No | read-only | | `current_step` | string | No | read-only | | `event_counts` | object | No | read-only | | `event_counts.claimed` | integer | No | read-only | | `event_counts.failed` | integer | No | read-only | | `event_counts.paused` | integer | No | read-only | | `event_counts.succeeded` | integer | No | read-only | | `finished_at` | string (date-time) \| null | No | read-only | | `flow_id` | string | No | read-only | | `lead_id` | string | No | read-only | | `next_wake_at` | string (date-time) \| null | No | read-only | | `run_id` | string | No | read-only | | `state` | string | No | read-only | | `updated_at` | string (date-time) | No | read-only | ### Responses - `201` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X POST "https://api.themochi.app/v1/flows//runs/" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" \ -H "Content-Type: application/json" \ -d '{"lead_id":1}' ``` --- # Content Create, update and delete content items. Create, update and delete content items. ## Create content `POST /v1/content/` Required scope: `content:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Request body | Field | Type | Required | Notes | | --- | --- | --- | --- | | `file_id` | string (uuid) \| null | No | | | `item_type` | string | Yes | one of `TEMPLATE`, `MEDIA`, `LINK`, `PROMPT` | | `prompt_body` | string | No | max length 4000 | | `steps` | object[] | No | max 50 items | | `steps[].file_id` | string (uuid) \| null | No | | | `steps[].referenced_content_item_id` | string (uuid) \| null | No | | | `steps[].step_type` | string | Yes | one of `TEXT`, `IMAGE`, `VIDEO`, `VOICE`, `FILE` | | `steps[].text` | string | No | max length 50000 | | `steps[].text_variants` | string[] | No | | | `title` | string | Yes | max length 255 | | `url` | string (uri) \| null | No | max length 2048 | ### Response (201) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `created_at` | string (date-time) | No | read-only | | `file_id` | string | No | read-only | | `id` | string | No | read-only | | `item_type` | string | No | read-only | | `prompt_body` | string | No | read-only | | `sort_order` | integer | No | read-only | | `title` | string | No | read-only | | `updated_at` | string (date-time) | No | read-only | | `url` | string | No | read-only | ### Responses - `201` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X POST "https://api.themochi.app/v1/content/" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" \ -H "Content-Type: application/json" \ -d '{"item_type":"TEMPLATE","title":"string"}' ``` ## Delete content `DELETE /v1/content/{content_item_id}/` Required scope: `content:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `content_item_id` | path | string (uuid) | Yes | | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Responses - `204` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X DELETE "https://api.themochi.app/v1/content//" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" ``` ## Update content `PATCH /v1/content/{content_item_id}/` Required scope: `content:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `content_item_id` | path | string (uuid) | Yes | | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Request body | Field | Type | Required | Notes | | --- | --- | --- | --- | | `prompt_body` | string | No | max length 4000 | | `sort_order` | integer | No | | | `steps` | object[] | No | max 50 items | | `steps[].file_id` | string (uuid) \| null | No | | | `steps[].referenced_content_item_id` | string (uuid) \| null | No | | | `steps[].step_type` | string | Yes | one of `TEXT`, `IMAGE`, `VIDEO`, `VOICE`, `FILE` | | `steps[].text` | string | No | max length 50000 | | `steps[].text_variants` | string[] | No | | | `title` | string | No | max length 255 | | `url` | string (uri) \| null | No | max length 2048 | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `created_at` | string (date-time) | No | read-only | | `file_id` | string | No | read-only | | `id` | string | No | read-only | | `item_type` | string | No | read-only | | `prompt_body` | string | No | read-only | | `sort_order` | integer | No | read-only | | `title` | string | No | read-only | | `updated_at` | string (date-time) | No | read-only | | `url` | string | No | read-only | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X PATCH "https://api.themochi.app/v1/content//" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" \ -H "Content-Type: application/json" \ -d '{"prompt_body":"string","sort_order":1,"steps":[{"step_type":"TEXT"}],"title":"string","url":"string"}' ``` --- # Media Upload media for messages and automations. Upload media for messages and automations. ## Upload media `POST /v1/media/` Required scope: `content:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Request body | Field | Type | Required | Notes | | --- | --- | --- | --- | | `file` | string (binary) | Yes | | ### Response (201) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `created_at` | string (date-time) | No | read-only | | `file_type` | string | No | read-only | | `id` | string | No | read-only | | `original_file_name` | string | No | read-only | ### Responses - `201` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X POST "https://api.themochi.app/v1/media/" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" \ -H "Content-Type: application/json" \ -d '{"file":"string"}' ``` --- # Links Create tracked links. Create tracked links. ## Create links `POST /v1/links/` Required scope: `links:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Request body | Field | Type | Required | Notes | | --- | --- | --- | --- | | `destination_url` | string (uri) | Yes | max length 2048 | | `name` | string | Yes | max length 255 | | `og_description` | string | No | max length 5000 | | `og_image_url` | string (uri) | No | max length 2048 | | `og_title` | string | No | max length 255 | | `slug` | string | No | max length 255 | ### Response (201) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `created_at` | string (date-time) | No | read-only | | `destination_url` | string | No | read-only | | `domain` | string | No | read-only | | `id` | string | No | read-only | | `name` | string | No | read-only | | `og_description` | string | No | read-only | | `og_image_url` | string | No | read-only | | `og_title` | string | No | read-only | | `short_url` | string | No | read-only | | `slug` | string | No | read-only | ### Responses - `201` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X POST "https://api.themochi.app/v1/links/" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" \ -H "Content-Type: application/json" \ -d '{"destination_url":"string","name":"string"}' ``` --- # Connections List integrations and start an OAuth connection. List integrations and start an OAuth connection. ## List connections `GET /v1/connections/` Required scope: `config:read` ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `data` | object[] | Yes | | | `data[].account_label` | string \| null | No | read-only | | `data[].category` | string | No | read-only | | `data[].connected_at` | string (date-time) \| null | No | read-only | | `data[].id` | string | No | read-only | | `data[].provider` | string | No | read-only | | `data[].status` | string | No | read-only | | `next_cursor` | string \| null | Yes | | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `429` The request-rate budget is exhausted. ```bash curl -X GET "https://api.themochi.app/v1/connections/" \ -H "Authorization: Bearer $MOCHI_API_KEY" ``` ## Start a connection `POST /v1/connections/` Required scope: `connections:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Request body | Field | Type | Required | Notes | | --- | --- | --- | --- | | `provider` | string | Yes | one of `calendly` | ### Response (201) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `connect_url` | string | No | read-only | | `expires_at` | string (date-time) | No | read-only | | `provider` | string | No | read-only | ### Responses - `201` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X POST "https://api.themochi.app/v1/connections/" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" \ -H "Content-Type: application/json" \ -d '{"provider":"calendly"}' ``` --- # Stripe Connect or disconnect Stripe. Connect or disconnect Stripe. ## Delete Stripe connection `DELETE /v1/connections/stripe/` Required scope: `connections:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Responses - `204` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X DELETE "https://api.themochi.app/v1/connections/stripe/" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" ``` ## Create Stripe connection `POST /v1/connections/stripe/` Required scope: `connections:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Request body | Field | Type | Required | Notes | | --- | --- | --- | --- | | `api_key` | string | Yes | max length 512 | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `category` | string | No | read-only | | `id` | string | No | read-only | | `provider` | string | No | read-only | | `status` | string | No | read-only | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X POST "https://api.themochi.app/v1/connections/stripe/" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" \ -H "Content-Type: application/json" \ -d '{"api_key":"string"}' ``` --- # Whop Connect or disconnect Whop. Connect or disconnect Whop. ## Delete Whop connection `DELETE /v1/connections/whop/` Required scope: `connections:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Responses - `204` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X DELETE "https://api.themochi.app/v1/connections/whop/" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" ``` ## Create Whop connection `POST /v1/connections/whop/` Required scope: `connections:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Request body | Field | Type | Required | Notes | | --- | --- | --- | --- | | `api_key` | string | Yes | max length 512 | | `company_id` | string | Yes | max length 255 | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `category` | string | No | read-only | | `id` | string | No | read-only | | `provider` | string | No | read-only | | `status` | string | No | read-only | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X POST "https://api.themochi.app/v1/connections/whop/" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" \ -H "Content-Type: application/json" \ -d '{"api_key":"string","company_id":"string"}' ``` --- # Ablefy Connect or disconnect Ablefy. Connect or disconnect Ablefy. ## Delete Ablefy connection `DELETE /v1/connections/ablefy/` Required scope: `connections:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Responses - `204` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X DELETE "https://api.themochi.app/v1/connections/ablefy/" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" ``` ## Create Ablefy connection `POST /v1/connections/ablefy/` Required scope: `connections:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Request body | Field | Type | Required | Notes | | --- | --- | --- | --- | | `api_key` | string | Yes | max length 512 | | `api_secret` | string | Yes | max length 512 | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `category` | string | No | read-only | | `id` | string | No | read-only | | `provider` | string | No | read-only | | `status` | string | No | read-only | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X POST "https://api.themochi.app/v1/connections/ablefy/" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" \ -H "Content-Type: application/json" \ -d '{"api_key":"string","api_secret":"string"}' ``` --- # Fanbasis Connect or disconnect Fanbasis. Connect or disconnect Fanbasis. ## Delete Fanbasis connection `DELETE /v1/connections/fanbasis/` Required scope: `connections:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Responses - `204` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X DELETE "https://api.themochi.app/v1/connections/fanbasis/" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" ``` ## Create Fanbasis connection `POST /v1/connections/fanbasis/` Required scope: `connections:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Request body | Field | Type | Required | Notes | | --- | --- | --- | --- | | `api_key` | string | Yes | max length 512 | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `category` | string | No | read-only | | `id` | string | No | read-only | | `provider` | string | No | read-only | | `status` | string | No | read-only | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X POST "https://api.themochi.app/v1/connections/fanbasis/" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" \ -H "Content-Type: application/json" \ -d '{"api_key":"string"}' ``` --- # iClosed Connect or disconnect iClosed. Connect or disconnect iClosed. ## Delete iClosed connection `DELETE /v1/connections/iclosed/` Required scope: `connections:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Responses - `204` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X DELETE "https://api.themochi.app/v1/connections/iclosed/" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" ``` ## Create iClosed connection `POST /v1/connections/iclosed/` Required scope: `connections:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Request body | Field | Type | Required | Notes | | --- | --- | --- | --- | | `api_key` | string | Yes | max length 512 | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `category` | string | No | read-only | | `id` | string | No | read-only | | `provider` | string | No | read-only | | `status` | string | No | read-only | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X POST "https://api.themochi.app/v1/connections/iclosed/" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" \ -H "Content-Type: application/json" \ -d '{"api_key":"string"}' ``` --- # ElevenLabs Store an ElevenLabs credential for voice. Store an ElevenLabs credential for voice. ## Create ElevenLabs connection `POST /v1/connections/elevenlabs/` Required scope: `connections:write` ### Parameters | Name | In | Type | Required | Notes | | --- | --- | --- | --- | --- | | `Idempotency-Key` | header | string (uuid) | Yes | UUID4 identifying one intended write. Reuse it only when retrying that same write. | ### Request body | Field | Type | Required | Notes | | --- | --- | --- | --- | | `api_key` | string | Yes | max length 512 | ### Response (200) | Field | Type | Required | Notes | | --- | --- | --- | --- | | `category` | string | No | read-only | | `id` | string | No | read-only | | `provider` | string | No | read-only | | `status` | string | No | read-only | ### Responses - `200` Success - `400` The request is invalid. - `401` Authentication is missing, invalid, or revoked. - `403` The authenticated identity lacks the required scope or capability. - `404` The resource is unavailable or not visible to this organization. - `409` The write conflicts with current state or an identical request is still running. - `422` The write contains fields outside its closed input schema. - `429` The request-rate budget is exhausted. ```bash curl -X POST "https://api.themochi.app/v1/connections/elevenlabs/" \ -H "Authorization: Bearer $MOCHI_API_KEY" \ -H "Idempotency-Key: $(uuidgen | tr A-Z a-z)" \ -H "Content-Type: application/json" \ -d '{"api_key":"string"}' ```