Skip to content
Lawmatics logo

Connectors / Sales · HTTP Connector

Lawmatics integration and API

Create a contact, create a matter and create a company in Lawmatics, and start a workflow when Lawmatics sends “Matter converted”.

What can you do with Lawmatics on Tray.ai?

Lawmatics is client intake and marketing software for law firms, tracking leads and matters, booking consultations, running email campaigns and handling e-signatures and payments. Tray.ai connects to Lawmatics through the HTTP Connector, so your workflows can call the Lawmatics API alongside the rest of your stack.

  • When Lawmatics sends “Matter converted”, open the matter in your practice management system.
  • Create a contact in Lawmatics from each inquiry submitted on your firm's website.
  • Create an event in Lawmatics when a consultation is booked through your scheduling tool.
  • Upload a file to Lawmatics when a client signs an intake form in your e-signature tool.
Connects through
HTTP Connector
Authentication
OAuth 2.0
Base URL
https://api.lawmatics.com/v1

Set it up

Connect Lawmatics to Tray.ai

Each step uses Lawmatics's own API details, from its documentation.

Sign in to Lawmatics with OAuth 2.0

Set up an OAuth 2.0 authentication with the client ID and secret of an OAuth app you register with Lawmatics. Sign in once and every step reads the token from there.

Point the HTTP Client at the API

Add an HTTP Client step and use https://api.lawmatics.com/v1 as the base URL. Or paste a cURL example from Lawmatics's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List contacts”

It's one of 27 documented actions, under Contacts. The response comes back as data the next step can map into your other apps.

Start workflows from Lawmatics events

Give Lawmatics the URL of a Tray.ai webhook trigger. “Matter converted” can then start a workflow.

Workflows to build with Lawmatics

Connect Lawmatics with Slack, QuickBooks and Zoom

Each one uses actions and events from Lawmatics's own API documentation.

Post new Lawmatics clients to Slack when a matter converts

When

Matter converted

Then

  1. Get a matter
  2. Post the new client to the intake channel in Slack

With Slack

Create QuickBooks customers when a Lawmatics matter converts

When

Matter converted

Then

  1. Get a contact for the matter's client
  2. Create a customer in QuickBooks

With QuickBooks

Log Zoom consultations as Lawmatics notes

When

A meeting ends in Zoom

Then

  1. Find a contact by email
  2. Create a note with the meeting details

With Zoom

Apps you can build on Lawmatics data

Internal tools your team can build with an AI assistant, each one using Lawmatics calls from its API documentation.

Consultation calendar

Lists booked consultations with the contact and matter and lets staff reschedule or cancel them.

Matter intake tracker

Lists matters with their notes and lets intake staff add a note or update the matter.

Client lookup

Finds a contact by email and shows their matters and files.

Lawmatics MCP server for AI agents

Build an MCP server on Lawmatics in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • List contacts
  • List matters
  • List companies
  • List events
  • List notes
  • List files
  • Get a contact
  • Create a contact

What the Lawmatics API covers

6 resources and 27 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how. New to APIs? Read what an API integration is.

Contacts

  • List contacts
  • Get a contact
  • Create a contact
  • Update a contact
  • Delete a contact
  • Find a contact by email

Matters

  • List matters
  • Get a matter
  • Create a matter
  • Update a matter
  • Delete a matter

Companies

  • List companies
  • Create a company
  • Update a company
  • Delete a company

Events

  • List events
  • Create an event
  • Update an event
  • Cancel an event

Notes

  • List notes
  • Create a note
  • Update a note
  • Delete a note

Files

  • List files
  • Upload a file
  • Download a file
  • Delete a file

Events Lawmatics can send to a Tray.ai webhook trigger

  • Matter converted

Checked against Lawmatics's own documentation on 2026-10-22

docs.lawmatics.com

Frequently asked questions

What can a Tray.ai workflow do in Lawmatics?

The Lawmatics API documents 27 actions across 6 resources (Contacts, Matters, Companies, Events, Notes, Files). For example: List contacts; List matters; List companies. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Lawmatics?

The Lawmatics API uses OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which Lawmatics events can start a Tray.ai workflow?

Lawmatics sends one event to a webhook URL, for example: Matter converted. A Tray.ai webhook trigger receives them and starts a workflow.

See Lawmatics working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great, a couple more details

This helps us connect you with the right person. Optional, and you can skip it.