The Torlie API

Add clients, open matters and keep your other systems in step with Torlie.

The API reaches your firm’s clients, contacts and matters, and the fields you’ve added to them. It’s the same information your team sees in Torlie, so a client added from your website’s enquiry form is in the Clients list straight away, and a matter opened by your case intake system goes through the same conflict check as one opened by hand.

Every request goes to https://api.torlie.com, with your key in the Authorization header. Requests and answers are JSON.

Your newest matter
curl "https://api.torlie.com/desk/matters?limit=1" \
  -H "Authorization: Bearer $TORLIE_KEY"

What you’ll need

A key from Settings, then API keys. Only an admin can make one. If you’re writing code for a firm, ask them for a key that only reads while you’re building, and one that can change things once you’re ready.

Hear about changes as they happen

Rather than asking every few minutes, give Torlie an address and we’ll post to it when a client is added, a matter opens, moves on or closes, or someone is added to a matter. See Getting webhooks.

Work from an AI assistant

If you want Claude, ChatGPT or Copilot to work on your matters, you don’t need the API at all. Add https://torlie.com/mcp to the assistant and sign in with your Torlie account. See AI assistants.