# Build an agent in your dashboard Source: https://api.lawtte.ai/agent-builder/build-in-the-dashboard A walk through the Agents page in your Lawtte dashboard: start from a template or describe an agent to the Agent Builder, test it on your real inbox, and go live. Everything happens on the **Agents** page of your Lawtte dashboard. You'll find it in the sidebar, or at `lawtte.ai/dashboard//agents`. ## Find your way around | Tab | What's there | | - | - | | **My agents** | Every agent working for your firm and its status: Live, Test mode, Off, Draft, With the Lawtte team, or Needs setup. Filter by Running, Needs attention or Off & drafts. | | **Templates** | Ready-made agents for your practice area. Open one, change what you like, launch. | | **Build with the Agent Builder** | A chat where you describe an agent in your own words. | | **History** | Every email your agents sent in the last 30 days, and replies where it reads your inbox. | | **Settings** | Your channels, connected tools, house rules and the builder's name. | Press **New agent** for either a **Receptionist** (answers your calls) or an **Advanced** agent (sends emails, texts or calls). ## Start from a template The fastest way in. Templates are grouped by **Send emails**, **Send texts** and **Make calls**, and you see the ones that fit your practice. A few examples: > [card] Demand received? follow-up > > Emails the adjuster every 5 business days until they confirm, up to 3 times. > [card] Upload link nudge > > Texts a client 2 business days after you send an upload link, if nothing came > back. > [card] Appointment confirmation > > A text a few hours after you book, asking them to confirm. > [card] Adjuster: confirm demand received > > An AI call that checks the demand arrived and asks when to expect a response. Immigration, family law and estate planning firms also get templates of their own, like RFE document follow-ups or mediation reminders. Open a template and it becomes an editable draft. Change the wording or timing, then press **Test mode first**. Want something different? Press **Change it with the Agent Builder**. ## Or describe it Open **Build with the Agent Builder** and say what you want, like you would to a new paralegal: > When we email a manufacturer asking for the signed release and they don't answer > in 5 business days, follow up in the same thread. Up to 3 times. CC Karina. The builder checks which of your inboxes, text lines and tools are connected, then asks only what it still needs, often as tap-to-answer buttons. A **Blueprint** fills in next to the chat as you go: the goal, what starts it, who it contacts, each step, the wording, when it stops, and who hears about it. > [!TIP] > > Use your own words for the wording and for the phrase that starts it. The builder > copies them exactly. ## Test it, then go live When the blueprint is ready, a launch card shows what it will do and runs an **inbox check** (or **text line check**). That's a search of your real inbox or line for the phrase that starts it, so you can see how many conversations it would pick up. **1. Launch in Test mode** It watches your real threads and shows what it would send. Nothing goes out until you press Go live. **2. Look at what it would send** Check the drafts on the agent's page. Change anything you don't like. **3. Go live** Confirm, and it starts sending by itself. Pause it, change it or put it back in Test mode whenever you want. If the builder still has open questions, the launch button waits. Answer them, or choose **Launch with the settings shown**. For call agents, Test mode only checks calls. Once the agent is live, your team places each call from the agent's **Calls** tab. ### When it's more than an email, text or call If your idea needs something the builder can't run by itself, like updating Clio records or a weekly report, press **Send to build**. The Lawtte team picks it up, and you follow it on the agent's page: With the Lawtte team → Building → Live. ## Make the builder yours **Settings** has three tabs: > [accordion] Channels > > Your inboxes, text numbers and calling numbers, and which one is the default for > each. Templates and the builder use the default first, and any agent can still > use another. Connect an inbox or get a texting number from here. See > [email and phone numbers](/agent-builder/email-and-phone-numbers). > [accordion] Connected tools > > What your agents can read and update: Clio, CasePeer, Filevine, Lawmatics, > HighLevel, Slack and more. Missing one? Request it from this tab. > [accordion] House rules > > **Your agent builder:** give it a name (up to 40 characters), a picture, and a > way of talking. > > **House rules:** rules every email and text agent must follow, one per line. For > example, "Never text clients after 7pm" or "CC Karina on manufacturer emails". > Everyone at the firm sees who changed them last. Connected apps like Claude and > Grok Bot read these rules before they build, and can add to them when you tell > them "always…" or "never…". > [card] [Prefer to build from Claude or Grok Bot?](/agent-builder/connect-your-ai) > > Connect your AI and do all of this from the chat. # Connect Claude, Grok Bot or any MCP client Source: https://api.lawtte.ai/agent-builder/connect-your-ai Plug Claude, Grok Bot, Claude Code, Cursor or any MCP client into Lawtte's Agent Builder, then build, launch and change your firm's agents just by talking. Your Agent Builder doesn't have to live in one browser tab. Connect the AI you already talk to all day, and it gets the keys to the same builder: it can see your agents, draft new ones, launch them in Test mode, take them live, and tidy them up. Everything it builds shows up in your dashboard with a little tag, like **via Claude**, **via Grok Bot** or **via Cursor (MCP)**, so you always know who made what. > [card] The one thing you need > > ``` > https://www.lawtte.ai/api/mcp > ``` > > It's also on **Settings → Developers → MCP** in your dashboard, with a Copy button. ## Pick your AI > [tab] Claude > > **1. Add a custom connector** > > In Claude, open **Settings → Connectors → Add custom connector**. Name it > **Lawtte** and paste the server address. Leave advanced settings empty. > > **2. Sign in** > > Claude shows a connect card the first time it needs your account. Sign in to > Lawtte and pick your firm. > > **3. Say hi** > > > What agents does my firm have? > > More detail: [Connect Claude](/mcp/connect-claude). > [tab] Grok Bot > > **1. Add the server** > > In a Grok Bot chat, ask **"Add the Lawtte connector"**, or add a custom MCP > server in settings and paste the address. > > **2. Sign in** > > Approve access for your firm when the connect card appears. > > **3. Say hi** > > > Show me which of our agents are live and which are still in Test mode. > > More detail: [Connect Grok Bot](/mcp/connect-grok-bot). > [tab] Claude Code > > One line in your terminal: > > ```bash theme={null} > claude mcp add --transport http lawtte https://www.lawtte.ai/api/mcp > ``` > > Then run `/mcp` inside Claude Code and choose **lawtte** to sign in. > [tab] Cursor, VS Code and others > > Any client that speaks MCP over streamable HTTP works. Most take a URL: > > ```json theme={null} > { > "mcpServers": { > "lawtte": { "url": "https://www.lawtte.ai/api/mcp" } > } > } > ``` > > If your client supports OAuth, it signs you in like Claude does. If it can't, > create a key under **Settings → Developers → API key** and send it as a header: > > ```http theme={null} > Authorization: Bearer lawtte_sk_YOUR_KEY > ``` > > Stdio-only clients can use `mcp-remote`; see [Claude Desktop](/mcp/claude-desktop) > for the exact config. Builds made with a key show as **via Lawtte MCP**. > [!NOTE] > > Firms whose agents Lawtte runs for them connect once Lawtte switches the connector > on. If the MCP page says it isn't on yet, ask your Lawtte account team. ## Your first five minutes Try these in order. Each one is a real thing your AI can do now. > [accordion] 1. Take the tour > > > What agents do we have, and what tools and inboxes are connected? > > It reads your agents, the systems you've connected (Clio, GHL, Slack…), your > inboxes and text lines, and your house rules. > [accordion] 2. Dream one up > > > Build an agent that follows up with the manufacturer when we ask for the > > signed release and they go quiet for 5 business days. Up to 3 reminders, > > CC Karina. > > It drafts the blueprint and the wording. You'll see it in **Agents** right away, > tagged with your AI's name. > [accordion] 3. Kick the tires > > > Launch it in Test mode and show me what it would pick up from the last two > > weeks. > > Test mode sends nothing. You get a practice run on real emails so you can see > exactly what it would say, and to whom. > [accordion] 4. Let it loose > > > Looks great. Take it live. > > Your AI asks you to confirm first, then it's on and sending by itself. > [accordion] 5. Tweak it later > > > Change the wait to 7 days and pause it over the holidays. > > It shows you a before and after for each change, and applies them when you say so. > [accordion] 6. Teach it your rules > > > From now on, never text clients after 7pm, and always CC Karina on > > manufacturer emails. > > It saves these as **house rules**, and every agent it builds after that follows > them. You'll see them in **Agents → Settings → House rules** too. > [accordion] 7. Get a number with your name on it > > > Get us a 916 number that shows OCONNOR LAW on caller ID. > > It sends the request to the Lawtte team, who usually set it up within a business > day. Then your call agents can use it. > [accordion] 8. Make the call > > > Use the adjuster call agent to call Jane Doe at (916) 555-0142. She agreed to be > > called and doesn't have her own lawyer. > > It checks the call is allowed (consent, calling hours, Do Not Call), asks you to > confirm, then dials and reports back what it learned. ## The safety rails stay on Your AI drives, but Lawtte keeps the guardrails: * **It asks before anything that sends.** Going live, running a live agent, applying changes and removing an agent all need your OK in the chat. * **Test mode first, always.** Every new agent starts there. * **Calls follow the calling rules.** Consent, calling hours, Do Not Call and daily limits are checked by Lawtte on every call, and the chat can't turn them off. See [limits and safety](/mcp/limits-and-safety). * **It only sees your firm.** One sign-in covers one firm. ## See what it built, or unplug it Open **Settings → Developers → MCP**. You'll find: * **Connected apps**, each with a **Disconnect** button. Access ends right away. * **Built over MCP**: everything your AIs have built, with who asked and the status. Your agents keep running after you disconnect. Pause them in **Agents** if you want them stopped too. > [card] [Writing your own integration, or are you an AI agent?](/agent-builder/for-ai-agents) > > The exact tool order, config formats and rules. # Email addresses and branded phone numbers Source: https://api.lawtte.ai/agent-builder/email-and-phone-numbers How your agents send email (a Lawtte address on day one, or your own Microsoft 365 or Google inbox) and how to get phone numbers that show your firm's name on caller ID and texts registered to your firm. Your agents should look like your firm, not like a robot. This page covers where their emails come from, and how to get numbers that show your name. All of it lives in **Agents → Settings → Channels** and **Settings → Phone numbers**. ## Email ### Your Lawtte address, ready on day one Every firm gets a sending address the moment it signs up, with nothing to connect: ``` yourfirm@updates.lawtte.ai ``` It's listed in your inboxes as **Your default line**. You choose the **name people see** and where **replies go**, for example your intake inbox. > [!NOTE] > > This address can send but can't read. Follow-up agents need to see whether someone > replied, so they run in an inbox you connect (below). ### Connect your own inbox For follow-ups that reply inside your own email threads, connect the inbox the emails go out from: **1. Open Agents → Settings → Channels** Under **Email**, press **Connect an inbox**. **2. Pick your provider** **Connect Microsoft 365** or **Connect Google**, and sign in. **3. Turn on Send and Listen** **Send from** lets agents reply as that inbox. **Listen to** lets them see replies, so they stop when someone answers. **4. Set a default (optional)** **Set as default** makes templates and the Agent Builder pick this inbox first. Replies from your agents show up in that inbox's Sent folder, in the same thread, just like you wrote them. You can disconnect an inbox at any time. > [!TIP] > > Using Google Workspace or Microsoft 365 across the firm? Lawtte can connect inboxes > for the whole firm at once, so teammates don't each sign in. Ask your Lawtte account > team. ## Phone numbers Open **Settings → Phone numbers** to see every number, what it's used for, whether it can text, and what people see on caller ID. ### Branded caller ID A branded number shows your firm's name when it calls, instead of just digits, so people can see who's calling before they pick up. **1. Request it** Next to a number, press **Request branding**. Or press **Request a new number**, choose an area code if you want one, and enter your **Caller ID name**. **2. Choose the name** Up to 15 characters, letters, numbers and spaces only. For example, `OCONNOR LAW`. **3. We set it up** The Lawtte team sets it up, usually within a business day. The number then shows **Branded · YOUR NAME** in the list. > [!TIP] > > Connected to Claude or Grok Bot? Just ask: "Get us a new number with OUR FIRM on > caller ID." It sends the same request. ### Texts that come from your firm Texting numbers are either **branded** or **not branded**, and you'll see which next to each one in **Agents → Settings → Channels**. | | What people see | | - | - | | **Branded** | Texts registered to your firm with the carriers. With iMessage, they also get your contact card, with your name and logo. | | **Not branded** | Texts sent under Lawtte's registration. The first text to each person ends with "Your Firm via Lawtte. Reply STOP to opt out." | To get branded texting, ask your Lawtte account team. We register your firm with the carriers (10DLC), and texting from that registration starts once it's approved. ### Getting a number * **Studio accounts:** your receptionist's number comes with calling and texting. Texting from a new US number starts within minutes, once the carriers add it. * **Firms Lawtte manages:** press **Request a new number** on **Settings → Phone numbers**. Call agents call from your default calling number, which you set in **Agents → Settings → Channels**. Every number follows your [Do Not Call list](/mcp/limits-and-safety) and text opt-outs, whichever agent uses it. # Agent Builder for AI agents Source: https://api.lawtte.ai/agent-builder/for-ai-agents How an AI agent or MCP client builds, launches and changes a law firm's email, text and call agents through Lawtte's MCP server: tool order, the recipe formats, ids, and the rules to follow. This page is for the AI agent doing the work (Claude, Grok Bot, or your own MCP client) and for developers wiring one up. People connecting an app should read [Connect your AI](/agent-builder/connect-your-ai). Server: `https://www.lawtte.ai/api/mcp` (streamable HTTP, OAuth or `Authorization: Bearer lawtte_sk_…`). The Agent Builder tools need the call permissions: `list_agents` and `get_agent` need **calls:read**, the rest need **calls:write**. ## Rules 1. **Read before you write.** Call `list_agents` first. Use only the ids, tool keys, mailbox ids and text-line ids it returns. Never invent them. 2. **Confirm before anything that sends.** Ask the user before `manage_agent` with `go_live` or `check_now` on a live agent, `update`, `remove`, and before `apply_agent_change`. These tools are marked destructive. 3. **Test mode first.** `launch` always starts in Test mode, which sends nothing. Show the user a `preview` or `practice_run` before you suggest going live. 4. **Follow the house rules.** Every firm keeps standing rules (`house_rules`, one per line) that every agent must follow. Read them before you design or change an agent; `list_agents`, `get_builder_settings` and `save_agent_draft` all return them. Copy the phrases and wording the user gives you exactly. 5. **Save standing instructions as house rules.** When the user says "always…" or "never…" about how agents behave, offer to add it with `update_builder_settings` (`add_house_rules`) so every future agent follows it too. 6. **Fix what Lawtte tells you.** When `launch_problems` isn't empty, or a tool returns an error, it says what to change in plain words. Fix that and retry, or ask the user. 7. **Check a call before placing it.** For a call agent, run `manage_agent` with `call_check` first, then `call_place` once the user confirms. Both go through the same checks as `place_call`: consent, calling hours, Do Not Call and daily limits. 8. **No sensitive data.** Don't put Social Security, card or bank numbers, dates of birth, passwords or medical details in any field. ## Build a new agent **1. list\_agents** Returns `agents` (each with `agent_id` like `recipe:…` or `builtin:…`, its `request_id`, name and status), `builds` (with `built_with`), `tools` (keys for blueprint steps, and whether each is connected), `mailboxes`, `text_lines` and `house_rules`. **2. save\_agent\_draft** Send the blueprint, and a `recipe` if it's one Lawtte can run itself (see below). Returns `request_id`, `ready_to_launch`, `open_questions`, `launch_problems` and the dashboard `link`. Call it again with `request_id` to change the draft; fields you leave out keep their values. **3. manage\_agent: launch** `{ "id": "", "action": "launch" }`. It starts in Test mode. If the blueprint still has `open_questions`, either answer them with `save_agent_draft`, or pass `"accept_defaults": true` after the user agrees. **4. manage\_agent: preview or practice\_run** `preview` shows what it would pick up now. `practice_run` replays the last two weeks of real threads. Both only read. **5. manage\_agent: go\_live (after the user confirms)** From here it sends by itself. If no `recipe` fits what the user wants, save the blueprint without one and use `manage_agent` with `send_to_lawtte_team`. Lawtte's team builds it, and the user sees the status in their dashboard. ### Blueprint fields | Field | Required for a new agent | What it is | | - | - | - | | `name` | yes | Short name | | `goal` | yes | One sentence: what it gets done | | `trigger_kind` | yes | `schedule`, `event` or `manual` | | `trigger_detail` | yes | When exactly it runs | | `audience` | yes | Who it contacts or works on | | `steps` | yes | 1–10 of `{ "tool": , "action": "…" }` | | `channels` | yes | Any of `email`, `sms`, `call`, `slack`, `crm_update`, `report` | | `approval` | yes | `review_first` or `automatic` | | `stop_when` | yes | When it stops for a case or person | | `notify`, `example`, `open_questions` | no | Who hears about it, sample wording, what's still unanswered | | `recipe` | to launch | What Lawtte runs (below) | ### Recipe formats ```json Email follow-up theme={null} { "kind": "thread_followup", "config": { "mailbox": "", "sequences": [ { "key": "release", "name": "Signed release", "trigger": "please sign and return the release", "body": ["Hi, following up on the release we sent.", "Could you send it back signed?"], "waitBusinessDays": 5 } ], "maxFollowups": 3, "lookbackDays": 14, "cc": ["karina@firm.com"] } } ``` ```json Text follow-up theme={null} { "kind": "text_followup", "config": { "line": "", "sequences": [ { "key": "ro", "name": "Repair order", "trigger": "please send your repair order", "body": ["Hi, just checking in. Could you text us a photo of your repair order?"], "waitBusinessDays": 2 } ], "maxFollowups": 2, "lookbackDays": 7 } } ``` ```json Call agent theme={null} { "kind": "call_agent", "config": { "objective": "Confirm the adjuster received our demand and when they'll respond", "recipientType": "adjuster", "collect": ["Claim number", "Expected response date"], "voicemail": "leave" } } ``` How a follow-up works: when the firm sends an email (or text) containing `trigger`, and nobody outside the firm replies within the wait, Lawtte replies in that same thread with `body`. It repeats up to `maxFollowups` times. | Limit | Email | Text | | - | - | - | | Follow-ups per agent (`sequences`) | up to 4 | up to 4 | | `trigger` | at least 6 characters, each one different | at least 3 words, each one different | | `waitBusinessDays` | 1–30 (default 5) | 1–30 (default 2), or `waitHours` 1–72 | | `maxFollowups` | 1–12 (default 3) | 1–6 (default 2) | | `lookbackDays` | 1–60 (default 14) | 1–60 (default 7) | | Wording | paragraphs | about 306 plain characters; no emoji, link shorteners or `[fill-ins]` | Call agents: `recipientType` is `client`, `witness`, `adjuster`, `business_office` or `other`. `collect` is up to 10 short items, and `voicemail` is `leave` or `hang_up`. ## Change an existing agent **Turn it on or off.** Use `manage_agent` with the agent's `request_id` or `recipe:` `agent_id`: `pause`, `resume`, `back_to_test_mode`, `go_live` or `remove`. **Change its settings.** Pick one of two ways: * **Propose, then apply.** `get_agent` returns its `editable` fields. Send only what changes to `propose_agent_change` as `desired`. You get back each change with an `id`, a `before` and an `after`. Show them to the user, then call `apply_agent_change` with the `proposal_id` (and `accept` to apply only some). This is the only way to change **built-in** agents (`builtin:…`). * **Replace the config.** `manage_agent` with `action: "update"` and the full new `recipe` (and an optional `name`). It's for `recipe:` agents only. To turn a built-in agent on or off, send `desired: { "status": "live" }` (or `paused`, `resume`, `removed`) on its own to `propose_agent_change`. ## House rules and settings `get_builder_settings` returns the house rules, the Agent Builder's name and how it talks, the default inbox, text line and calling number, and every inbox, text line and number the firm has. `update_builder_settings` changes them. Fields you leave out keep their values. | Field | What it does | | - | - | | `add_house_rules` | Adds rules, one per item, and keeps the existing ones. Repeats are skipped. | | `house_rules` | Replaces all of them (up to 4,000 characters). Confirm with the user first. | | `builder_name`, `builder_style` | What the Agent Builder is called (up to 40 characters) and how it talks. | | `default_email`, `default_text`, `default_call` | The default inbox (mailbox id), text line (line id) or calling number (E.164). `null` clears it. | New house rules apply to agents designed from then on. Existing agents keep their wording until you change them, so offer to update the ones a new rule affects. ## Phone numbers * **Studio account with no number:** `get_calling_setup_status`, then `set_up_calling`. * **A new number, or the firm's name on caller ID:** `request_phone_number` with `kind: "new"` (optional `area_code`) or `kind: "brand"` (with `phone`), plus `caller_id_name`: up to 15 letters, numbers and spaces, like `OCONNOR LAW`. The Lawtte team sets it up by hand, usually within a business day. * **Connecting an inbox** needs a Microsoft 365 or Google sign-in in the dashboard: **Agents → Settings → Channels → Connect an inbox**. Send the user there. ## `manage_agent` actions | Action | Sends? | What it does | | - | - | - | | `launch` | no | Draft → running in Test mode | | `preview` | no | What it would pick up now | | `practice_run` | no | Replays the last two weeks of real threads | | `test_check` | no | Runs now without sending | | `check_now` | **yes, if live** | Runs now | | `go_live` | **yes** | It sends by itself from now on | | `pause` / `resume` / `back_to_test_mode` | no | Turns it off, back on, or back to Test mode | | `update` | changes a live agent | Replaces its config with `recipe` | | `send_to_lawtte_team` | no | Lawtte's team builds it | | `remove` | stops it | Stops it for good | | `call_check` | no | Whether a call agent may call this person now. Pass `call`. | | `call_place` | **yes, dials** | A real AI call from a live call agent. Pass `call`: `name`, `phone`, `consent_confirmed`, `represented_by_counsel`, and `fields` for placeholders. | ## Errors Errors come back as tool results with plain text, for example *"This agent is already launched or with the Lawtte team. Change it with propose\_agent\_change."*, or a list of `launch_problems`. They're written so you can act on them: fix the field or ask the user. An unexpected error says nothing was changed. Every build records the app that made it (`built_with`), from the name your client registered at sign-in. API keys record as **Lawtte MCP**. See [connector tools](/mcp/tools#agent-builder-tools) for the full tool list. # What our agents are built on Source: https://api.lawtte.ai/agent-builder/legal-training Lawtte's agents start from intake and follow-up setups proven on live calls at real law firms, practice-area question banks, a library of legal workflows, and guardrails like no legal advice. Your firm's data isn't used to train AI models. A generic chatbot doesn't know that an injury intake needs the date of the accident, or that a receptionist must never guess at a settlement. Lawtte's agents start from the work of real law firms, and the rules that keep that work safe are built in. ## Built from live law firm work Our receptionist setups were first written and tuned for firms Lawtte answers calls for every day, across family law, personal injury, lemon law and immigration. Those live setups are what new receptionists start from. > [card] 7 practice-area intake playbooks > > Family law, personal injury, lemon law, immigration, criminal defense, employment > law, and a general one. Each has its own intake questions, follow-up questions for > specific case types, and rules for what's urgent. > [card] 178 legal workflows > > Our skills library covers personal injury, employment, family law, estate > planning, business law, real estate, litigation, immigration and criminal defense. > It's public at [lawtte.ai/skills](https://www.lawtte.ai/skills). > [card] 38 agent templates > > Follow-ups lawyers actually send: demand receipts, signed releases, policy > limits, records requests, RFE documents, mediation prep, signature reminders. > [card] Your firm's own rules > > House rules you write once, like "CC Karina on manufacturer emails", apply to > every agent the builder designs. Every intake starts and ends the same way: name and best number first, then the practice area's questions, then whether they already have a lawyer, how they found you, and the best time to call back. Where it matters, there's a conflict check on the other party. ## Guardrails that don't move These are part of every agent. A prompt or a chat message can't turn them off. > [accordion] On the phone > > * Never gives legal advice or predicts how a case will turn out. > * Never promises the firm will take the case, quotes fees, or estimates a > settlement or a timeline. > * Treats the call as intake only: no attorney-client relationship is formed. > * Doesn't collect Social Security or financial account numbers. > * In an emergency, tells the caller to call 911. > * Keeps speaking the caller's language. > * Every outbound call opens by saying it's a virtual assistant calling for your > firm, and that the call is recorded. > [accordion] Before an outbound call > > * Calls only people who agreed to be called, and never someone who has their own > lawyer on the matter. > * Calls only between 8am and 9pm in their time zone, and yours. > * Checks your Do Not Call list, with a daily limit per firm and no repeat calls > to the same number within 2 hours. > [accordion] Texts and emails > > * Texts honor STOP right away, go out on weekdays from 9am to 8pm in the > person's time zone, and send at most one agent text per person per day. > * Every email checks your Do Not Email list first. > * Follow-ups stop the moment someone replies. ## Your data stays yours * **Not used for training.** The Agent Builder sends AI requests only to providers that don't store them or train on them. * **We don't fine-tune models on your calls.** Your agents get better because you tell them what to change: your wording, your house rules, your answers to the builder's questions. * **After every call** you get a summary, the key points, whether they need a callback and why, and the caller's tone. Use it to tune what your agent says next time. # Agent Builder Source: https://api.lawtte.ai/agent-builder/overview Describe the follow-up you keep meaning to do, and Lawtte's Agent Builder turns it into an AI agent that emails, texts or calls for your firm. Build it yourself in the dashboard, or from Claude, Grok Bot or any MCP client. Every firm has a list of follow-ups that fall through the cracks: the adjuster who never confirmed the demand, the client who still hasn't sent the repair order, the signature that's three days late. The **Agent Builder** turns each of those into an agent that does the chasing for you. You say what you want in plain words, it builds the agent, you watch it in Test mode, and when it looks right you take it live. > [card] Emails > > Replies in your own thread when someone goes quiet, and stops the moment they > answer. > [card] Texts > > Nudges clients from your firm's number during business hours, with opt-out built > in. > [card] Calls > > An AI call to one person with one objective, with a summary of what it learned. ## Two ways to build > [card] [In your dashboard](/agent-builder/build-in-the-dashboard) > > Open **Agents**, pick a template or describe the agent to the builder, and launch > it. No setup, no code. > [card] [From your own AI](/agent-builder/connect-your-ai) > > Connect Claude, Grok Bot, Claude Code, Cursor or any MCP client and build by > chatting. Same builder, same agents. Wherever you build, it's one set of agents. The ones your AI builds show up in your dashboard tagged **via Claude**, **via Grok Bot** or with your app's name. ## How every agent goes live **1. Describe it, or start from a template** "Follow up with the manufacturer if they don't answer the release request in 5 business days." The builder asks only what it still needs: which inbox, how often, when to stop. **2. Check the blueprint** A card fills in as you talk: what it does, when it runs, who it contacts, the wording, and when it stops. **3. Launch in Test mode** It watches your real inbox or text line and shows what it would send. **Nothing goes out.** **4. Go live** When you're happy, go live. You can pause it, change it or send it back to Test mode any time. ## Good to know * **It knows legal work.** Agents start from practice-area templates and a library of legal workflows, with guardrails like no legal advice. See [what our agents are built on](/agent-builder/legal-training). * **It sends as you.** Emails go from your own inbox and texts from your firm's number, and calls can show your firm's name. See [email and phone numbers](/agent-builder/email-and-phone-numbers). * **It respects your lists.** Do Not Call, Do Not Email and text opt-outs apply to every agent. * **Bigger ideas are welcome.** If what you describe needs more than an email, text or call agent, send it to the Lawtte team from the builder and we'll build it. # Archive a saved agent Source: https://api.lawtte.ai/api-reference/agents/archive-a-saved-agent /api-reference/openapi.json delete /agents/{id} Removes the agent from your list so it can't be run. Its past calls are kept. Key permission: **Read history and place calls**. # Create a saved agent Source: https://api.lawtte.ai/api-reference/agents/create-a-saved-agent /api-reference/openapi.json post /agents Saves a reusable outbound call. Start from a starter `template`, or give every field. Places no call. Up to 50 per account. Key permission: **Read history and place calls**. # Get a saved agent Source: https://api.lawtte.ai/api-reference/agents/get-a-saved-agent /api-reference/openapi.json get /agents/{id} One saved outbound agent. Key permission: **Read call history**. # List saved agents Source: https://api.lawtte.ai/api-reference/agents/list-saved-agents /api-reference/openapi.json get /agents Your saved outbound agents with their placeholders and last-90-day results, plus starter templates you haven't saved yet. Key permission: **Read call history**. # Update a saved agent Source: https://api.lawtte.ai/api-reference/agents/update-a-saved-agent /api-reference/openapi.json patch /agents/{id} Changes the fields you send; the rest keep their values. Calls already placed are unchanged. Key permission: **Read history and place calls**. # Check a call Source: https://api.lawtte.ai/api-reference/calls/check-a-call /api-reference/openapi.json post /calls/check Runs every rule `POST /calls` would — consent, represented parties, calling hours, Do Not Call, limits — and dials, reserves and records nothing. Key permission: **Read call history**. # Get a call Source: https://api.lawtte.ai/api-reference/calls/get-a-call /api-reference/openapi.json get /calls/{id} One call: who it was with, a summary, the outcome and the duration. No transcript — use the transcript endpoint. Key permission: **Read call history**. # Get a transcript Source: https://api.lawtte.ai/api-reference/calls/get-a-transcript /api-reference/openapi.json get /calls/{id}/transcript What was said, word for word, one window at a time. Pass `next_offset` back as `offset` to continue. Key permission: **Read call history**. # List calls Source: https://api.lawtte.ai/api-reference/calls/list-calls /api-reference/openapi.json get /calls Up to 20 recent calls, newest first: calls your receptionist answered and calls Lawtte placed. Key permission: **Read call history**. # Place a call Source: https://api.lawtte.ai/api-reference/calls/place-a-call /api-reference/openapi.json post /calls Dials one real person with an objective, or runs a saved outbound agent. It can't be undone once dialing starts. Calls go out only 8am–9pm in both the recipient's and the firm's time zones, at most 50 per firm per day and one per number every two hours, never to numbers on the Do Not Call list. Try `POST /calls/check` first. Key permission: **Read history and place calls**. # Block a number Source: https://api.lawtte.ai/api-reference/do-not-call/block-a-number /api-reference/openapi.json post /dnc Adds a number to the Do Not Call list. Adding one that's already there updates it. Key permission: **Read history and place calls**. # List blocked numbers Source: https://api.lawtte.ai/api-reference/do-not-call/list-blocked-numbers /api-reference/openapi.json get /dnc Numbers your receptionist will never call. Numbers are also added automatically when someone asks not to be called again. Key permission: **Read call history**. # Unblock a number Source: https://api.lawtte.ai/api-reference/do-not-call/unblock-a-number /api-reference/openapi.json delete /dnc/{phone} Removes a number from the Do Not Call list so the receptionist may call it again. Only do this when the person has asked to be contacted. Key permission: **Read history and place calls**. # API reference Source: https://api.lawtte.ai/api-reference/introduction The Lawtte REST API: read your receptionist's calls, place AI calls, manage saved outbound agents and the Do Not Call list. The Lawtte REST API is a plain HTTPS + JSON way to do what the [Lawtte connector](/mcp/overview) does. Both run the same code, so every call follows the same rules: consent, calling hours, Do Not Call, and daily limits. | | | | - | - | | **Base URL** | `https://www.lawtte.ai/api/v1` | | **Auth** | `Authorization: Bearer lawtte_sk_…` — a [connector key](/studio/developer-access) | | **Format** | JSON in, JSON out | | **Rate limit** | 120 requests per minute per key | ## Authenticate Create a key in **Settings → AI connectors → Connector keys**. Its permission decides what it can do: | Permission | Endpoints | | - | - | | **Read call history** | Every `GET`, plus `POST /calls/check` | | **Read history and place calls** | Everything, including `POST /calls`, creating, updating and archiving saved agents, and editing the Do Not Call list | ```bash theme={null} curl https://www.lawtte.ai/api/v1/calls \ -H "Authorization: Bearer $LAWTTE_KEY" ``` Keys are for servers. A call-enabled key dials real people — never put one in browser or mobile code. ## Endpoints | | | | - | - | | `GET /calls` | Recent calls, inbound and outbound | | `POST /calls` | Place an AI call | | `POST /calls/check` | Would this call be placed? Dials nothing | | `GET /calls/{id}` | One call's outcome and summary | | `GET /calls/{id}/transcript` | What was said | | `GET /agents` · `POST /agents` | Saved outbound agents | | `GET /agents/{id}` · `PATCH` · `DELETE` | One saved agent | | `GET /dnc` · `POST /dnc` | The Do Not Call list | | `DELETE /dnc/{phone}` | Unblock a number | ## Errors Every error has the same shape: ```json theme={null} { "error": { "code": "rejected", "message": "Lawtte didn't place this call. Do Not Call rule: …" } } ``` | Status | `code` | Meaning | | - | - | - | | `400` | `invalid_request` | A field is missing or invalid; the message names it. | | `401` | `unauthorized` | No key, or a wrong, revoked or expired one. | | `403` | `insufficient_scope` | The key doesn't have the permission this endpoint needs. | | `404` | `not_found` | No such call, agent, number or endpoint for this account. | | `422` | `rejected` | Lawtte refused — a call rule, a limit, or calling isn't set up — and says why. Nothing was dialed or changed. | | `429` | `rate_limited` | Over 120 requests a minute. Wait for the `Retry-After` seconds. | | `500` / `503` | `internal_error` / `unavailable` | A problem on Lawtte's side. Nothing was changed; retry with backoff. | Call limits and calling hours are on [errors and limits](/errors#calling-limits). ## Getting results back Poll `GET /calls/{id}` after placing a call, or have Lawtte push each call to you with a signed [webhook](/guides/call-webhooks). # Authentication Source: https://api.lawtte.ai/authentication How Lawtte authenticates: connector keys for the REST API and scripts, OAuth sign-in for Claude and ChatGPT. Lawtte has two developer surfaces, and one kind of key works for both: * The [REST API](/api-reference/introduction) at `https://www.lawtte.ai/api/v1` — connector keys only. * The [MCP server](/mcp/overview) at `https://www.lawtte.ai/api/mcp` — connector keys or OAuth sign-in. `initialize`, `tools/list`, `get_onboarding_questions`, and `list_voices` work with no credential; everything that touches your firm's calls needs one. The dashboard's own `/api/*` routes are not an API: they accept only a signed-in browser session. ## Sign in with OAuth (Claude, ChatGPT) The Lawtte connector for Claude doesn't use keys. Claude sends you to Lawtte, you sign in, pick one Studio calling agent, and approve the tools. Any MCP client that supports OAuth 2.1 works the same way. See [connect Claude](/mcp/connect-claude) and the [protocol reference](/mcp/server). ## Connector keys (REST API, scripts, other MCP clients) Create a key in **Settings → AI connectors → Connector keys** and send it as a bearer token: ```bash theme={null} curl https://www.lawtte.ai/api/v1/calls \ -H "Authorization: Bearer $LAWTTE_KEY" ``` > [card] Server-side only > > A call-enabled key dials real people and reads transcripts. Keep it in > environment variables or a secret manager, never in frontend code or a URL. > [card] One Studio agent > > A key belongs to the Studio agent it was created on, and only reaches that > agent's calls. A key carries one of two permissions — **read call history**, or **read history and place calls** — and expires after 30, 90, or 365 days. Receptionist-setup tools need OAuth; a key gets `403 insufficient_scope` for them. Full details: [connector keys and webhooks](/studio/developer-access). ## Rotating and revoking **1. Rotate a key** Create a replacement in **Settings → AI connectors → Connector keys**, update your integration, confirm it works, then revoke the old key. Keys are stored only as hashes, so a lost key can't be recovered — replace it. **2. Disconnect an OAuth app** Open **Settings → AI connectors**, find the app under **Connected apps**, and choose **Disconnect**. Access ends immediately. # Errors and rate limits Source: https://api.lawtte.ai/errors How the Lawtte connector reports errors, and the guardrails on outbound calling. > [!NOTE] > > Using the REST API? Its status codes and error shape are in the > [API reference](/api-reference/introduction#errors). This section is about the > MCP server. ## How the connector answers The MCP server (`/api/mcp`) uses HTTP status codes only for credentials. Everything else — a bad argument, an unknown call, a call Lawtte refuses — comes back as a normal `200` JSON-RPC result marked `isError: true`, with a plain-language reason your client can show the user. | Code | Meaning | What to do | | - | - | - | | `200` | The request ran. Check `isError` on tool results. | Read the text: it names the rule or field. | | `401` | No credential for a tool that needs one, or a key/token that is wrong, revoked, or expired. Body: `{"error":"invalid_token", ...}`. | Sign in again, or replace the key. | | `403` | `insufficient_scope` — for example a read-only key calling `place_call`. The body names `required_scope` and `tool`. | Use a key with **Read history and place calls**, or reconnect with OAuth. | | `503` | Lawtte couldn't check your credential. Plain-text body. | Retry with backoff. | A refused call looks like this: ```json theme={null} { "isError": true, "content": [{ "type": "text", "text": "Lawtte didn't place this call. Do Not Call rule: this number is on the firm's Do Not Call list. ..." }] } ``` > [!NOTE] > > Two dashboard actions return `429`: creating more than 20 connector keys in an hour, > and saving or testing a webhook twice within 10 seconds. ## Calling limits Outbound calling is deliberately conservative — your firm's number is the thing being protected. > [accordion] 50 calls per firm per day > > The counter resets at UTC midnight. The 51st call is refused before dialing. > [accordion] One call per number every two hours > > A repeat within the window is refused, so a retry loop cannot pester a client. > [accordion] 8:00 a.m. to 9:00 p.m. in the recipient's and the firm's time zones > > The recipient's window is derived from their area code; the firm's from its > receptionist's office time zone. If the recipient's zone cannot be determined, > the call is refused rather than guessed. A refusal gives the next allowed time. > [accordion] Do Not Call is absolute > > Numbers on the firm's DNC list are never dialed, and the check fails closed if > the list cannot be read. > [!NOTE] > > High call volume can get a number labeled as spam by carriers, which no calling > limit can undo. Spread campaigns out. ## Idempotency `place_call` takes no idempotency key. A second call to the same number within two hours is refused, so a blind retry won't dial twice — but it also won't tell you the first call's ID. Store the returned `call_id`, and if a request timed out, check `list_calls` before retrying. # Appointments Source: https://api.lawtte.ai/guides/appointments Let your AI receptionist offer real open times and book the consultation during the call. Your receptionist can read live availability from your calendar, offer only times that are actually open, and book the consultation while the caller is still on the phone. There's no API work: you connect a calendar and choose booking as her goal. **1. Choose booking as her goal** In **AI agents**, open your receptionist and go to **When a new client calls**. Choose **Book on my calendar**. (You can also pick it in the Studio builder.) **2. Connect a calendar** Google Calendar, Outlook / Microsoft 365, or Calendly. She checks that calendar's free/busy times before offering a slot. **3. Call her and book a test consult** Confirm the event lands on your calendar with the caller's details on it. Full walkthrough, including Calendly event types: [book consultations on your calendar](/studio/calendar). > [!NOTE] > > A Studio receptionist books on one connected calendar. Booking across several > attorneys' calendars (round-robin) is custom work on managed plans — > [book a call](https://www.lawtte.ai/bookademo) if you need it. # How to build an AI receptionist and intake system Source: https://api.lawtte.ai/guides/build-an-ai-receptionist A complete guide to building an AI receptionist for a law firm — what she answers, the intake she runs, what happens to the caller afterward, and how to test her before real clients call. An AI receptionist is four decisions, not one product: **how she answers**, **what she finds out**, **what happens to the caller next**, and **who she hands off to**. Get those right and the build takes about ten minutes. Get them wrong and you have an expensive voicemail. This page is the whole picture. Follow it top to bottom and you'll have a receptionist answering your firm's calls today. > [card] [Build it yourself, no code](/studio/create-your-receptionist) > > Lawtte Studio walks you through all four decisions in a browser. > [card] [Build it from Claude](/mcp/overview) > > Set her up and place calls from the chat with the Lawtte connector. ## What you're actually building Every call runs the same four stages. An AI receptionist worth having does all four — most "AI answering services" only do the first. **1. Answer** She picks up in your firm's name, 24/7, and identifies herself as an automated assistant. No hold music, no "press 1." **2. Intake** She learns what happened, in the caller's own words, then fills in the specific facts your practice area needs — the date of the accident, whether they've been served, whether an insurer already called. **3. Outcome** One thing happens at the end of every call: the intake is emailed to your team, a consultation is booked on a real calendar, or the caller is transferred to a person. **4. Handoff** Everything she learned reaches a human in a form they can act on — a summary in an inbox, a calendar invite with the case on it, or a warm transfer with an introduction. ## Decision 1 — How she answers Three things a caller hears in the first five seconds: your firm's name, her name, and whether she sounds like your firm. * **Firm name as spoken, not as registered.** "Reyes and Cole" beats "Reyes & Cole, LLP, A Professional Corporation." * **Her name** is the one your clients will repeat back. Keep it easy to say. * **Voice and languages.** Pick the voice, then add every language your callers actually use — she opens in your first language and switches when the caller does. > [!TIP] > > Say your greeting out loud before you commit to it. Anything that's awkward to say is > awkward to hear forty times a day. ## Decision 2 — What she finds out This is where most intake systems fail, and it's not for lack of questions. It's the opposite: a list so long the caller feels processed. **A good intake has six or seven things she must learn and a dozen she'll ask only if the conversation goes there.** The difference between "always" and "when it comes up" is what makes a call feel like a conversation rather than a form. Four behaviors that matter more than the list itself: > [accordion] The caller talks first > > She asks what's going on, listens, and pulls the facts out of what they already > said. Re-asking something a caller just told you is the fastest way to sound like > a robot. > [accordion] Urgency interrupts everything > > Someone detained, a hearing tomorrow, a protective order, a safety concern — she > gets just enough to route the call and acts. She does not finish the questionnaire > first. > [accordion] The callback number comes second > > Right after the name, with the reason said out loud: "in case we get cut off." A > dropped call after a five-minute intake with no number is a lost client. > [accordion] She reads contact details back > > Numbers and emails get confirmed out loud. Transcription is good; it isn't perfect. In Lawtte you don't write this from scratch — each practice area comes with a real intake list you edit. See [her intake questions](/studio/intake-questions). ## Decision 3 — What happens to the caller next Pick one. Firms that try to do all three end up with calls that go nowhere. | Outcome | Choose it when | What you set up | | - | - | - | | **Email the intake to your team** | Your team calls leads back themselves | One inbox a human actually reads | | **Book the consultation** | The consult is your conversion step | A connected [calendar](/studio/calendar) and her booking rules | | **Transfer to a person** | You want to talk to good leads immediately | A daytime number, and a choice for [after hours](/studio/after-hours) | > [!WARNING] > > If you pick email, point it at a monitored inbox. The most common failure in a new > AI intake setup isn't the AI — it's perfect summaries landing in a shared mailbox > nobody opens until Monday. ## Decision 4 — Who she hands off to, and when Two separate things people conflate: * **Office hours** tell her when a human is available to take a transfer. They do **not** control when she answers — she answers every call, always. * **Urgent routing** overrides your hours. A caller in custody at 11pm either reaches your on-call number or generates an urgent-flagged message, depending on what you chose. Decide what you want to happen at 2am *before* you go live, not after the first 2am call. See [after-hours coverage](/studio/after-hours). ## The hard calls Three calls every receptionist gets, and every one of them is a way to lose a client or embarrass the firm: 1. **"What do you charge?"** — the safe default is that she doesn't discuss fees. If your firm quotes a consultation price or works on contingency, tell her once and she'll say it once. 2. **"I have a hearing tomorrow."** — flag it urgent, or transfer it. Your call. 3. **A salesperson pretending to be a client.** — she screens and ends the call, or points them at an email address. Whatever else she does, she won't give legal advice, predict an outcome, quote a fee you didn't give her, discuss an existing client's case, or say anything implying an attorney–client relationship. Those guardrails aren't configurable, and that's what makes it safe to let her answer every call. ## Build it in Studio **1. Open the builder** [lawtte.ai/studio](https://www.lawtte.ai/studio) — pick your practice areas, name your firm, name her. **2. Call her before you sign up** Once she has a name, a Call button appears. Role-play a real client. Free, no account. **3. Answer the four decisions** Intake list, voice and hours, the outcome, and the hard calls — each one is a screen. Full walkthrough: [create your AI receptionist](/studio/create-your-receptionist). **4. Give her a phone line** Claim a local number, then forward your office line to it or publish it directly. See [her phone number](/studio/phone-number). **5. Test, then go live** Three calls — a good new client, a current client, a salesperson. See [test her, then go live](/studio/test-and-go-live). ## Build it from Claude or your own code instead The same four stages are available through the [Lawtte MCP server](/mcp/overview) and the [REST API](/api-reference/introduction): | Stage | How | | - | - | | Configure her | `create_receptionist_draft` and `update_receptionist_draft`, then activate with `create_activation_link` (signed in with OAuth) | | Answer | Her phone number, or the [website widget](/studio/website-widget) | | Call people for the firm | `check_call`, then `place_call` — or `POST /api/v1/calls/check`, then `POST /api/v1/calls` | | Capture the intake | A signed `call_analyzed` [webhook](/guides/call-webhooks), or `GET /api/v1/calls/{id}` | | Book the consult | A connected [calendar](/studio/calendar) — she books during the call | Start at [connect Claude](/mcp/connect-claude), or the [quickstart](/quickstart) for your own code. ## Then keep improving her The build is the easy part. The firms that get the most out of an AI receptionist all do the same unglamorous thing: **they read the transcripts.** > [card] [Read every call for the first week](/studio/dashboard) > > You'll find the missing question faster than any amount of planning would. > [card] [Change one thing at a time](/studio/intake-questions) > > Adjust a question, then call her about that question. > [!TIP] > > A receptionist that's been tuned for two weeks against real transcripts outperforms a > perfectly planned one that nobody ever listened to. # Call webhooks Source: https://api.lawtte.ai/guides/call-webhooks Receive a signed event with the transcript and summary when your receptionist answers or places a call. A Studio receptionist can post each call to your own server as it happens — when it starts, when it ends, and when the post-call analysis is ready. Set it up in **Settings → Webhooks**. ## Set it up **1. Add your endpoint** Enter a public `https://` URL (port 443, IPv4), choose the events you want, and save. Each Studio agent has one endpoint, covering both the calls she answers and the calls she places. **2. Save the signing secret** A `whsec_...` secret is shown once. Saving the endpoint again makes a new one. **3. Send a test event** **Send test event** posts a `webhook.test` event, and the delivery history shows whether your server accepted it. ## Events | Event | When | | - | - | | `call_started` | The call connected. A call that fails before connecting may have no start event. | | `call_ended` | The call hung up. Usually includes the transcript. | | `call_analyzed` | The summary and extracted details are ready. Can arrive after `call_ended`. | ## Payload ```json theme={null} { "id": "4f1c2a9e-...", "event": "call_analyzed", "created_at": "2026-10-01T12:00:00.000Z", "call": { "call_id": "call_abc123", "direction": "inbound", "from_number": "+12125550100", "duration_ms": 184000, "transcript": "Agent: Thank you for calling…", "call_analysis": { "call_summary": "Caller was rear-ended on the 405 last Tuesday…" } } } ``` `call` can also carry `call_type`, `to_number`, `recording_url`, `start_timestamp`, `end_timestamp` and `disconnection_reason`, depending on the event. Nothing else is sent — no provider credentials or internal metadata. Treat transcripts and recordings as confidential. ## Respond fast, then verify Return any `2xx` within 10 seconds and do your work afterwards. Anything else — including a redirect — counts as a failure and is retried after 1, 5 and 30 minutes (four attempts in all). Events can arrive out of order or more than once: deduplicate by `id`. Every request is signed with `X-Lawtte-Id`, `X-Lawtte-Timestamp` and `X-Lawtte-Signature` (`v1=` plus an HMAC-SHA256 of `id.timestamp.rawBody`, keyed by your secret). The verification code is in [connector keys and webhooks](/studio/developer-access#payload-and-signature). ## What Lawtte does on its side You don't need a webhook for the basics. Every call is already in **Conversations** in your dashboard, and after a call the receptionist emails your team the intake summary, and can email the caller a booking link when they ask for one. The webhook is for getting the same call into your own systems. > [!NOTE] > > Practice-management and CRM sync (Clio, MyCase, Lawmatics and others) is set up per > firm by the Lawtte team on managed plans. It isn't something a webhook turns on. > [Book a call](https://www.lawtte.ai/bookademo) if you need it. # Website widget Source: https://api.lawtte.ai/guides/website-widget Add the Lawtte chat and voice widget to any site with one script tag. The widget puts your AI receptionist in the corner of your website. Visitors can type or talk, and every conversation lands in your dashboard. > [!NOTE] > > On Studio? Use [put her on your website](/studio/website-widget) — the Studio > widget has its own snippet and a domain allowlist. ## Embed Copy the snippet from **Dashboard → Website widget**, or paste this before the closing `` tag: ```html theme={null} ``` The look — colors, corner, greeting, launcher label, avatar — comes from **Dashboard → Website widget**, so you can restyle it without touching your site. The widget stays hidden if your firm has no web agent set up. ## Options | Option | Required | Description | | - | - | - | | `firmSlug` | Yes | Your firm's slug, e.g. `demo`. | | `color` | No | Fallback button color (hex) if none is saved in the dashboard. | | `position` | No | Fallback corner, `right` or `left`. | | `launcherLabel` | No | Fallback button text. Defaults to "Talk to us". | | `bubbleMessage` | No | Fallback greeting. | | `baseUrl` | No | Override for local testing. Defaults to `https://www.lawtte.ai`. | Settings saved in the dashboard win over these. ## WordPress **1. Install a code injection plugin** Use **Insert Headers and Footers**, or your theme's custom code area. **2. Paste into the footer** Settings → Insert Headers and Footers → **Footer** section. **3. Save and reload** Hard-refresh the page; the button appears in the corner you configured. In **Elementor**, add an HTML widget to the footer template with the same snippet. ## Consent and recording Voice conversations are recorded and transcribed. Make sure your site's privacy notice covers it, and check your state's recording-consent rules with your own counsel. # Lawtte documentation Source: https://api.lawtte.ai/index AI receptionists, client intake, and case automation for law firms. Lawtte answers your firm's calls, runs intake, books consultations, and keeps your practice management system up to date. Your firm's calls can be read and placed from your own code with the REST API, or from Claude through the Lawtte connector. > [card] [Build an AI receptionist](/guides/build-an-ai-receptionist) > > The complete guide: what she answers, the intake she runs, and what happens next. > [card] [Quickstart](/quickstart) > > For developers: make your first authenticated request and place a test call. > [card] [API reference](/api-reference/introduction) > > Read calls, place AI calls, manage saved agents and the Do Not Call list. > [card] [MCP server](/mcp/overview) > > Let Claude — or any MCP client — place AI calls for your firm. > [card] [Website widget](/guides/website-widget) > > Drop the chat and voice widget onto any site in one script tag. ## Running a law firm on Lawtte > [card] [Create her](/studio/create-your-receptionist) > > Every question the builder asks, and how to answer it for your firm. > [card] [Her intake](/studio/intake-questions) > > Per-practice-area question lists you edit, reorder, and add to. > [card] [Her phone line](/studio/phone-number) > > Claim a local number and forward your office line to it. ## What you can build > [card] [Outbound calls](/mcp/tools) > > Place AI calls to clients, adjusters, and offices from Claude or your own MCP client. > [card] [Intake and leads](/guides/call-webhooks) > > Capture callers as leads, enrich them from transcripts, and sync to your CRM. > [card] [Scheduling](/guides/appointments) > > Check real availability and book consultations during the call. ## Base URL All requests go to a single origin: ```bash theme={null} https://www.lawtte.ai ``` > [!NOTE] > > Need help or a Studio account? Email [contact@lawtte.ai](mailto:contact@lawtte.ai) > or open the [dashboard](https://www.lawtte.ai/dashboard). # Inbound and outbound agents Source: https://api.lawtte.ai/mcp/agents Lawtte gives your firm two kinds of AI phone agents: a receptionist that answers your calls, and outbound agents that make calls for you. What each does, which connector tools belong to which, and what they share. Lawtte runs two kinds of AI phone agents for a firm. They're separate: one answers calls, the other makes them. Claude sees the same split when you connect Lawtte. The server describes both when it connects, and every tool belongs to one side. | | **Inbound: your receptionist** | **Outbound: calls Lawtte makes for you** | | - | - | - | | What it does | Answers calls to your Lawtte number: greets callers, runs intake by practice area, books consultations or takes messages, and sends you summaries | Calls one person with one objective — an insurance adjuster, a client, a body shop — and reports what it learned | | How many | One per firm | As many calls as you place; save the ones you repeat as **saved outbound agents** | | Goes live | When you activate it on Lawtte's site, with a plan | After calling setup (a trial with a few calls) or once your receptionist is live | | Who starts the call | The caller | You, from Claude or the dashboard, after confirming the person agreed to be called | | Shows up in `list_calls` as | `direction: "inbound"` | `direction: "outbound"` | ## Connector tools by side > [card] Inbound: set up and run the receptionist > > `get_onboarding_questions`, `list_voices`, `create_receptionist_draft`, > `update_receptionist_draft`, `get_receptionist_draft`, then > `create_activation_link` and `get_activation_status`. > [card] Outbound: place calls > > `place_call` and `check_call`; saved agents with `list_outbound_agents`, > `create_outbound_agent`, `update_outbound_agent` and `archive_outbound_agent`; > first-time setup with `get_calling_setup_status` and `set_up_calling`. `list_calls`, `get_call` and `get_transcript` cover both: each call says whether it was inbound or outbound. See [connector tools](/mcp/tools) for each tool's inputs and results. ## What they share Both use your firm's **Lawtte number**, and both use your **firm's details**: practice areas, office hours, address, website, attorneys, the area you serve, your fee policy and your notes. You keep those in one place, your receptionist's settings. Outbound calls read them fresh on every call, so an adjuster who asks "what are your hours?" gets today's answer. Otherwise they're independent. Changing your receptionist's greeting or intake questions places no calls. Saving or running an outbound agent doesn't change how your incoming calls are answered. ## Asking Claude for the right one > [accordion] “Set up an AI receptionist for my PI firm” — inbound > > Claude asks the setup questions, saves a receptionist draft, and gives you the > activation link. Nothing answers your phone until you activate it on Lawtte's site. > [accordion] “Call the adjuster and confirm they got the demand” — outbound > > Claude shows you the name, number and purpose, asks you to confirm the person > agreed to be called, checks the call, and places it. It opens by introducing itself by name as a > virtual assistant calling for your firm and saying the call is recorded. > [accordion] “Save that as an agent so I can reuse it” — outbound > > Claude saves a **saved outbound agent** with `{{placeholders}}` for the details > that change, like `{{claim_number}}`. Next time: "run the adjuster follow-up for > Pat Lee's claim 88-123." > [accordion] “Who called us this week?” — inbound results > > Claude lists the calls your receptionist answered (`direction: "inbound"`) with a > summary of each. # Claude Desktop (macOS) Source: https://api.lawtte.ai/mcp/claude-desktop Run the Lawtte connector locally with a connector key instead of the web connector. Most firms should use the [web connector](/mcp/connect-claude) — it needs no install and no key. This local path exists for macOS pilots that need Lawtte inside Claude Desktop, and the same `mcp-remote` pattern works for any other stdio-only client. The [protocol reference](/mcp/server) has the generic version. ## Guided setup **1. Create a key** As the Studio account owner, open **Settings → AI connectors**, go to **Connector keys**, create a labeled key, and copy its one-time value. Lawtte stores only a hash — if you lose it, create a new one. **2. Run the helper** Download and run [`lawtte-claude-mac.sh`](https://www.lawtte.ai/claude-desktop/lawtte-claude-mac.sh) from the Connect page. It requires Node.js, installs a pinned `mcp-remote` into Claude's support folder, prompts for the key without echoing it, writes a `0600` header file, and adds `lawtte-studio` to your existing Claude Desktop config. **3. Restart Claude Desktop** Quit fully and reopen, then check **Settings → Developer** for a running `lawtte-studio` server. ## Manual setup If you prefer to wire it yourself, put the key in a file readable only by you and point `mcp-remote` at it: ```json theme={null} { "mcpServers": { "lawtte-studio": { "command": "npx", "args": [ "mcp-remote", "https://www.lawtte.ai/api/mcp", "--header-file", "/absolute/path/to/lawtte-header", "--transport", "http-only" ] } } } ``` The header file contains one line: ``` Authorization: Bearer lawtte_sk_... ``` > [!WARNING] > > Never put the key in a URL, a command argument, or a chat message. Command > arguments are visible to every process on the machine. ## Removing access Revoke the key under **Settings → AI connectors → Connector keys**. The local config stops working immediately, whether or not you remove it from the Claude Desktop config file. # Claude skills that hand off to Lawtte Source: https://api.lawtte.ai/mcp/claude-skills Free Claude skills for ten practice areas, from personal injury, family and employment law to estate planning, business, real estate, immigration, litigation and criminal defense. Each one does the drafting in Claude, then pulls the intake call from your receptionist or offers to place the follow-up call through Lawtte. Lawtte publishes free Claude skills for law firms. A skill is a folder of instructions Claude follows every time: download the .zip, upload it in Claude under **Settings → Capabilities → Skills**, or unzip it into `~/.claude/skills/` for Claude Code. Most skills end where the work turns into a phone call. When the Lawtte connector is connected, the skill uses it for that step. When it isn't, the skill says once that Lawtte can do it and links to [lawtte.ai/connect](https://www.lawtte.ai/connect). > [card] [Personal injury](https://www.lawtte.ai/skills) > > Intake to verdict: chronologies, demand letters, discovery, depositions, trial. > [card] [Family law](https://www.lawtte.ai/skills/family-law) > > Intake, disclosures, property tracing, custody evidence, parenting plans, declarations, settlements. > [card] [Employment law](https://www.lawtte.ai/skills/employment-law) > > Employee-side intake, EEOC charges, wage claims and severance, plus workplace investigations for employer counsel. > [card] [Estate planning & probate](https://www.lawtte.ai/skills/estate-planning) > > Intake, asset titling, signing prep, probate deadlines, trust administration, beneficiary letters. > [card] [Business & corporate](https://www.lawtte.ai/skills/business-law) > > Formation intake, contract and NDA review, term sheets, due diligence, signatures, compliance calendars. > [card] [Real estate](https://www.lawtte.ai/skills/real-estate) > > Purchase agreements, title reports, closings, lease abstracts, notices, HOA and defect disputes. > [card] [Immigration](https://www.lawtte.ai/skills/immigration) > > Intake, document checklists, personal statements, RFE responses, appointment reminders. > [card] [Civil litigation](https://www.lawtte.ai/skills/civil-litigation) > > Case chronologies, discovery tracking, deposition summaries, motions, client updates. > [card] [Criminal defense](https://www.lawtte.ai/skills/criminal-defense) > > Police report review, discovery tracking, court date reminders, sentencing mitigation. > [card] [More practice areas](https://www.lawtte.ai/skills/more-practice-areas) > > IP, tax, bankruptcy, nonprofit and mediation. ## How a skill uses each agent | | **Inbound: your receptionist** | **Outbound: a call Lawtte places** | | - | - | - | | Which skills | Intake skills (`pi-intake-form`, `family-law-intake-summary`, `employment-intake-summary`, `estate-planning-intake-summary`, `immigration-intake-summary` and others) | Skills whose work ends in a call to the client, like chasing missing documents or booking a review | | What Claude does | Offers to pull the caller's intake call, then fills the summary from the transcript | Offers the call once, after the work is done, and shows the name, number and purpose first | | Tools | `list_calls`, `get_transcript` | `list_outbound_agents`, `check_call`, `place_call`, `get_call` (`set_up_calling` the first time) | If your firm has a [saved outbound agent](/mcp/agents) for a skill, Claude uses it (`list_outbound_agents` with that skill's slug) instead of writing a new objective. ## What a skill will and won't do on a call Every skill follows the [limits and safety rules](/mcp/limits-and-safety), plus these: * **Asks before dialing.** Claude confirms the person gave the firm this number and agreed to be called, and never calls someone who has their own lawyer. * **Calls only your client** (or, for intake skills, the person who called you), with two narrow exceptions: the beneficiary update calls the heirs of an estate or trust your firm administers, and the employer-side HR check-in calls your client company's HR contact. Family law skills never call the other party, an ex-spouse or co-parent, or their lawyer. Employee-side employment skills never call the employer, HR, coworkers or the employer's lawyer; employer-side skills never call the complainant, the accused or a witness. * **Checks the number is safe.** Family law skills ask whether the phone might be shared with or monitored by the other party. Employment skills won't call a work phone. * **Keeps the call to logistics.** No amounts, allegations, medical details or legal advice. Criminal defense, immigration and bankruptcy reminders cover only the date, time, place and what to bring, never the case itself. Calls about a declaration or an agency charge only book a review with your team; they never go over the facts. On voicemail, it leaves a name and a callback request only. * **Some skills never call.** The protective order declaration skill doesn't offer a call at all: reach that client only through the contact method they told you is safe. ## Try it 1. Download a skill from [lawtte.ai/skills](https://www.lawtte.ai/skills) and upload it to Claude. 2. [Connect Lawtte to Claude](/mcp/connect-claude). 3. Run the skill on a real matter. When it offers the call, say yes, confirm the details, and check the result later with `get_call`. # Connect Claude Source: https://api.lawtte.ai/mcp/connect-claude Add Lawtte to Claude, set up an AI receptionist from the chat, and manage her calls. No API key. Lawtte works in Claude in two ways. A firm without Lawtte can set up an AI receptionist from the chat. A firm that already has one can place calls and read call results. Both use the same connector. ## Add the connector > [tab] Claude (web, desktop, mobile) > > **1. Copy the Lawtte server address** > > ```bash theme={null} > https://www.lawtte.ai/api/mcp > ``` > > **2. Add Lawtte as a custom connector** > > In Claude, open [connector settings](https://claude.ai/customize/connectors), > choose **Add custom connector**, name it **Lawtte**, and paste the server > address. Leave the advanced settings empty. > [tab] Claude Code > > ```bash theme={null} > claude mcp add --transport http lawtte https://www.lawtte.ai/api/mcp > ``` > > Then run `/mcp` in a Claude Code session and choose **lawtte** to sign in > when you're ready. You don't need to sign in to start. Claude can show you the setup questions and voices straight away, and asks you to sign in the first time it needs your account. ## Set up a receptionist from the chat **1. Ask Claude** For example: > I run a two-attorney personal injury firm in Sacramento. Set up an AI > receptionist that answers after hours and books consultations. Claude asks the setup questions — practice areas, office hours, what she should do with new callers, voice and languages — and suggests a default for each, by practice area. **2. Sign in when Claude asks** The first time Claude saves your answers, a **Connect** button appears in the chat. Sign in with Google, Microsoft, or a one-time link sent to your email. If you don't have a Lawtte account, this creates one. You'll see exactly what Claude is asking to do before you allow it. **3. Review the draft** Claude saves a **draft** and shows you a summary. Ask for any changes: a different greeting, hours, intake questions or voice. A draft takes no calls. **4. Activate on Lawtte's site** Ask Claude to activate her. It gives you one link to Lawtte's activation page, where you review her, choose a plan, accept the terms and add a card. Nothing is charged and nothing is accepted in the chat. The link works only for your account and expires after an hour; ask Claude for a new one if it does. **5. Forward your calls** When she's live, the page — and Claude, if you ask for her status — shows her phone number and how to forward your office line to her. ## Manage calls Once your receptionist is live, Claude can list her recent calls, summarize one, read a transcript, check whether a number can be called, and place an outbound call. A real call always needs your confirmation in the chat. See [connector tools](/mcp/tools) for each tool and [limits and safety](/mcp/limits-and-safety) for the calling rules. ## What Claude can't do * **Take payment or accept terms.** Those happen only on Lawtte's activation page. * **Turn a receptionist on.** Only activating on Lawtte's site does that. * **Read your Claude conversations, memory or files.** Lawtte only receives what a tool sends it. * **Accept card numbers, government IDs or passwords.** Tools refuse them. ## Disconnecting Open **Settings → AI connectors**, find the app under connected apps, and choose **Disconnect**. Access ends immediately, and your receptionist and call history stay in your dashboard. > [!NOTE] > > Prefer to run it locally on a Mac instead of as a web connector? See > [Claude Desktop](/mcp/claude-desktop). # Connect Grok Bot Source: https://api.lawtte.ai/mcp/connect-grok-bot Add Lawtte to Grok Bot, then place calls, check call status and read transcripts from the chat. No API key. Grok Bot connects to the same Lawtte server as Claude. Once you sign in, it can set up calling, check whether a number can be called, place an outbound AI call after you confirm it, and read your calls and transcripts. ## Add the connector **1. Copy the Lawtte server address** ```bash theme={null} https://www.lawtte.ai/api/mcp ``` **2. Add Lawtte in Grok Bot** In a Grok Bot chat, ask: **"Add the Lawtte connector."** Or add a custom MCP server in Grok Bot's settings and paste the server address. Leave any advanced settings empty. **3. Sign in when the connect card appears** Sign in to Lawtte and approve access for your firm's receptionist. If you don't have a Lawtte account, this creates one. One sign-in covers one receptionist; to switch firms or receptionists, connect again. **4. Try it** For example: > List my recent Lawtte calls. > Check whether we can call Maria Lopez at (916) 555-0142 before dialing. You don't need to sign in to start. Grok Bot can show you the setup questions and voices straight away, and asks you to sign in the first time it needs your account. ## What Grok Bot can do * **Set up calling** for your firm, and check what's still missing. * **Check a call before dialing.** It runs the same rules as a real call without placing one. * **Place an outbound AI call.** A real call always needs your confirmation in the chat. * **List calls and read transcripts**, inbound and outbound. * **Draft a receptionist** and give you the link to activate her on Lawtte's site. * **Save outbound agents** you can reuse for repeat calls. * **Build and run agents in the Agent Builder:** create, launch, go live, pause, change and remove them. New agents show as "via Grok Bot" in your dashboard. See [Connect your AI](/agent-builder/connect-your-ai). See [connector tools](/mcp/tools) for each tool and [limits and safety](/mcp/limits-and-safety) for the calling rules. ## What Grok Bot can't do * **Take payment or accept terms.** Those happen only on Lawtte's activation page. * **Turn a receptionist on.** Only activating on Lawtte's site does that. * **Dial without your confirmation.** * **Call someone without consent, or someone represented by counsel.** Lawtte refuses these calls. * **Accept card numbers, government IDs, dates of birth or passwords.** Tools refuse them. ## Disconnecting Open **Settings → AI connectors**, find the app under connected apps, and choose **Disconnect**. Access ends immediately, and your receptionist and call history stay in your dashboard. > [!NOTE] > > Grok Bot uses the same server and tools as Claude. If something isn't working, > see [troubleshooting](/mcp/troubleshooting). # Limits and safety Source: https://api.lawtte.ai/mcp/limits-and-safety The guardrails around connector calling, and why each one exists. Outbound AI calling can burn a firm's phone number and its reputation. These limits are enforced server-side, before any dialing, and they fail closed: if a check cannot be completed, the call does not happen. > [card] 50 calls per day > > Per firm, resetting at UTC midnight. The 51st is refused. > [card] One call per number every 2 hours > > A repeat inside the window is refused, so nobody gets called twice in a row. > [card] 8:00 a.m. – 9:00 p.m., both time zones > > Inside the window for the recipient (from their area code) **and** for your firm > (your receptionist's office time zone). Unknown recipient zone means no call. > [card] Three-minute ceiling > > The objective agent is capped at 180 seconds per call. ## Calling hours A call goes out only when it is between 8:00 a.m. and 9:00 p.m. in the recipient's local time, worked out from the number's area code, and also in your firm's time zone (the one set for your receptionist's office hours). If your firm's time zone isn't set, only the recipient's time applies. A refusal says when the next allowed time is, in the recipient's local time — for example *"Next allowed: Tue 8:00am Pacific."* ## Who can be called Every `place_call` (and `check_call`) states who the person is and confirms two facts. Lawtte refuses the call otherwise. | Input | Rule | | - | - | | `consent_confirmed` | Must be `true`: you confirmed this person gave your firm this number and agreed to be called. | | `represented_by_counsel` | Must be `false`. Lawtte doesn't call people who have their own lawyer about the matter; contact their counsel instead. | | `recipient_type` | `client`, `adjuster`, `business_office` or `other`. `witness` is refused while witness calls are turned off, which is the default. The type is saved on the call record. | ## What a call brief can't contain `objective` and `context` are refused if they contain a Social Security number, a card or bank account number, a date of birth, a password or one-time code, or health information such as a diagnosis, prescription, test result or medical record number. The check is narrow on purpose: the accident, the injury, ongoing or finished treatment and medical bills are all fine. Refused text is never logged. ## Do Not Call If someone asks not to be contacted, the agent acknowledges it and ends the call politely, the number is added to your firm's Do Not Call list, and the call's summary says so. Nothing in Lawtte dials a listed number again — and if the list cannot be read, the call is refused rather than risked. Add or remove numbers by hand in **Settings → Do Not Contact**. ## Disclosure and scope Every connector call opens with the same fixed line, built by Lawtte's server from your firm's name and your receptionist's name: *"Hi, this is , a virtual assistant calling on behalf of . This call is recorded."* It is spoken before the agent reads the objective, and nothing in `objective` or `context` can change or remove it; a brief that asks the agent to hide that it is an AI, or to pose as a person, is refused. The agent does not give legal advice. Asked a substantive legal question, it tells a client *"Your attorney will call you about that"* (and anyone else that an attorney from the firm will call). On voicemail it leaves a short message with the firm name and a callback number — unless a saved outbound agent is set to hang up at voicemail. ## Spam labeling > [!WARNING] > > No limit can undo a carrier marking your number as spam. Sustained high volume, > short calls, and repeat dialing all contribute. Keep campaigns small and spread out. ## Minutes Connector calls use your Studio minutes, the same as a call to her phone line. `check_call` uses none — it runs every check and dials nothing. # The Lawtte MCP server Source: https://api.lawtte.ai/mcp/overview Lawtte's Model Context Protocol server lets Claude or any MCP client set up a law firm's calling and AI receptionist from the chat, place AI phone calls for the firm, and read the outcomes. Lawtte runs an MCP server at `https://www.lawtte.ai/api/mcp`. Connect Claude or any MCP client to it and that client can **set your firm up for calling** in two questions, **place an outbound AI phone call**, **read what happened on one**, **read the transcript**, **list recent calls** — including the ones your receptionist answered — and **set up a full AI receptionist** that activates on Lawtte's site. You don't need a Lawtte account to start; one is created when you sign in. You describe the objective in plain language — "call Maria and confirm she received the settlement paperwork" — and Lawtte dials from your firm's own number, runs the call, and hands back a summary. > [card] [Connect Claude](/mcp/connect-claude) > > Add the connector, sign in when Claude asks, and make your first call. No API key. > [card] [Connect any other client](/mcp/server) > > Endpoint, OAuth discovery, and tool schemas for your own integration. > [card] [Inbound and outbound agents](/mcp/agents) > > Your receptionist answers calls; outbound agents make them. Which tools are which. > [card] [What the tools do](/mcp/tools) > > Calling setup, `place_call` and `check_call`, call results, and receptionist setup. > [card] [Guardrails](/mcp/limits-and-safety) > > Calling hours, consent and AI disclosure, Do Not Call, and daily caps. ## What a client gets | Tool | What it does | | - | - | | `place_call` | Dials one real person with an objective you supply. Marked destructive. | | `check_call` | Whether `place_call` would dial a number right now. Dials and records nothing. | | `get_call` | What happened on one call: outcome, summary, duration — for calls it placed *and* calls your receptionist answered. | | `get_transcript` | What was said, word for word, a window at a time. | | `list_calls` | Up to 20 recent calls, filterable by time, status, and direction. | It also has four tools for [saved outbound agents](/mcp/tools#saved-outbound-agents), two for [calling setup](/mcp/tools#calling-setup-tools), seven for [setting up a new receptionist](/mcp/tools#receptionist-setup-tools) from Claude, and four [Agent Builder tools](/mcp/tools#agent-builder-tools) for building and changing your email, text and call agents. Nothing else is exposed — no resources, no prompts, and no access to your firm's case data. ## Which clients work Any client that speaks MCP over streamable HTTP and can carry a bearer token. > [card] [Claude](/mcp/connect-claude) > > As a custom connector, over OAuth. The path most firms take. > [card] [Grok Bot](/mcp/connect-grok-bot) > > By URL, over OAuth. Same server and tools as Claude. > [card] [Local / stdio clients](/mcp/claude-desktop) > > Via `mcp-remote` with a connector key in a header file. > [card] [Your own software](/mcp/server) > > Any MCP SDK. Register dynamically, no pre-issued credentials. ## Requirements > [!NOTE] > > Anyone can connect and set up a receptionist from Claude; a Lawtte account is > created at sign-in. The **call tools** need a live Studio receptionist with a > calling number. Set one up from Claude or at > [lawtte.ai/studio](https://www.lawtte.ai/studio). For the call tools: * A Studio account that is not paused, with a calling number assigned. * The Lawtte objective-calling agent enabled for your account. * A client that supports custom MCP servers. ## How a call actually runs **1. The client asks** "Call Jane Doe at +1 212 555 0100 and find out whether she has the repair estimate yet." **2. The user confirms** `place_call` is marked destructive, so a well-behaved client asks before dialing. `check_call` runs every check without placing a call. **3. Lawtte dials** The call comes from your Studio number. It opens with a fixed line introducing itself by name as a virtual assistant calling on behalf of your firm and saying the call is recorded, and the agent never gives legal advice. **4. The outcome comes back** When the call ends: whether the objective was met, a short summary, the suggested next step, and whether the person asked not to be called again. > [!WARNING] > > These are real calls to real people, and they use your Studio minutes. Every call > is subject to [the limits](/mcp/limits-and-safety), which are enforced server-side > before dialing and fail closed. # Protocol reference Source: https://api.lawtte.ai/mcp/server Technical reference for the Lawtte MCP server — endpoint, transport, OAuth 2.1 discovery and authorization, API-key auth, tool schemas, and error responses for any MCP client. The protocol-level detail for connecting any MCP client to Lawtte. For what the server is and who can use it, start at [the Lawtte MCP server](/mcp/overview); to get it working in Claude without any of this, use [connect Claude](/mcp/connect-claude). ## Endpoint | | | | - | - | | **Server URL** | `https://www.lawtte.ai/api/mcp` | | **Transport** | Streamable HTTP (`GET` and `POST` on the same URL) | | **Capabilities** | `tools` only — no resources, no prompts, no sampling | | **Scopes** | `calls:read`, `calls:write`, `receptionist:read`, `receptionist:write` | | **Auth** | OAuth 2.1 (preferred) or a Lawtte connector key | | **CORS** | Open, with `authorization`, `content-type`, `mcp-protocol-version` allowed; `OPTIONS` returns `204` | > [!NOTE] > > Call tools act for one **Lawtte Studio** receptionist. An account that connected > before it had a receptionist (for example, a firm signing up from Claude) is > signed in; `place_call` and `check_call` answer with a tool error naming > `set_up_calling` until it has run, and the read tools report no calls yet. After > `set_up_calling`, the call tools act for the account's trial receptionist, and > after activation for the activated one, without reconnecting. ## Discovery The server uses lazy authentication. `initialize`, `tools/list` and any public tool work without a token. Calling a tool that needs an account without a token returns `401` with the OAuth 2.0 Protected Resource Metadata (RFC 9728) pointer in `WWW-Authenticate`: ```bash theme={null} curl -i -X POST https://www.lawtte.ai/api/mcp \ -H "content-type: application/json" \ -H "accept: application/json, text/event-stream" \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_calls","arguments":{}}}' ``` ```http theme={null} HTTP/2 401 www-authenticate: Bearer error="invalid_token", error_description="Sign in to Lawtte to use this tool.", resource_metadata="https://www.lawtte.ai/.well-known/oauth-protected-resource/api/mcp" ``` A request that sends a token the server can't verify (expired, revoked or malformed) gets the same `401` on every method, so a client knows to refresh. That document names the authorization server: ```json theme={null} { "resource": "https://www.lawtte.ai/api/mcp", "authorization_servers": ["https://.supabase.co/auth/v1"], "bearer_methods_supported": ["header"] } ``` > [!WARNING] > > Follow the discovery chain rather than hard-coding the authorization server. It is > an implementation detail and can move; the resource metadata URL will not. ## OAuth 2.1 The authorization server publishes standard metadata at `/.well-known/oauth-authorization-server` and supports: | Feature | Value | | - | - | | Grant types | `authorization_code`, `refresh_token` | | PKCE | `S256` (use it — `plain` is advertised but don't) | | Response types | `code` | | Scopes | `openid`, `profile`, `email`, `phone`, `offline_access` | | Dynamic client registration | Supported (RFC 7591) | Because registration is dynamic, a client needs no pre-issued credentials. The flow: **1. Register** `POST` to the `registration_endpoint` from the authorization server metadata. You get a `client_id` back. **2. Authorize** Send the user to the `authorization_endpoint` with PKCE. Request `offline_access` if you want a refresh token. **3. The user picks a receptionist** Lawtte shows its own consent screen: the user signs in, chooses **one** Studio calling agent, and approves the call tools. That choice is stored as a grant against your `client_id` and their user — it's what the server later resolves a token to. **4. Exchange and call** Swap the code at the `token_endpoint` and send the access token as `Authorization: Bearer ` on every MCP request. > [!NOTE] > > One grant is one receptionist. A token never spans two Studio accounts, and a user > who wants to switch re-approves. Grants are revocable at any time from > **Settings → AI connectors**, and revocation takes effect immediately. ## Connector-key authentication For clients that can't do OAuth — a local `mcp-remote` setup, a script, CI — the server also accepts a Lawtte connector key as a bearer token: ```http theme={null} Authorization: Bearer lawtte_sk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ``` Keys are created by the Studio account owner in **Settings → AI connectors → Connector keys**, shown once, and stored only as a SHA-256 hash. A key is bound to one Studio agent and carries `calls:read`, or `calls:write` (which includes read). Receptionist-setup tools need the `receptionist:*` scopes, which only an OAuth grant has, so a key gets `403 insufficient_scope` for them. > [!WARNING] > > A key can place real phone calls. Keep it in a file or secret store, never in a URL > or a command argument — arguments are visible to every process on the machine. See > [Claude Desktop](/mcp/claude-desktop) for the header-file pattern. ## Tools The call tools and the receptionist setup tools are described in plain language in [connector tools](/mcp/tools). The `initialize` response carries `instructions`: a short description of Lawtte's two kinds of agents (the inbound receptionist and outbound calls) and which tools belong to each. See [inbound and outbound agents](/mcp/agents). The schemas, for a client that needs them: ```json place_call theme={null} { "name": { "type": "string", "minLength": 1, "maxLength": 120 }, "phone": { "type": "string", "minLength": 7, "maxLength": 32 }, "recipient_type": { "enum": ["client", "witness", "adjuster", "business_office", "other"] }, "consent_confirmed": { "type": "boolean" }, "represented_by_counsel": { "type": "boolean" }, "objective": { "type": "string", "minLength": 1, "maxLength": 1000 }, "agent_id": { "type": "string", "format": "uuid" }, "fields": { "type": "object", "propertyNames": { "pattern": "^[a-z][a-z0-9_]{0,29}$" }, "additionalProperties": { "type": "string", "minLength": 1, "maxLength": 200 } }, "context": { "type": "string", "maxLength": 1000 } } ``` ```json check_call theme={null} { "name": { "type": "string", "minLength": 1, "maxLength": 120 }, "phone": { "type": "string", "minLength": 7, "maxLength": 32 }, "recipient_type": { "enum": ["client", "witness", "adjuster", "business_office", "other"] }, "consent_confirmed": { "type": "boolean" }, "represented_by_counsel": { "type": "boolean" }, "objective": { "type": "string", "minLength": 1, "maxLength": 1000 }, "agent_id": { "type": "string", "format": "uuid" }, "fields": { "type": "object", "propertyNames": { "pattern": "^[a-z][a-z0-9_]{0,29}$" }, "additionalProperties": { "type": "string", "minLength": 1, "maxLength": 200 } }, "context": { "type": "string", "maxLength": 1000 } } ``` ```json get_call theme={null} { "call_id": { "type": "string", "format": "uuid" } } ``` ```json get_transcript theme={null} { "call_id": { "type": "string", "format": "uuid" }, "max_chars": { "type": "integer", "minimum": 500, "maximum": 20000 }, "offset": { "type": "integer", "minimum": 0 } } ``` ```json list_calls theme={null} { "since": { "type": "string", "format": "date-time" }, "status": { "enum": ["blocked", "dialing", "in_progress", "completed", "failed"] }, "direction": { "enum": ["inbound", "outbound"] } } ``` ```json get_calling_setup_status theme={null} {} ``` ```json set_up_calling theme={null} { "firm_name": { "type": "string", "minLength": 1, "maxLength": 120 }, "callback_handling": { "oneOf": [ { "mode": { "const": "forward" }, "callback_number": { "type": "string", "minLength": 7, "maxLength": 32 } }, { "mode": { "const": "take_message" }, "notify_email": { "type": "string", "minLength": 3, "maxLength": 254 } } ] }, "timezone": { "enum": ["America/New_York", "America/Chicago", "America/Denver", "America/Phoenix", "America/Los_Angeles", "America/Anchorage", "Pacific/Honolulu"] }, "state": { "type": "string", "minLength": 2, "maxLength": 2 } } ``` `get_calling_setup_status` carries `readOnlyHint: true`. `set_up_calling` carries `readOnlyHint: false`, `destructiveHint: false` and `idempotentHint: true`: running it again updates the settings and never provisions a second number. On an account without a card it starts a trial — one dedicated calling number, `TRIAL_CALLS` calls (3 by default), each capped at the shorter of `TRIAL_CALL_MAX_MINUTES` (5 by default) and the calling agent's own 3-minute limit. Trial accounts need a confirmed email, get one trial per firm email domain (per address on personal mailboxes), and lose an unactivated number after `TRIAL_NUMBER_DAYS` (14 by default). `place_call`, `check_call` and `get_call` include `trial_calls_remaining` for a trial account. Trial calls aren't metered or billed. Activation on the Lawtte activation page upgrades the same receptionist and keeps its number. `place_call` carries `destructiveHint: true` and `openWorldHint: true`; the read tools carry `readOnlyHint: true`. A client that surfaces those hints should require confirmation before `place_call` — it dials a real person. `name`, `phone`, `consent_confirmed` and `represented_by_counsel` are always required. A call either brings its own `objective` and `recipient_type`, or runs a saved outbound agent with `agent_id` (plus `fields` for its placeholders) — not both: `objective` with `agent_id` is an error, and `fields` without it is too. Both tools are strict: an unknown argument is an error, not ignored. `place_call` and `check_call` share one schema and one rule set, so `check_call` returning `allowed: true` means `place_call` with the same arguments, at the same moment, would dial. > [!WARNING] > > `objective` and `context` are rejected outright if they contain a Social Security > number, a payment-card or bank account number, a date of birth, a password or > one-time code, an API key, or health information (a diagnosis, prognosis, > prescription, test result, medical record number or a sensitive condition). They > are also rejected if they try to suppress the AI or recording disclosure. Ordinary > injury-case language — the accident, the injury, ongoing or finished treatment, > medical bills — is fine. Every call opens with a fixed line the server builds from your firm's name and your receptionist's name: *"Hi, this is , a virtual assistant calling on behalf of . This call is recorded."* It is sent as the call's first message and nothing in `objective` or `context` can change or remove it. Results come back as a text content block holding JSON. Trailing whitespace and key order aren't guaranteed; parse it, don't pattern-match it. ## Scopes | Scope | Grants | | - | - | | `calls:read` | `get_call`, `get_transcript`, `list_calls`, `check_call`, `get_calling_setup_status` | | `calls:write` | `place_call`, `set_up_calling` — and implies `calls:read` | | `receptionist:read` | Reading a receptionist draft and its activation status | | `receptionist:write` | Creating and changing a receptionist draft — and implies `receptionist:read` | Don't put these scopes in your authorization request — the authorization server only accepts OIDC scopes and rejects the request. Ask for none of them (or only `openid` / `offline_access`) and the consent screen offers every scope; the user approves and Lawtte records the grant on its side. Call a tool without the scope for it and you get `403` with a step-up challenge: ```http theme={null} HTTP/1.1 403 Forbidden WWW-Authenticate: Bearer error="insufficient_scope", resource_metadata="https://www.lawtte.ai/.well-known/oauth-protected-resource/api/mcp", error_description="The place_call tool requires the calls:write scope." ``` Respond by re-authorizing once without a `scope` (the consent screen then offers every scope), then retry once — don't loop. > [!NOTE] > > **Clients that don't use scopes keep full access.** A connection that asked for > none of our scopes — including every connector authorized before scopes existed — > is treated as holding all of them. A client that never requested a scope can't step > up to one, so refusing it would break it for no security gain. Connector keys > created before key permissions existed likewise carry every scope; newer keys > carry only the permission chosen when they were created. ## Errors | Status | Meaning | What a client should do | | - | - | - | | `401` | No token on a tool that needs an account, an invalid or expired token, or a revoked grant | Refresh the token, or re-run discovery and re-authorize. Don't retry the same token. | | `503` | The credential store is unreachable; the server fails closed rather than dialing | Retry with backoff. No call was placed. | Business-rule refusals are **not** HTTP errors. A call blocked by consent, a represented party, the recipient type, the Do Not Call list, the daily cap, the two-hour repeat rule, calling hours, an account that isn't set up for calling (the text names `set_up_calling`) or a trial with no calls left (the text names `create_activation_link`) comes back from `place_call` as a tool error (`isError: true`) whose text names the rule that failed and what would change the answer — surface it to the user. `check_call` returns the same text as `{ "allowed": false, "reason": "…" }`. Bad input gets the same treatment, naming the field to fix. See [limits and safety](/mcp/limits-and-safety). ## Connecting a client > [accordion] MCP Inspector > > Point it at `https://www.lawtte.ai/api/mcp` with an `Authorization: Bearer ` > header, or let it run the OAuth flow. Good for confirming the tool list and > running `check_call` before you write any code. > [accordion] mcp-remote (stdio clients) > > For clients that only speak stdio: > > ```bash theme={null} > npx mcp-remote https://www.lawtte.ai/api/mcp \ > --header-file /absolute/path/to/header-file \ > --transport http-only > ``` > > The header file holds one line: `Authorization: Bearer lawtte_sk_…` > [accordion] Your own client > > Any MCP SDK works. Connect over streamable HTTP to the server URL, attach the > bearer token, and call `tools/list` to confirm you see `place_call`, > `check_call`, `get_call`, `get_transcript`, `list_calls` and the receptionist > setup tools. The list is the same with or > without a token; the token decides which calls succeed. ## Before you go to production > [!TIP] > > Run `check_call` first with the exact arguments you'll send to `place_call`. It > performs every check — consent, represented party, recipient type, call content, > number validation, Do Not Call, quota, calling hours — and dials, reserves and > records nothing, so you can prove your integration end to end without calling > anyone. Then read [limits and safety](/mcp/limits-and-safety). The caps aren't advisory: they're enforced server-side before dialing and they fail closed. # Connector tools Source: https://api.lawtte.ai/mcp/tools The tools the Lawtte MCP server exposes, and what each returns. ## place\_call Places one outbound AI phone call for your firm. **name** `string` *required* Who is being called, as the agent should address them. 1–120 characters. **phone** `string` *required* The recipient's US phone number. Normalized to E.164 before dialing. **recipient\_type** `string` Who the person is to your firm: `client`, `witness`, `adjuster`, `business_office` or `other`. Required without `agent_id`; with it, defaults to the saved agent's. Saved on the call record. `witness` is refused while witness calls are turned off (the default). **consent\_confirmed** `boolean` *required* `true` means you confirmed this person gave your firm this number and agreed to be called. `false` is refused. **represented\_by\_counsel** `boolean` *required* `true` if this person has their own lawyer for this matter. Lawtte doesn't call represented people, so `true` is refused; contact their counsel instead. **objective** `string` What the call should accomplish, in plain language. Up to 1,000 characters. It can't change the call's opening line. Required without `agent_id`; not allowed with it. **agent\_id** `string` A saved outbound agent's ID (UUID) from `list_outbound_agents`. Its objective, recipient type, what-to-collect list and voicemail choice are used for this call. See [saved outbound agents](#saved-outbound-agents). **fields** `object` Values for the saved agent's `{{placeholders}}`, such as `{"claim_number": "88-123"}`. Keys are lowercase letters, digits and underscores (up to 30 characters); values 1–200 characters. Only with `agent_id`. **context** `string` Brief, non-sensitive background strictly needed for the call. Up to 1,000 characters. No Social Security, card or bank numbers, dates of birth, passwords, one-time codes or medical details. Every call opens with a fixed line set by Lawtte's server: *"Hi, this is , a virtual assistant calling on behalf of . This call is recorded."* — or *"Hi, this is a virtual assistant calling on behalf of …"* when the receptionist's name can't be spoken. The agent gives no legal advice; a client who asks a legal question hears *"Your attorney will call you about that."* > [!WARNING] > > This tool is marked destructive: it dials a real person and consumes Studio > minutes. Claude asks you to confirm the name, number, and objective first. A blocked attempt returns a tool error that names the rule that failed and what would change it — consent not confirmed, a represented party, a witness, restricted or health information in the brief, a number on the Do Not Call list, a repeat within two hours, the daily cap, or a time outside 8:00 a.m.–9:00 p.m. in the recipient's or your firm's time zone (with the next allowed time) — and dials nothing. Unknown arguments are refused rather than ignored, so a client still sending the retired `dry_run` flag gets an error, never a call. ## check\_call Checks whether Lawtte would place this exact call right now. It takes **the same inputs as `place_call`** and runs the same rules — consent, represented party, recipient type, call content, Do Not Call list, daily cap, two-hour repeat rule, calling hours — without dialing, reserving or recording anything. Use it to validate an integration before calling anyone. It replaces `place_call`'s old `dry_run` flag. **allowed** `boolean` Whether `place_call` with the same arguments would dial now. **reason** `string` When `allowed` is false, why. ## send\_text Sends one text from your firm's Lawtte text line. Inputs: `name`, `phone`, `message` (up to 612 characters), `recipient_type`, `consent_confirmed`, `represented_by_counsel`. Same people rules as calls: consent, no represented parties, the Do Not Contact list, and 8am–9pm in both the recipient's and the firm's time zones. Numbers that replied STOP are never texted. A person's first text from a shared Lawtte line carries your firm's name and a STOP line. Replies land in your Messages inbox. ## check\_text Same inputs as `send_text`; says whether it would send now, and why not. Sends nothing. ## list\_texts Recent texts on your Lawtte lines, sent and received, newest first. Pass `phone` for one person's conversation. ## send\_email Sends one email for your firm. Inputs: `name`, `email`, `subject`, `message` (plain text, blank lines between paragraphs), `recipient_type`, `consent_confirmed`, `represented_by_counsel`. Firms with their own sending address or connected Microsoft 365 mailbox send from it; otherwise it comes from `@updates.lawtte.ai` under your firm's name, and replies go to your firm's email. The Do Not Email list is always honored; 100 per day. ## check\_email Same inputs as `send_email`; says whether it would send, and why not. Sends nothing. ## list\_emails Emails your firm's AI sent (last 30 days by default, up to 90). Pass `email` to see only that person, plus what they wrote back, read from the inboxes you connected (Outlook or Gmail) with a short preview of each reply. ## get\_call Reads one call belonging to your Studio — including calls your **receptionist answered**, not only calls the connector placed. **call\_id** `string` *required* A call ID from `place_call` or `list_calls`. **direction** `string` `outbound` for a call the connector placed, `inbound` for one your receptionist answered. **status** `string` One of `blocked`, `dialing`, `in_progress`, `completed`, or `failed`. **outcome** `string` A plain-language readout of what happened on the call. **objective\_met** `string` On outbound calls: `yes`, `no`, or `partial`, from post-call analysis. **summary** `string` A short summary of the conversation. **duration\_sec** `number` How long the call lasted. **has\_transcript** `boolean` Whether a word-for-word transcript can be read with `get_transcript`. **has\_recording** `boolean` On inbound calls: whether a recording exists. Recordings are played in the Lawtte dashboard, behind sign-in; the connector never returns the audio or a link to the file. **dashboard\_url** `string` Where the firm reviews this kind of call in the Lawtte dashboard. On an inbound call you also get what the receptionist captured: `caller_name`, `caller_phone`, `caller_email`, and `caller_type`. > [!NOTE] > > This returns a summary, never the transcript. Use `get_transcript` when the exact > wording matters. ## get\_transcript Reads what was actually said, word for word. Transcripts are long, so this returns one window at a time. **call\_id** `string` *required* A call ID from `place_call` or `list_calls`. **max\_chars** `number` Size of the window to return, 500–20,000. Defaults to 8,000. **offset** `number` Where to resume from. Pass the `next_offset` returned by the previous call to keep reading. ## list\_calls Lists up to 20 recent calls for your Studio, newest first — both calls the connector placed and calls your receptionist answered. **since** `string` ISO 8601 timestamp with an offset. Only calls after this time are returned. **status** `string` Filter by `blocked`, `dialing`, `in_progress`, `completed`, or `failed`. **direction** `string` `inbound` for calls your receptionist answered, `outbound` for calls the connector placed. Omit for both. > [!NOTE] > > JSON schemas and error semantics for these tools are in the > [MCP server reference](/mcp/server). > [!NOTE] > > The read tools (`get_call`, `get_transcript`, `list_calls`) are scoped to the > Studio account you approved. They never return > calls from another firm, or calls placed outside the connector. ## Saved outbound agents A saved outbound agent is a call you set up once and run many times: a name, an objective with `{{placeholders}}`, who it calls, what it should find out, and what to do at voicemail. Run one with `place_call` by passing its `agent_id` and the placeholder values in `fields`, instead of an `objective`. Every saved agent runs with your firm's own details — practice areas, office hours, address, website, attorneys, area served, fee policy and notes — read from your receptionist on each call. Change them in your receptionist's settings and every saved agent uses the new details on its next call. | Tool | What it does | | - | - | | `list_outbound_agents` | Your saved agents, with each one's placeholders and its results over the last 90 days (calls, people reached, objectives met). Also lists starter templates you haven't saved yet. Filter by `skill` (for example `demand-letter`) or `query`. | | `create_outbound_agent` | Saves an agent from a starter `template` or from your own `name`, `objective`, `recipient_type`, `collect`, `voicemail` and `related_skill`. Places no call. Up to 50 per account. | | `update_outbound_agent` | Changes fields on a saved agent. Calls already placed are unchanged. | | `archive_outbound_agent` | Removes an agent from your list so it can't be run. Its past calls stay. | `{{name}}` (the person called) and `{{firm}}` (your firm's name) are filled in automatically. Any other placeholder must be given in `fields`, or the call is refused before dialing with the missing field named. Field values follow the same content rules as an objective: no Social Security, card or bank numbers, dates of birth, passwords, codes or medical details. > [!TIP] > > With `agent_id`, `recipient_type` defaults to the agent's own. `get_call` on a > call made by a saved agent also returns the agent's name, who the call reached > and what it found out (`collected`). **Starter templates:** `adjuster-demand-received` (for the demand-letter skill), `client-case-update` and `client-documents-needed`. Family-law firms also get family-law starters in their list. ## Agent Builder tools The Agent Builder is where your firm's email, text and call agents are built and managed in the Lawtte dashboard (**Agents**). These tools let Claude, Grok Bot or any MCP client run that same builder, with the same control as the dashboard. Every agent they start is tagged with the app that built it, so the dashboard shows **via Claude** or **via Grok Bot** next to it. Anything that sends or changes a live agent is marked destructive, so the client asks you before running it. | Tool | What it does | | - | - | | `list_agents` | Your agents and their status, builds in progress and which app built each, the tools your firm has connected, and your house rules. | | `get_agent` | One agent's settings, wording, recent activity and editable fields, or one build's blueprint. | | `save_agent_draft` | Starts a new agent, or changes a draft that hasn't launched, including the `recipe` that makes it runnable (email follow-up, text follow-up or call agent). | | `manage_agent` | Everything the agent's page does: `launch` (Test mode, sends nothing), `go_live`, `pause`, `resume`, `back_to_test_mode`, `check_now`, `test_check`, `preview`, `practice_run`, `update`, `send_to_lawtte_team` and `remove`, plus `call_check` and `call_place` for call agents, which go through the same checks as `place_call`. | | `propose_agent_change` | Drafts changes to an existing agent (wording, timing, CC, on/off) and returns a before and after for each. It also shows as a card in the builder. | | `get_builder_settings` | Your house rules, the builder's name and style, and the default inbox, text line and calling number. | | `update_builder_settings` | Adds or replaces house rules, renames the builder, and sets the defaults. | | `request_phone_number` | Asks Lawtte for a new number, or for your firm's name on caller ID. A person sets it up, usually within a business day. | | `request_receptionist_change` | Asks Lawtte to change a receptionist it runs for your firm, described in plain words. A person makes the change, usually within a business day. | | `apply_agent_change` | Applies a proposal, all of it or the change ids you pick. Someone at your firm can also apply it from the card. | How to use them: [for people](/agent-builder/connect-your-ai) and [for AI agents](/agent-builder/for-ai-agents). ## Calling setup tools A firm that signs in from Claude with no Lawtte number can place its first call after two answers: the firm's name, and what happens when someone calls the firm's Lawtte number back. ### get\_calling\_setup\_status Read-only. Returns whether the signed-in account can place calls and, as data, what is missing first. Takes no inputs. | Field | Meaning | | - | - | | `can_place_calls` | `true` when `place_call` would run its usual rules for this account. | | `setup_state` | `not_set_up`, `trial`, `trial_used_up`, `awaiting_activation`, `active`, `paused` or `managed`. | | `missing` | Any of `firm_name`, `callback_handling`, `verified_email`, `payment_method`, `calling_number`, `activation`, `active_subscription`. | | `trial_calls_remaining` | Trial calls left; before setup, how many a trial includes. `null` once the account is activated. | | `calling_number` | The account's Lawtte number, or `null`. | | `callback_handling` | `{ "mode": "forward", "callback_number" }` or `{ "mode": "take_message", "notify_email" }`, or `null`. | | `card_required_before_first_call` | Whether a card is needed before the first call. | | `referring_skill` | The Claude skill the account signed up from, when known. | ### set\_up\_calling Saves the firm's settings and makes the account able to place calls. **firm\_name** `string` *required* The firm's name. Every call opens by saying it is calling on behalf of this firm. **callback\_handling** `object` *required* What happens when someone calls the firm's Lawtte number back: `{ "mode": "forward", "callback_number": "(415) 555-0134" }` transfers the call to that number; `{ "mode": "take_message", "notify_email": "intake@firm.com" }` has the AI receptionist take a message and email it. **timezone** `string` One of `America/New_York`, `America/Chicago`, `America/Denver`, `America/Phoenix`, `America/Los_Angeles`, `America/Anchorage`, `Pacific/Honolulu`. Used for calling hours. Defaults to the zone of the callback number or the state. **state** `string` Two-letter US state. Picks a local area code for the calling number. On an account without a card, it starts a **trial**: a dedicated calling number (its area code from the callback number, else the state, else the time zone) and 3 trial calls, each capped at a few minutes. Calls back to that number follow `callback_handling`. Running it again updates the settings; it never adds a second number and never resets the trial. Trial rules: * The account's email address must be confirmed. * One trial per firm email domain. On personal mailboxes (gmail.com, outlook.com, icloud.com and the like) it's one per address. * The usual `place_call` rules still apply, including 50 calls a day and one call per number every two hours. * When the trial calls are used up, `place_call` and `check_call` refuse with an error that names `create_activation_link`. Activation keeps the same number. * A trial number is released if the account isn't activated within 14 days. * Trial calls are not billed. Until `set_up_calling` has run, `place_call` and `check_call` refuse with an error that names `set_up_calling`. Where Lawtte requires a card before the first call, `set_up_calling` saves the settings without a number, and `place_call`'s error names `create_activation_link`. No tool charges, picks a plan or accepts terms. That only happens on the activation page. ## Receptionist setup tools These let a firm set up a new Lawtte receptionist from Claude. The first two work before signing in. | Tool | What it does | | - | - | | `get_onboarding_questions` | The setup questions and recommended defaults, by practice area. | | `list_voices` | The voices (with gender and accent) and languages a receptionist can use. | | `create_receptionist_draft` | Creates a draft from the firm's answers. The draft takes no calls. One open draft per account. | | `update_receptionist_draft` | Changes your receptionist: greeting, hours, intake questions, voice and so on. On a live receptionist the change goes to her phone line right away, as if saved in the dashboard; practice areas, greeting, qualification rules and area code can't change once live. | | `get_receptionist_draft` | A draft's current setup and status. | | `create_activation_link` | A one-hour link to Lawtte's activation page, where the firm picks a plan, accepts the terms and adds a card. Works for a trial account too; activation keeps its number. | | `get_activation_status` | Whether she's live, with her number and call-forwarding steps once she is. | No tool takes payment details, accepts terms or turns a receptionist on. That only happens on the activation page. # Troubleshooting Source: https://api.lawtte.ai/mcp/troubleshooting What to check when the connector will not connect, or a call is refused. > [accordion] Claude cannot connect to the server > > Confirm the address is exactly `https://www.lawtte.ai/api/mcp`, with the > advanced settings left empty. Custom connectors must be available on your Claude > plan. > [accordion] Call tools say there's no live receptionist > > Every tool is listed as soon as you connect, but the call tools need a live > receptionist with a calling number. If you're still setting one up, ask Claude > for an activation link and finish on Lawtte's site. If she's live but you > connected before she was, she's attached to your connection automatically; > otherwise disconnect and reconnect the connector. On **Settings → AI connectors**, > check that she isn't paused and that outbound calling is enabled. > [accordion] The activation link says it expired > > Activation links last an hour and stop working once she's live. Ask Claude > for a new activation link. If it says the link is for another account, sign > out and sign in with the account you connected to Claude. > [accordion] The sign-in email didn't arrive > > Check spam, then request a new link from the sign-in screen after a minute. > Links work once and expire after 15 minutes. You can also continue with > Google or Microsoft instead. > [accordion] Authentication temporarily unavailable > > Key checks and dialing fail closed when the credential store is unreachable. > This is transient — retry in a minute. It never silently places a call. > [accordion] A call was blocked > > The tool returns an error naming the rule that failed: consent wasn't confirmed, > the person is represented by counsel, witness calls are off, the brief contains > restricted or health information, the number is on your Do Not Call list, it was > already called within two hours, the firm hit 50 calls today, it is outside > 8:00 a.m.–9:00 p.m. in the recipient's or your firm's time zone (the error gives > the next allowed time), or the time zone could not be determined from the area > code. `check_call` with the same arguments shows the same answer without dialing. > [accordion] The result still says in\_progress > > Outcomes are written when the post-call webhook arrives, a moment after the call > ends. Ask again shortly, or use `list_calls` to see the current state. > [accordion] Calls come from the wrong number > > The caller ID is the Studio agent approved at sign-in. Pick a different agent on > **Settings → AI connectors**, then reconnect the connector in Claude. Still stuck? Email [contact@lawtte.ai](mailto:contact@lawtte.ai) with your firm slug and the `call_id`, if there is one. # Quickstart Source: https://api.lawtte.ai/quickstart Create a connector key, read your calls, and place your first AI call from your own code. Your code talks to Lawtte through the [REST API](/api-reference/introduction) at `https://www.lawtte.ai/api/v1`, and Lawtte can push each call to you with [signed webhooks](/guides/call-webhooks). > [!TIP] > > Using Claude or ChatGPT? You don't need any of this — add the connector and sign > in. See [connect Claude](/mcp/connect-claude). ## 1. Create a connector key Open your Studio agent's **Settings → AI connectors → Connector keys**, name the key, and choose its permission: * **Read call history** — read calls, transcripts, saved agents and the Do Not Call list, and check a call before placing it. * **Read history and place calls** — all of that, plus placing calls and editing saved agents and the Do Not Call list. The key is shown once. Keep it server-side: a call-enabled key dials real people. ```bash theme={null} export LAWTTE_KEY="lawtte_sk_..." ``` ## 2. Read your calls ```bash theme={null} curl https://www.lawtte.ai/api/v1/calls \ -H "Authorization: Bearer $LAWTTE_KEY" ``` You get back `{ "calls": [...] }` — the calls your receptionist answered and the ones you placed, newest first. A `401` means the key is wrong, revoked, or expired. ## 3. Check a call before dialing `POST /calls/check` runs every rule a real call would — consent, calling hours, Do Not Call, daily limits — and dials nothing. ```bash theme={null} curl -X POST https://www.lawtte.ai/api/v1/calls/check \ -H "Authorization: Bearer $LAWTTE_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "Jane Doe", "phone": "+12125550100", "recipient_type": "client", "consent_confirmed": true, "represented_by_counsel": false, "objective": "Confirm Jane received the settlement paperwork." }' ``` `{ "allowed": true, ... }` means `POST /calls` with the same body would dial. Otherwise `reason` says why not. ## 4. Place the call > [!WARNING] > > This dials a real person. Test with your own number first, and read > [limits and safety](/mcp/limits-and-safety) before calling lists. Send the same body to `POST /api/v1/calls`. You get `201` with a `call_id`, or `422` with the reason Lawtte refused. ## 5. Get the result Poll `GET /api/v1/calls/{call_id}` for the outcome, summary, and duration, and `GET /api/v1/calls/{call_id}/transcript` for what was said. Or add an endpoint in **Settings → Webhooks** and Lawtte posts `call_ended` and `call_analyzed` events to you. See [call webhooks](/guides/call-webhooks). ## Next steps > [card] [API reference](/api-reference/introduction) > > Every endpoint, with request and response fields and a live playground. > [card] [Saved outbound agents](/mcp/tools#saved-outbound-agents) > > Set a call up once, run it many times with `agent_id`. # After-hours coverage Source: https://api.lawtte.ai/studio/after-hours How your AI receptionist handles calls when nobody's in the office — office hours, after-hours transfers, urgent callers, and taking messages overnight. She answers every call, day or night. Office hours don't change *whether* she picks up — they tell her **whether there's a human to hand the caller to**. > [!NOTE] > > This is the part most firms get backwards on the first pass. Setting Mon–Fri 9–5 > does not mean she only works 9–5. It means that at 8pm she stops offering to connect > someone and starts taking a message instead. ## Set your hours **Dashboard → Agent → Who she is**, or the builder's setup step. One-click presets: * Mon–Fri, 9am–5pm * Mon–Fri, 8:30am–6pm * Mon–Sat, 9am–6pm * Open 24/7 Or set each day individually — different hours per weekday, closed days, a half-day Saturday. Pick your **time zone** in the same place; it's the zone your office is in, not the caller's. > [!NOTE] > > Whether the office is open is worked out exactly, on our side, at the moment the > call arrives — not estimated by the AI from a sentence about your hours. Transfers > and after-hours routing are too important to leave to a judgment call. ## What changes outside your hours > [card] During office hours > > She can warm-transfer a screened new client to your team number. If nobody picks > up, she takes a message. > [card] Outside office hours > > Either **take a message** — your team follows up next business day — or > **transfer to another number**, like an on-call line or an attorney's cell. Set this under the transfer option in **When a new client calls**: *Outside office hours* → take a message, or transfer to an after-hours number. ## The urgent caller at 11pm Separate from your hours, and it overrides the intake list: if someone's been detained, has a hearing tomorrow, is facing a response deadline, or doesn't feel safe, she gets just enough to route the call and acts immediately — she does not work through the rest of your questions first. What "acts immediately" means is your choice, set under **the hard calls**: | Your setting | What happens at 11pm | | - | - | | Take the message and flag it urgent *(default)* | Marked urgent in the summary emailed to your team. | | Transfer to this number | She calls your on-call number, whatever the hour. | | Treat it like any call | Normal intake, normal message. | > [!WARNING] > > If you set an urgent transfer number, it will ring in the middle of the night. That's > the point — but make sure whoever owns that number knows. ## Intake still happens overnight Whatever the hour, she takes the full intake and sends it. A 2am car-accident caller is fully documented in your inbox by 2:10am — name, number, what happened, whether they've seen a doctor, whether an insurer already called. Your team opens the day with the case worked up instead of a voicemail saying "call me back." ## Using her for after-hours only Plenty of firms start this way: your team answers during the day, she covers nights and weekends. **1. Set your real office hours in Lawtte** So she routes correctly on the calls she does take. **2. Forward your office line to her after hours** Do this in your phone system or with your carrier — see [forwarding codes](/studio/phone-number). This is what decides which calls reach her at all. **3. Pick what she does with an after-hours new client** Take a message, or transfer to an on-call number. **4. Test it at night** Call her once after your office closes. Nothing else tells you as much. # Book consultations on your calendar Source: https://api.lawtte.ai/studio/calendar Connect Google Calendar, Outlook / Microsoft 365, or Calendly so your AI receptionist offers real open times and books the consultation while the caller is still on the phone. When you pick **Book the consultation**, she reads your real free/busy data, offers times that are actually open, and books it before the caller hangs up. No double-bookings, no "someone will call you to schedule." ## Connect a calendar Three providers, in the builder's **goal** step or later in **AI agents → your receptionist → When a new client calls**. > [card] Google Calendar > > Sign in with Google. Works with personal Gmail and Google Workspace. > [card] Outlook / Microsoft 365 > > Sign in with Microsoft. Works with Microsoft 365 business accounts. > [card] Calendly > > Paste a personal access token from **Calendly → Integrations → API & webhooks**, > then pick the event type she should book. **1. Choose your provider and sign in** A popup opens for Google or Microsoft. Approve calendar access and it closes itself. **2. Pick the calendar she books into** If you have several, choose the one your consultations live on. With Calendly, pick the **event type** instead. **3. Set her booking rules** See below — this is what keeps her from offering a 7pm Sunday slot. **4. Check the openings she'd offer** The panel shows **the next openings she'd offer** right there. If those look wrong, your rules need adjusting, not your calendar. > [!WARNING] > > If Google or Microsoft says the app isn't verified, you can still continue — Lawtte's > calendar access is under Google review. Nothing is shared beyond free/busy and the > events she creates. ## Her booking rules | Rule | What it controls | A sensible answer | | - | - | - | | **Days she can book** | Which weekdays are bookable at all | Mon–Fri | | **From / Until** | The window inside those days | 10:00 – 16:00 | | **Length** | How long the consultation is | 30 minutes | | **Buffer** | Gap she leaves around existing events | 15 minutes | | **Notice** | How soon from now she may book | 2 hours | | **Up to** | How far ahead she may book | 14 days | > [!TIP] > > Set **From / Until** narrower than your office hours. Consultations at 8:59am and > 4:59pm are the ones that get rescheduled. Notice is the other one worth tuning: at > 2 hours, an attorney gets warning; at 0, she can book someone into your next > fifteen minutes. ## No calendar access? Use a scheduling link Pick **Send callers a scheduling link instead** and give her any public booking URL (Calendly, Acuity, TidyCal, a Microsoft Bookings page). She emails it after the call and the caller picks their own time. You lose the live booking — some callers never open the email — but it takes ten seconds to set up and needs no access to your calendar. You can switch to a connected calendar later without rebuilding anything. ## What she puts on the invite The caller's name, their number, and what the call is about — the intake she just took, so the attorney opens the event already knowing the case. The caller gets a confirmation from your calendar provider the same way any other invitee would. ## Troubleshooting > [accordion] She says there's nothing available > > Almost always the rules, not the calendar: too much **notice** required, too > narrow a **From / Until**, or a **buffer** wide enough to swallow every gap. Check > "next openings she'd offer" after each change. > [accordion] She booked over something > > She only reads the calendar you selected. If your real availability is spread > across several calendars, either consolidate them or use the one that shows > everything as busy. > [accordion] The sign-in popup never finished > > Reconnect — the panel offers a retry link when a sign-in was abandoned. Popup > blockers are the usual cause. > [accordion] Calendly event types are empty > > The token was created on a different Calendly account, or it lacks access to the > event types. Generate a fresh personal access token and paste it again. # Create your AI receptionist Source: https://api.lawtte.ai/studio/create-your-receptionist A walkthrough of every question the Lawtte Studio builder asks — practice areas, her name, intake, voice, office hours, what she does with a new client, and her phone number. Start at [lawtte.ai/studio](https://www.lawtte.ai/studio). The builder asks ten questions in four short sections, and every screen ends with the same promise: **you can change any of this later.** Nothing you answer here is permanent. > [!NOTE] > > Your answers are saved as you go, so you can close the tab and come back. You only > create an account partway through — and you can hear her before that. ## Section 1 · Meet her ### 1. What does the firm do? Pick **every** practice area you take, not just your main one. She learns a separate intake for each: Family Law, Personal Injury, Lemon Law, Immigration, Criminal Defense, Employment Law, or *Something else* with your own label (bankruptcy, estate planning — anything). Why it matters: a Personal Injury caller and a Family Law caller get asked completely different things. If you take both, she works out which one the call is about first, then runs the right list. ### 2. What do you say when you pick up the phone? * **Firm name** — exactly as she should say it out loud. "Reyes and Cole" beats "Reyes & Cole, LLP, A Professional Corporation." * **Your website** (optional) — she reads it to learn the firm, and re-reads it whenever you change it. Worth adding: it's the cheapest way to make her sound informed about you. ### 3. Give her a name. It's the first thing every caller hears. Pick something your clients will find easy to say and remember. > [!TIP] > > **This is where you can call her.** Once she has a name, a card appears with a > **Call** button. She'll take a live call from you right there — free, no account > needed. Try a real client situation and see what she does with it. ## Section 2 · Your account ### 4. Create your account *(only if you're not signed in)* Email, a password of at least 8 characters, and **your** phone number — yours, not hers. The phone number is only used to help you get set up. You can sign in with Google or Microsoft instead if you'd rather not manage another password. > [!NOTE] > > Nothing to pay yet. Check your inbox for the verification link — you'll need a > verified email before she can get a phone number and go live. ## Section 3 · Train her ### 5. What she finds out from a new client This is the heart of it. Lawtte pre-fills a real intake list for each practice area you picked — the questions a good receptionist at that kind of firm actually asks, in the order they'd ask them. For each question you can check it on or off, rewrite what she learns, reorder it, change how firmly she asks, or add your own. Name and callback number are locked because every intake needs them. There's a lot of control here, so it has its own page: **[her intake questions](/studio/intake-questions)**. ### 6. How we set her up Three things, all pre-filled with a sensible default: * **Voice** — we preselect a recommended voice for your practice area. Preview any of them; you can change voice and accent any time in her settings. * **Languages** — English plus Spanish, French, German, Italian, Portuguese, Dutch, Polish, Hindi, Japanese and more. She answers in your first language and switches if the caller does. * **Office hours and time zone** — one-click presets (Mon–Fri 9am–5pm, Mon–Fri 8:30am–6pm, Mon–Sat 9am–6pm, Open 24/7) or set each day yourself. > [!WARNING] > > Office hours do **not** limit when she answers — she answers every call, day or > night. They tell her when there's a human to hand off to. See > [after-hours](/studio/after-hours). ### 7. She's got the new client's info. Then what? Pick one outcome. This is the single most important answer in the builder. > [accordion] Send it to the team > > Everything she learned, emailed the moment the call ends. You give her one team > email (for example `intake@yourfirm.com`). > > Best for firms who call leads back themselves and just want the details fast. > [accordion] Book the consultation > > She checks your real calendar, offers open times, and books it while they're on > the phone. Connect **Google Calendar**, **Outlook / Microsoft 365**, or > **Calendly** — see [calendar booking](/studio/calendar). > > No calendar access? Switch to link mode and she emails your scheduling link after > the call instead. > > Best for firms whose consultation is the conversion step. > [accordion] Connect them to a person > > She screens the caller first — finishes the intake, confirms it's a genuine new > client rather than a current client, a vendor, or a solicitor — then introduces > them to your team and connects the call. > > You give her a number for office hours, and choose what happens outside them: > take a message, or transfer to an on-call line. If nobody picks up, she takes a > message. > > Best for firms who want to talk to good leads immediately. ### 8. A current client calls about their case She never discusses case details — she confirms who they are and what it's about, then passes it on. Tell her which inbox those messages go to. Leave it as-is to use the same address as your new-client intake. ## Section 4 · The hard calls ### 9. Three calls every receptionist gets We've picked the safe answer for each. Change what doesn't fit your firm. **1. Someone asks what you charge** * **Don't discuss fees** *(default)* — she never quotes a number; the team covers it. * **Free consultation** — she says it's free and leaves the rest to the team. * **Contingency, no fee unless we win** — she reassures them there's nothing up front. * **Paid consultation** — she says your amount once and moves on. * **Custom** — your exact words, said once. **2. Something urgent — a court date tomorrow, someone in custody** * **Take the message and flag it urgent** *(default)* * **Transfer to this number** — an attorney's cell or an on-call line. * **Treat it like any call** **3. A call that isn't a legal matter** A salesperson, a vendor, a robocall working its way down a list: * **Send them away** — she ends the call, no message. * **Point them to an email** — she gives the address and hangs up. ## Section 5 · Go live ### 10. She needs her own line Pick the **area code** your clients expect — we pre-guess it from your location. Then claim the number: * **On a Lawtté-managed plan?** Included. No card needed. * **Self-serve?** Choose your plan and add a payment method. The builder shows you the terms before you confirm. She provisions in seconds — you'll see *Learning your intake → Getting her number → Going live* — and then you get her number, plus the codes to forward your office line to her. See [her phone number](/studio/phone-number). > [!TIP] > > Call her number yourself before you forward anything. Ten minutes of your own > testing is worth more than any setting on this page. ## Changing anything later Everything above lives in **Dashboard → Agent** after she's live: her name, voice, languages, hours, intake questions, what she does with new clients, and what she can tell callers. Edits take effect on the next call. See [managing her](/studio/dashboard). # Managing her after launch Source: https://api.lawtte.ai/studio/dashboard Where to change your AI receptionist's settings, read call transcripts, check minute usage, add teammates, and stop calls to a number. Everything is editable after she's live, and edits take effect on her next call. No redeploy, no waiting. ## Agent **Dashboard → Agent** — the whole build, in five sections you can revisit any time: | Section | What's in it | | - | - | | **Who she is** | Her name, the firm name she says, her voice, languages, office hours, time zone. | | **When a new client calls** | Email the team / book the consultation / transfer to a person, plus the after-hours choice. | | **What she asks new clients** | The [intake list](/studio/intake-questions) per practice area. | | **When a current client calls** | Which inbox her messages go to. | | **Things she can tell callers** | [Firm info](/studio/firm-info), common questions, notes. | The same page holds her phone number, a test-call panel, and the forwarding codes. ## History Every call, with the transcript, a summary, how long it ran, and the intake she captured. This is where you find out how she's really doing — read it daily for the first week. ## Settings > [card] Billing > > Your plan, your payment method, and past invoices. > [card] Usage > > Minutes used this period against what's included, so nothing is a surprise. > [card] Users > > Add teammates to the dashboard. > [card] Do Not Call > > Numbers Lawtte must never call. If a caller asks not to be contacted again, it > goes here and nothing dials it. ## Website widget Put her on your website so visitors can talk to her without picking up a phone. See [the Studio website widget](/studio/website-widget). ## Support **Dashboard → Support**, or [lawtte.ai/studio/support](https://www.lawtte.ai/studio/support). You get a ticket number back and a confirmation email. For anything urgent, include her phone number and roughly when the call happened — that's what we need to find it. ## When she says "Paused" The status beside her name in **Dashboard → Agent** reads *Answering calls*, *Needs a phone number*, or *Paused*. Paused means she is not answering — the usual cause is billing: a trial that has used up its trial minutes, or a payment that didn't go through. Settling the invoice resumes her automatically; nothing has to be rebuilt. To stop her answering deliberately, remove the call forwarding on your side, or release her number. Releasing is irreversible — see [her phone number](/studio/phone-number). If you need her quiet for a while without losing the number, email [contact@lawtte.ai](mailto:contact@lawtte.ai). # Connector keys and webhooks Source: https://api.lawtte.ai/studio/developer-access Create connector keys for MCP clients and receive signed call events without contacting support. ## Create a connector key Open your Studio agent’s **Settings → AI connectors → Connector keys**. Enter a descriptive name, choose **Read call history** or **Read history and place calls**, and select an expiry of 30, 90, or 365 days. Copy the secret immediately: it is displayed only once. Keys belong to the selected Studio, not every agent you own. Studio owners and platform admins can manage them. Keep keys in your backend’s environment variables or secret manager. Never put one in browser code, a mobile app, a URL, or source control. At most 10 active keys are allowed per Studio, and at most 20 can be created per hour. Key creation requires an enabled Studio calling setup; listing and revocation remain available when calling is paused. ### Authenticate an MCP client Connect to `https://www.lawtte.ai/api/mcp` using the HTTP header: ```http theme={null} Authorization: Bearer lawtte_sk_YOUR_KEY ``` What each permission reaches: | Permission | Tools | | - | - | | **Read call history** | `list_calls`, `get_call`, `get_transcript`, `check_call`, `list_outbound_agents`, `get_calling_setup_status` | | **Read history and place calls** | All of the above, plus `place_call`, `create_outbound_agent`, `update_outbound_agent`, `archive_outbound_agent` | `get_onboarding_questions` and `list_voices` need no credential at all. Keys can't run `set_up_calling` or the receptionist draft and activation tools — those need a signed-in user, so use OAuth. All keys share the Studio’s billing and calling limits. Use `check_call` to validate a call without dialing. The same key works with the [REST API](/api-reference/introduction) (`https://www.lawtte.ai/api/v1`), with the same two permissions. Claude and ChatGPT sign in with OAuth instead and do not need a key. ### Rotate or revoke Create a replacement key, install it in your integration, verify it works, then revoke the old key. Revocation and expiry block subsequent requests. Lost secrets cannot be recovered. The key list displays a masked suffix, permissions, expiry, and last use. Existing legacy keys retain their previous permissions. ## Configure a webhook Open **Settings → Webhooks**, enter your receiver’s public HTTPS URL, select events, and save. Each Studio supports one endpoint, covering its Retell receptionist and outbound calls. IPv4 is required, only port 443 is supported, and URLs with credentials or a `#fragment` are rejected, as is any host that resolves to a private address. Redirects aren't followed: a `3xx` response counts as a failed attempt. LiveKit preview sessions do not currently emit these events. Choose any of `call_started`, `call_ended`, and `call_analyzed`. A call that fails before connecting may have no start event. Analysis can arrive after the end event. Copy the separate signing secret when it appears. Revoking a connector key does not change webhook signing. Saving an existing endpoint creates a new signing secret; update your receiver accordingly. Pending deliveries to the previous configuration are cancelled. Removing the endpoint also cancels pending deliveries. Use **Send test event** for a synthetic `webhook.test` payload. Refresh recent deliveries to see pending, delivered, failed, or cancelled status and response codes. A connection failure is shown separately from an HTTP response. ### Payload and signature ```json theme={null} { "id": "event-uuid", "event": "call_analyzed", "created_at": "2026-10-01T12:00:00.000Z", "call": { "call_id": "provider-call-id", "transcript": "...", "call_analysis": { "call_summary": "..." } } } ``` Fields in `call` depend on the event. Provider credentials and internal call metadata are excluded. Treat transcripts and recordings as confidential data. Lawtte sends these headers: * `X-Lawtte-Id`: the stable event ID, also used in the payload. * `X-Lawtte-Timestamp`: Unix seconds for the current delivery attempt. * `X-Lawtte-Signature`: `v1=` followed by a hexadecimal HMAC-SHA256 digest of `id.timestamp.rawBody`, keyed by your `whsec_...` signing secret. Verify against the exact raw request body before parsing JSON. Reject timestamps outside a five-minute window, compare signatures in constant time, and deduplicate by event ID. Retries use the same event ID and payload with a fresh timestamp/signature. ```ts theme={null} import { createHmac, timingSafeEqual } from "node:crypto"; export function verifyLawtte(raw: string, headers: Headers, secret: string) { const id = headers.get("x-lawtte-id"); const timestamp = headers.get("x-lawtte-timestamp"); const signature = headers.get("x-lawtte-signature"); if (!id || !timestamp || !/^\d+$/.test(timestamp) || Math.abs(Date.now() / 1000 - Number(timestamp)) > 300 || !signature || !/^v1=[a-f0-9]{64}$/.test(signature)) return false; const expected = createHmac("sha256", secret) .update(`${id}.${timestamp}.${raw}`).digest(); return timingSafeEqual(expected, Buffer.from(signature.slice(3), "hex")); } ``` Return any 2xx response within 10 seconds and process the event asynchronously. Failures receive up to three retries, scheduled after 1, 5, and 30 minutes. Delivery runs every minute, so timings are approximate. Events may arrive out of order or more than once. History keeps the most recent 30 deliveries for seven days. # Studio FAQ Source: https://api.lawtte.ai/studio/faq Straight answers about Lawtte Studio — how long setup takes, whether callers know she's AI, what happens to recordings, whether she gives legal advice, and how she handles transfers and after-hours calls. ## How long does it take to set up an AI receptionist? About ten minutes. The builder asks ten questions, pre-fills sensible answers for each, and every one of them can be changed later. Her phone number provisions in seconds at the end. ## Do I need a developer, or a new phone system? No. You keep your existing phone service. She gets her own local number, and you either forward your office line to it or publish it as your intake number. No code, no IT project. ## Can I hear her before I pay? Yes. Three questions into the builder, once she has a name, a **Call** button appears and she'll take a live call from you — no account, no card. Test calls from your dashboard also don't use your plan minutes. ## Do callers know they're talking to an AI? Yes. She identifies herself as an automated assistant, and the website widget says so before a visitor clicks. This isn't optional — it's what keeps the whole thing defensible if a client ever asks who they spoke to. ## Does she give legal advice? No, and it isn't a setting you can turn off. She won't advise, predict an outcome, quote a fee you didn't give her, discuss an existing client's case details, or say anything implying an attorney–client relationship. She gathers facts and hands them to your team. ## What happens if she doesn't understand a caller? She asks them to say it again, in their words, rather than guessing. If a caller is distressed or the matter is urgent, she stops asking questions and routes the call — to your transfer number if you set one, otherwise into an urgent-flagged message. On a genuine emergency she tells them to call 911. ## Can she speak Spanish? Yes — Spanish plus French, German, Italian, Portuguese, Dutch, Polish, Hindi, Japanese and more. She opens in your first language and switches when the caller does. ## Will she book into my real calendar, or just take a message? Your choice. Connect Google Calendar, Outlook / Microsoft 365, or Calendly and she reads your real free/busy data, offers times that are genuinely open, and books while the caller is on the phone. If you'd rather not give calendar access, she emails your scheduling link instead. See [calendar booking](/studio/calendar). ## Can she transfer a caller to me? Yes. She finishes the intake, confirms it's a genuine new client rather than a current client or a salesperson, introduces them to your team, and connects the call. If nobody picks up she takes a message. Outside office hours you choose: message, or transfer to an on-call number. ## What does she do at 2am? Answers, takes the full intake, and sends it — so your team starts the day with a worked-up case instead of a voicemail. If the caller is urgent (detained, hearing tomorrow, a safety issue) she acts on it immediately per your setting, including calling an on-call number if that's what you chose. See [after-hours](/studio/after-hours). ## How does she know what to ask for my practice area? Lawtte ships a real intake list per practice area — Family, Personal Injury, Lemon Law, Immigration, Criminal Defense, Employment, or your own. You edit that list rather than writing one: switch questions off, reorder them, reword what she learns, add up to 30 of your own per area. See [her intake questions](/studio/intake-questions). ## Can I stop her calling a specific number? Yes. **Settings → Do Not Contact** — add the number, and she'll never call it. If a caller asks not to be contacted again, their number is added there automatically. Remove a number from the same page to let her call it again. Calls people make to you still come in. ## Are calls recorded, and who can see them? Calls are recorded and transcribed so you get summaries and intake data, and the recording is disclosed to the caller. Transcripts appear in your dashboard for your firm only. Your website widget's pages carry no product analytics or session replay from us, and no identifier is stored for those visitors. ## Can I have more than one receptionist? Yes — several AI employees, each with her own number and her own intake, which is how firms give each office or practice area its own line. Tell us what you need at [contact@lawtte.ai](mailto:contact@lawtte.ai). ## Can I change her after she's live? All of it, any time, from **Dashboard → Agent**: her name, voice, languages, hours, intake questions, what she does with new clients, what she can tell callers. Changes apply to her next call. Nothing requires our involvement. ## What if something goes wrong on a real call? Read the transcript in **Dashboard → History**, fix the setting it points to, and call her to confirm. If it's something we need to look at, open a ticket at [lawtte.ai/studio/support](https://www.lawtte.ai/studio/support) with her number and roughly when the call happened. # Tell her about your firm Source: https://api.lawtte.ai/studio/firm-info Everything your AI receptionist can know about your law firm — where you take cases, who the attorneys are, your address and website, common questions, and free-text notes she answers from. The intake list controls what she **asks**. This controls what she can **answer**. Everything here lives in **Dashboard → Agent → Things she can tell callers**. ## The fields | Field | What she does with it | | - | - | | **Where you take cases** | She kindly turns away callers outside your area, instead of taking an intake you can't use. E.g. `California and Nevada`. | | **Attorneys and team** | She can say who's who. E.g. `Ana Reyes, Tom Cole`. | | **Main office phone** | The number she gives a caller who wants to reach a human another way. | | **Website** | She reads it to learn your firm — and re-reads it as you change it. | | **Office address** | For callers who ask where you are or need to come in. | | **Common questions** | Question-and-answer pairs, in your exact words. | | **Anything else, in your own words** | Free-text notes for everything that doesn't fit a field. | > [!TIP] > > **Where you take cases** is the highest-value field on this page. A receptionist who > politely turns away out-of-state callers saves your team more time than any other > single setting. ## Common questions Pairs, as literally as you'd say them: | Question | Answer | | - | - | | Do you offer payment plans? | Yes, the team sets those up. | | Do you handle workers' comp? | No — we can point you to someone who does. | | Is parking free? | Yes, in the garage on 2nd Street. | She uses your answer when it's asked, and doesn't improvise one when it isn't. ## Anything else, in your own words The catch-all. Write it the way you'd brief a new hire on their first morning: > We don't take workers' comp cases. Parking is free in the garage on 2nd St. Ana > handles all custody matters; Tom takes the injury cases. If someone asks about a > case we already declined, take a message — don't say we declined it. Things worth putting here: * Case types you **don't** take, and where you send those callers. * Which attorney handles what. * Practical details: parking, which floor, after-hours entry. * Anything a caller asks weekly that isn't a legal question. ## Saving and timing > [!NOTE] > > She learns your notes **and** your website. Saving re-reads both, so give it a > minute or two before she can answer from something you just changed. Calls in that > window still work — she falls back to everything else she knows. ## What she will never say No matter what you put in these fields, she won't: * Give legal advice, or predict how a case will turn out. * Quote a fee you haven't explicitly given her. * Discuss the details of an existing client's case. * Imply that an attorney–client relationship exists. Those guardrails aren't editable, and that's deliberate — they're what makes it safe to let her answer every call. # Her intake questions Source: https://api.lawtte.ai/studio/intake-questions How to add, remove, reorder, and reword the questions your AI receptionist asks new clients — and how to control whether she always asks, asks when relevant, or only asks under a condition. Lawtte pre-fills a real intake list for every practice area you take. You don't start from a blank page — you edit a list that already looks like your firm's. Find it in the builder at the **intake** step, or later in **Dashboard → Agent → What she asks new clients**. ## How she asks (this matters more than the list) > [card] She doesn't interrogate > > The caller talks first → she confirms what she heard → she asks only what's still > missing. If something's urgent, she skips the rest of the list and connects them. Four behaviors you get for free, on every call: 1. **The caller leads.** She pulls what they already said out of their own words and never re-asks it. 2. **Urgency interrupts intake.** Someone detained, a hearing tomorrow, a protective order, a safety concern — she gets just enough to route the call and hands it off. 3. **The callback number comes second**, right after the name, with the reason said out loud: *"in case we get cut off."* 4. **She stays inside the guardrails.** No legal advice, no fee quotes, no promises about outcomes, nothing that implies an attorney–client relationship, 911 for emergencies, and she reads contact details back to confirm them. ## Reading one question Each row shows four things: | What you see | What it means | | - | - | | **Their name** 🔒 | The label. A lock means it can't be switched off. | | Who's calling | **What she learns** — the goal, in plain words. This is the part you edit. | | So you know who to call back | Why it matters to your team. | | Asked: Always | How firmly she asks. Click it to change. | | ▸ How she might ask it | An example of the spoken line. She varies her wording naturally. | > [!TIP] > > Edit **what she learns**, not a script. She phrases the question herself, in the > caller's language, in the flow of the conversation. Telling her the goal produces a > better call than handing her a sentence to read. ## The three ask modes Click the **Asked:** line to cycle through them. > [card] Always > > She must learn it before the call ends. Use sparingly — six or seven "always" > questions is a natural call; fifteen is an interrogation. > [card] When it comes up > > She asks if the conversation goes there naturally. Good for email, referral > source, and best time to call back. > [card] Only if… > > Conditional. You write the condition — "only if there's already a case filed", > "only if the story suggests they were working." Editable on the row. ## What's in every list Four questions open and close every practice area's list, because every firm needs them: | Position | Question | Asked | | - | - | - | | 1 🔒 | Their name | Always | | 2 🔒 | Best number to reach them | Always | | 3 | What's going on *(your practice area's own question)* | Always | | … | Already have a lawyer | When it comes up | | … | How they found you | When it comes up | | … | Best time to reach them | When it comes up | | Last | Email | When it comes up | Everything between position 3 and the closing four is specific to the practice area. ## What's in a practice-area list A few examples of what she comes pre-loaded with, so you can see the level of detail: > [accordion] Family Law > > What's going on (divorce, custody, support, paternity, modification, prenup) · > whether they've been served or have a deadline · safety and protective orders · > children and ages *(only if custody, support, divorce, or paternity)* · the other > party's name for your conflict check · anything already filed and which county · > whether the other side has a lawyer · what they're hoping for. > > Routing triggers: a hearing or response deadline inside 48 hours, a TRO, or a > caller who doesn't feel safe. > [accordion] Personal Injury > > What happened · when and where · who was hurt · injuries and whether they've been > seen by a doctor · who was at fault and whether there's a police report · whether > an insurer has already called or taken a statement · whether they were working at > the time *(workers' comp fork)* · whether another firm already reviewed it. > > She probes by type: car, rideshare, slip-and-fall, severe injury, government > vehicle or property. > [accordion] Lemon Law > > What's wrong with the vehicle · year, make, model, mileage · bought or leased, > new or used, which dealer, which **state** · whether repairs were under > manufacturer warranty · how many repair attempts and days out of service. > [accordion] Employment Law > > What happened at work · whether they still work there, or their last day · the > employer's name and **state** · when it happened · whether they reported it to HR, > a manager or an agency · whether they've been asked to sign anything, like a > severance agreement, and by when · what they have in writing. > > She probes by type: unpaid wages, discrimination, a severance offer. A signing > deadline within 48 hours is treated as urgent. Immigration, Criminal Defense, and your own custom areas each come with their own list built the same way. ## Editing the list **1. Turn questions off** Uncheck anything your firm doesn't need. Locked rows (name, callback number) stay. **2. Reorder** Drag a row, or use the up/down arrows. Order is the order she'll work through them, so put what your team needs most near the top. **3. Reword what she learns** Type over it in your own language. "Which county the case is in" is a better instruction than a full sentence. **4. Add your own** **Add a question** — up to 30 per practice area. Give it a label, say what she should learn, and pick an ask mode. **5. Remove what you added** Custom rows can be deleted outright. Built-in rows switch off instead, so you can put them back. ## Conflict checks A checkbox on the same step: > **Conflict checks** — want her to get the other party's name before your team calls > back? She works it in naturally when there's another party involved. Turn it on and the question slots in right after the caller's story, as a *when it comes up* question. Family Law and custom areas that already ask for the other party don't get a duplicate. ## More than one practice area She gets their name and number, works out what the call is about, then runs the right list. You don't have to merge your lists or pick a primary area — keep each one tuned to that kind of case. ## What to do after you edit Save, then **call her** and role-play the kind of caller you just changed the list for. The list reads well on screen and reads differently out loud; two minutes on the phone catches things no amount of editing will. # What is Lawtte Studio? Source: https://api.lawtte.ai/studio/overview Build an AI receptionist for your law firm in about ten minutes — she answers every call, runs intake, books consultations, and transfers urgent callers. No code. Lawtte Studio builds an **AI receptionist for your law firm**. She answers your phone 24/7, asks the intake questions your practice area needs, and then does one job you choose: emails the intake to your team, books the consultation on your real calendar, or transfers the caller to a person. You build her yourself in a browser. There is no code, no install, and no phone system to replace. ## What she does on a call **1. She answers, in your firm's name** "Thank you for calling \[your firm], this is \[her name]." Every call, day or night, including weekends. **2. She listens before she asks** The caller explains their situation first. She confirms what she heard, then fills in only what's missing — she never re-asks something they already told her. **3. She runs your intake** The questions your practice area actually needs: what happened, when, whether they've been served, whether anyone's already representing them. **4. She does the job you picked** Emails the summary to your team, books the consultation while the caller is still on the phone, or warm-transfers them to your team. **5. You get the transcript** Every call, summary, and captured detail lands in your dashboard. ## What you need before you start > [card] About 10 minutes > > Ten questions, all of them changeable later. > [card] Your firm's basics > > Practice areas, firm name, office hours, and where intake should go. > [card] A payment method, at the last step > > Only when she claims her own phone number. Nothing to pay before that. > [card] Nothing technical > > No phone system change, no IT involvement, no developer. > [!NOTE] > > You can hear her before you create an account. Three questions into the builder, > a **Call** button appears and she'll take a live practice call from you — free, > no card, no sign-up. ## Where to go next > [card] [Build her, step by step](/studio/create-your-receptionist) > > Every question the builder asks, and how to answer it. > [card] [The complete guide](/guides/build-an-ai-receptionist) > > How to build an AI receptionist and intake system, end to end. > [card] [Her intake questions](/studio/intake-questions) > > Add, remove, reorder, and change how firmly she asks. > [card] [Book on your calendar](/studio/calendar) > > Connect Google, Outlook, or Calendly. > [card] [Her phone number](/studio/phone-number) > > Claim a local number and forward your office line to it. > [card] [After-hours coverage](/studio/after-hours) > > What she does when nobody's in the office. > [card] [Common questions](/studio/faq) > > Straight answers about recording, accuracy, and control. > [card] [Managing her](/studio/dashboard) > > Settings, transcripts, minute usage, and support after she's live. # Her phone number Source: https://api.lawtte.ai/studio/phone-number Claim a local number for your AI receptionist and either forward your office line to it or publish it as your intake number — with the exact forwarding codes for each carrier. She needs her own line before she can answer anything. It takes about ten seconds. ## Claim her number **1. Verify your email** Click the link Lawtte emailed you when you signed up. Buying a number and going live are both gated on a verified email. **2. Pick an area code** Three digits — the one your clients expect to see. We pre-guess it from your location. Local numbers get answered more often than toll-free ones. **3. Claim it** On a Lawtté-managed plan it's included, no card. Self-serve, you choose your plan and add a payment method first; the builder shows the terms before you confirm. Her number appears in **Dashboard → Agent**, with a copy button. > [!TIP] > > Call it yourself first, with a real client situation, before you route anything to > it. This is the single best ten minutes you'll spend on setup. ## Two ways to go live > [card] Forward your office line > > Keep publishing your existing number. Send calls to her when nobody picks up, or > after hours. Nothing on your website or business cards changes. > [card] Publish her number directly > > Use her line as your intake number on your website, ads, and Google Business > Profile. Every new caller reaches her first. Most firms start with forwarding and move to publishing once they trust her. ## Forwarding codes Replace `5551234567` with her 10-digit number. | Your phone service | Turn it on | Turn it off | | - | - | - | | Most landlines / VoIP | `*72` then her number | `*73` | | AT\&T wireless | `*21*5551234567#` | `#21#` | | T-Mobile | `**21*5551234567#` | `##21#` | | RingCentral, 8x8, Ooma, Vonage | Set her number as the **no-answer** or **after-hours** forward in your admin portal | Remove it there | > [!TIP] > > Ask your phone provider for **conditional call forwarding** — forward only when the > line is busy or nobody answers, usually after 4 rings. Your team keeps first crack > at every call, and she catches everything they miss. That's the setup most firms end > up on. ## Only after hours? You don't need a forwarding rule for that — it's a phone-system setting on your side. Point your after-hours forward at her number and your team keeps daytime calls. What she *does* on those calls is controlled in Lawtte: see [after-hours coverage](/studio/after-hours). ## Releasing a number **Dashboard → Settings** → release. Callers to that number will hear a disconnected tone afterwards, and the number can't be reclaimed once it's released. If you're mid-campaign with the number printed somewhere, don't. ## What she can and can't do with her line > [accordion] She answers every call, 24/7 > > Nights, weekends, holidays, and while your team is on other calls. > [accordion] She can transfer to a person > > Warm transfer to the number you set, after she's screened the caller — and a > message instead if nobody picks up. > [accordion] She does not send or receive texts on her line > > Her number is for voice. Texting your clients is a separate Lawtte feature — > ask [contact@lawtte.ai](mailto:contact@lawtte.ai). > [accordion] She uses your plan's credits > > Every answered minute uses 1 credit from your plan, and texts and emails use a > fraction of one — watch the running total in **Dashboard → Settings → Billing**. > Test calls from the dashboard don't count. # Test her, then go live Source: https://api.lawtte.ai/studio/test-and-go-live How to test your AI receptionist before real clients reach her — the free preview call, dashboard test calls that don't use your minutes, and a go-live checklist. ## Call her before you pay for anything Three questions into the builder — once she has a name — a **Call** button appears. That's a real call to the receptionist you've built so far, with a live transcript. No account, no card, no commitment. Use it. Say what a real client says, not what you hope they'd say: * *"Uh, hi — I don't really know if this is the right place. I got rear-ended on the 405 last Tuesday?"* * *"I need to talk to someone about custody. My ex took the kids to Arizona."* * *"How much do you charge?"* — check she handles fees the way you set. * *"I'm a current client, I just need an update on my case."* ## Test calls don't cost you minutes Calls you start from the builder or from **Dashboard → Agent** are marked as tests and **do not count** toward your plan's minutes. Real calls — her phone line and your website widget — do. So test as much as you like. There's no meter running. ## Go-live checklist **1. Verify your email** Required before she can get a number or go live. **2. Call her number with three different scenarios** A good new client, a current client, and a salesperson. Three calls, five minutes. **3. Check the intake email actually arrived** And that it landed somewhere a human reads — not a shared inbox nobody opens. **4. Test the transfer, if you set one** Confirm it rings the right phone and that she introduces the caller before connecting. **5. Test a booking, if she books** Book a real slot, confirm it appears on the right calendar, then delete it. **6. Then forward your office line** Conditional forwarding first — she picks up what your team misses. See [her phone number](/studio/phone-number). > [!TIP] > > Do the whole checklist before you publish her number anywhere. Ten minutes now beats > one bad first call with a real client. ## The first week > [card] Read the transcripts daily > > **Dashboard → History**. You'll spot missing intake questions and wrong assumptions > faster than any settings review. > [card] Adjust one thing at a time > > Change a question, then call her about that question. Batch edits make it hard to > tell what fixed what. > [card] Watch your minutes > > **Dashboard → Settings → Usage**. The first week tells you whether your minutes fit. > [card] Tell your team > > Especially whoever's number receives transfers. A surprise warm transfer from an AI > goes badly. # Put her on your website Source: https://api.lawtte.ai/studio/website-widget Add the Lawtte Studio voice widget to your law firm's website so visitors can talk to your AI receptionist without calling — install, customize, and allowlist your domain. The same receptionist answering your phone can answer from a button in the corner of your website. A visitor clicks, talks, and the intake arrives exactly as a phone call would. ## Install it **1. Open Website widget in your dashboard** **Dashboard → Website widget**. **2. Enter the website it will live on** Under **Your website**, list the domains — comma-separated for more than one. Publishing is refused without at least one, and she won't appear on a site that isn't listed. **3. Customize the look** The greeting message, launcher, panel, text and button colors, avatar, and which corner it sits in. **4. Turn on Publish widget and save** Then copy the one-line script. **5. Paste it into your site** Immediately before the closing `` tag, or into your site's global footer / custom-code area. Publish and test on HTTPS. **WordPress:** a Custom HTML block, or a site-wide footer-code plugin. **Webflow:** Project settings → Custom code → Before ``. **Squarespace:** Settings → Advanced → Code injection → Footer. > [!NOTE] > > Changes you make in the dashboard update every site the widget is already installed > on. You never have to replace the snippet. ## Why the domain list matters Two reasons, both worth knowing: 1. Every web conversation uses your plan's minutes. 2. A copy of your widget on someone else's page would be collecting intake in your firm's name. So only the domains you list can open a conversation. Subdomains of a listed domain are included. ## What visitors see The panel tells them, **before** they click, that they'll be speaking with an automated assistant and that conversations are recorded, transcribed, and sent to your firm. An "AI" badge sits beside her name, and your office phone number is offered as the way to reach a person instead. > [!WARNING] > > Don't ask us to remove the disclosure or the AI badge — they're required by the > Terms of Service you agreed to, and they're what keeps the widget defensible if a > client ever asks who they were talking to. Their browser asks for microphone permission only when they actually start a conversation. Nothing records before that. ## Privacy Pages that host the widget get **no product analytics and no session replay** from Lawtte, and no identifier is stored for a visitor who came to your law firm's site. That's deliberate: someone looking for a divorce attorney at 1am shouldn't be tracked for it. ## Testing it Preview it in the dashboard first, then install it on a real HTTPS page and try Chrome, Safari, and your phone — including denying microphone permission, so you know what that visitor sees. Dashboard previews and test calls don't use your minutes.