Lawmatics Matters (Prospects) API

A Matter is a legal case, and the primary object in Lawmatics. NOTE: You may see Matters referenced as "Prospects" or "PNCs". This is for legacy reasons, and we are working to migrate away from these names internally. When creating a new Matter it will be in status PNC. This stands for Potential N

GitHub OpenAPI
Business capability
Opportunity & Pipeline Management BC-410.30

Operations 40

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v1/prospects/find_by_phone/{phone_number} Find a prospect matter by phone number · Find Matter By Phone Number #
Ask an LLM
“Can I find a prospect matter by their phone number?”
“Does the phone number lookup handle US country codes with and without the leading 1?”
Tell an agent
Find the matter for phone number {phone_number}.
Look up the prospect matter matching {phone_number}.
GET /v1/prospects/find_by_email/{email_address} Find the matter tied to an email address · Find Matter By Email Address #
Ask an LLM
“Which matter is the contact with a given email address linked to?”
“Can I find a prospect's matter by email with a fuzzy match?”
Tell an agent
Find the matter linked to {email_address}.
Look up a prospect's matter using email {email_address}.
GET /v1/prospects/find_by_name/{name} Find a prospect matter by name · Find Matter By Name #
Ask an LLM
“Can I find a prospect matter by first name only?”
“Does the name lookup work case-insensitively?”
Tell an agent
Find the matter for {name}.
Look up the prospect matter named {name}.
GET /v1/interactions/{interaction_id} Get an interaction · Interaction #
Ask an LLM
“How do I read one interaction's details?”
“What does an interaction record include?”
Tell an agent
Get interaction {interaction_id}.
Show the details of interaction {interaction_id}.
PUT /v1/interactions/{interaction_id} Update an interaction · Update Interaction #
Ask an LLM
“Can I edit an interaction's notes or type?”
“Does updating an interaction require a PUT or a PATCH?”
Tell an agent
Update interaction {interaction_id}.
Edit the existing interaction {interaction_id}.
DELETE /v1/interactions/{interaction_id} Delete an interaction · Delete Interaction #
Ask an LLM
“How do I remove an interaction?”
“Can I delete an interaction by its ID?”
Tell an agent destructive · confirm first
Delete interaction {interaction_id}.
Remove the interaction {interaction_id}.
GET /v1/interactions List all interactions · Interactions #
Ask an LLM
“What interactions have been recorded across the firm?”
“Can I page through every interaction?”
Tell an agent
List all interactions.
Show every interaction we've recorded.
POST /v1/interactions Record a new interaction · Create Interaction #
Ask an LLM
“How do I log a phone call or meeting with a prospect?”
“What do I need to record an interaction, like when and who?”
Tell an agent
Create a new interaction.
Record a meeting with a prospect.
GET /v1/campaigns/{campaign_id} Get a marketing campaign · Campaign #
Ask an LLM
“How do I look up one marketing campaign?”
“What details come back for a single campaign?”
Tell an agent
Get campaign {campaign_id}.
Show the details of marketing campaign {campaign_id}.
GET /v1/campaigns List marketing campaigns · Campaigns #
Ask an LLM
“Which marketing campaigns exist?”
“Can I page through all campaigns?”
Tell an agent
List all marketing campaigns.
Show every campaign in the system.
GET /v1/sources/{source_id} Get a marketing source · Source #
Ask an LLM
“How do I look up one marketing source?”
“What details come back for a single source?”
Tell an agent
Get source {source_id}.
Show the details of marketing source {source_id}.
GET /v1/sources List marketing sources · Sources #
Ask an LLM
“Which marketing sources are set up?”
“Can I page through all sources?”
Tell an agent
List all marketing sources.
Show every source we track.
GET /v1/pipelines/{pipeline_id} Get a pipeline · Pipeline #
Ask an LLM
“How do I look up one pipeline?”
“What does a single pipeline record include?”
Tell an agent
Get pipeline {pipeline_id}.
Show the details of pipeline {pipeline_id}.
GET /v1/pipelines List pipelines · Pipelines #
Ask an LLM
“Which pipelines are configured?”
“Can I page through all pipelines?”
Tell an agent
List all pipelines.
Show every pipeline in the system.
GET /v1/stages/{stage_id} Get a pipeline stage · Stage #
Ask an LLM
“How do I look up one stage in a pipeline?”
“What does a single stage record include?”
Tell an agent
Get stage {stage_id}.
Show the details of stage {stage_id}.
GET /v1/stages List pipeline stages · Stages #
Ask an LLM
“Which stages exist in the pipelines?”
“Can I page through all stages?”
Tell an agent
List all pipeline stages.
Show every stage we have.
GET /v1/practice_areas/{practice_area_id} Get a practice area · Practice Area #
Ask an LLM
“How do I look up one practice area?”
“What does a single practice area record include?”
Tell an agent
Get practice area {practice_area_id}.
Show the details of practice area {practice_area_id}.
PUT /v1/practice_areas/{practice_area_id} Update a practice area · Update Practice Area #
Ask an LLM
“Can I change the statute of limitations setting on a practice area?”
“How do I rename a practice area?”
Tell an agent
Update practice area {practice_area_id}.
Rename practice area {practice_area_id}.
DELETE /v1/practice_areas/{practice_area_id} Delete a practice area · Delete Practice Area #
Ask an LLM
“How do I remove a practice area?”
“Can I delete a practice area by its ID?”
Tell an agent destructive · confirm first
Delete practice area {practice_area_id}.
Remove the practice area {practice_area_id}.
GET /v1/practice_areas List practice areas · Practice Areas #
Ask an LLM
“Which practice areas are set up?”
“Can I page through all practice areas?”
Tell an agent
List all practice areas.
Show every practice area in the system.
POST /v1/practice_areas Create a practice area · Create Practice Area #
Ask an LLM
“How do I add a new practice area to a matter?”
“Can I set a color and statute of limitations on a practice area?”
Tell an agent
Create a practice area named Marketing.
Add a practice area with statute of limitations enabled.
GET /v1/relationships/{relationship_id} Get a relationship · Relationship #
Ask an LLM
“How do I look up a relationship by its ID?”
“What type and status does one relationship have?”
Tell an agent
Get relationship {relationship_id}.
Show the type and status of relationship {relationship_id}.
PUT /v1/relationships/{relationship_id} Update a relationship · Update Relationship #
Ask an LLM
“Can I change the type of an existing relationship?”
“How do I edit a relationship's details?”
Tell an agent
Update relationship {relationship_id}.
Change the type of relationship {relationship_id}.
DELETE /v1/relationships/{relationship_id} Delete a relationship · Delete Relationship #
Ask an LLM
“How do I remove a relationship from a matter?”
“Is deleting a relationship permanent?”
Tell an agent destructive · confirm first
Delete relationship {relationship_id}.
Remove the relationship {relationship_id} from the matter.
GET /v1/relationships List relationships · Relationships #
Ask an LLM
“Which relationships are attached to a matter?”
“Can I page through all relationships?”
Tell an agent
List all relationships.
Show every relationship on the matter.
POST /v1/relationships Add a relationship to a matter · Create Relationship #
Ask an LLM
“How do I add a client or witness to a matter?”
“Can a matter have more than one relationship of the same type?”
Tell an agent
Create a relationship on this matter.
Add a witness to the matter.
GET /v1/relationship_types/{relationship_type_id} Get a relationship type · Relationship Type #
Ask an LLM
“What are the allowed relationship types for a matter?”
“Can I look up one relationship type by ID?”
Tell an agent
Get relationship type {relationship_type_id}.
Show the allowed relationship types for the matter.
PUT /v1/relationship_types/{relationship_type_id} Update a relationship type · Update Relationship Type #
Ask an LLM
“Can I rename or change a relationship type?”
“How do I edit an existing relationship type?”
Tell an agent
Update relationship type {relationship_type_id}.
Rename the relationship type {relationship_type_id}.
GET /v1/relationship_types List relationship types · Relationship Types #
Ask an LLM
“What relationship types can I attach to a matter?”
“Which relationship types exist in Lawmatics?”
Tell an agent
List all relationship types.
Show the relationship types available for the matter.
POST /v1/relationship_types Create a relationship type · Create Relationship Type #
Ask an LLM
“How do I add a new relationship type to a matter?”
“Can I define a custom relationship type?”
Tell an agent
Create a new relationship type.
Add a custom relationship type to the matter.
GET /v1/sub_statuses/{status_id} Get a matter sub status · Sub Status #
Ask an LLM
“What sub status is a matter in?”
“Can I look up one sub status by ID?”
Tell an agent
Get sub status {status_id}.
Show the sub status {status_id} of the matter.
GET /v1/sub_statuses List matter sub statuses · Sub Statuses #
Ask an LLM
“Which sub statuses can a matter be in?”
“Can I see all matter sub statuses?”
Tell an agent
List all matter sub statuses.
Show every sub status a matter can have.
POST /v1/sub_statuses Create a matter sub status · Create Sub Status #
Ask an LLM
“How do I add a new sub status like hired or lost to a matter?”
“What values can a matter sub status take?”
Tell an agent
Create a sub status with status value hired.
Add a new matter sub status.
PUT /v1/sub_statuses/{sub_status_id} Update a matter sub status · Update Sub Status #
Ask an LLM
“Can I change an existing matter sub status?”
“How do I edit a sub status by ID?”
Tell an agent
Update sub status {sub_status_id}.
Change the matter sub status {sub_status_id}.
DELETE /v1/sub_statuses/{sub_status_id} Delete a matter sub status · Delete Sub Status #
Ask an LLM
“How do I remove a sub status from a matter?”
“Is deleting a matter sub status permanent?”
Tell an agent destructive · confirm first
Delete sub status {sub_status_id}.
Remove the matter sub status {sub_status_id}.
POST /v1/prospects Create a prospect matter · Create Matter #
Ask an LLM
“How do I create a new matter from a prospect?”
“Can I add a matter through the API?”
Tell an agent
Create a new matter.
Add a prospect as a matter.
GET /v1/prospects List prospects (matters) · Matters #
Ask an LLM
“Which prospects are in my Lawmatics account?”
“Can I filter or sort the matters?”
Tell an agent
List all matters.
Show matters matching {filter_by} {filter_on} {filter_with}.
GET /v1/prospects/{prospect_id} Get a prospect matter · Matter #
Ask an LLM
“How do I look up a prospect matter by ID?”
“What details are returned for one matter?”
Tell an agent
Get matter {prospect_id}.
Show prospect matter {prospect_id} with fields {fields}.
PUT /v1/prospects/{prospect_id} Update a prospect matter · Update Matter #
Ask an LLM
“Can I change a prospect matter's details?”
“How do I set custom field values on a matter?”
Tell an agent
Update matter {prospect_id}.
Set custom field values on prospect matter {prospect_id}.
DELETE /v1/prospects/{prospect_id} Delete a prospect matter · Delete Matter #
Ask an LLM
“How do I remove a prospect matter?”
“Is deleting a matter permanent?”
Tell an agent destructive · confirm first
Delete matter {prospect_id}.
Remove the prospect matter {prospect_id}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/lawmatics:lawmatics-matters-prospects-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

lawmatics-matters-prospects-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Lawmatics OAuth Matters (Prospects) API
  version: 1.22.0
  description: The official Lawmatics REST API for legal CRM, client intake and law firm automation.
  contact:
    name: Lawmatics API Support
    email: api@lawmatics.com
    url: https://docs.lawmatics.com/
  termsOfService: https://www.lawmatics.com/terms-of-use
servers:
- url: https://api.lawmatics.com
  description: Lawmatics production API
security:
- oauth2: []
- bearerAuth: []
tags:


# --- truncated at 32 KB (138 KB total) ---
# Full source: https://artifacts.apis.io/lawmatics/openapi/lawmatics-matters-prospects-api-openapi.yml