Skip to main content
Lawtte has two developer surfaces, and one kind of key works for both:
  • The REST API at https://www.lawtte.ai/api/v1 — connector keys only.
  • The MCP server 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 and the protocol reference.

Connector keys (REST API, scripts, other MCP clients)

Create a key in Settings → AI connectors → Connector keys and send it as a bearer token:

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.

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.

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.