Skip to content
MyCase logo

Connectors / Operations · HTTP Connector

MyCase integration and API

Create a case, create a client and create a lead in MyCase, and start a workflow when MyCase sends “Case created”.

What can you do with MyCase on Tray.ai?

MyCase is legal practice management software for law firms, covering cases, clients, calendars, documents, time tracking, billing and client messaging. Tray.ai connects to MyCase through the HTTP Connector, so your workflows can call the MyCase API alongside the rest of your stack. API access comes through MyCase's partner program or API plan, so you need approved credentials first.

  • When MyCase sends “Lead created”, add the prospective client to your intake team's queue.
  • When MyCase sends “Case created”, create a matter folder in your document storage.
  • Record an invoice payment in MyCase when the payment clears in your accounting system.
  • Create a client in MyCase when an engagement letter is signed in your e-signature tool.
Connects through
HTTP Connector
Authentication
OAuth 2.0
Base URL
https://external-integrations.mycase.com/v1

Set it up

Connect MyCase to Tray.ai

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

Sign in to MyCase with OAuth 2.0

Ask MyCase for API access. Once it's approved, set up an OAuth 2.0 authentication with the client ID and secret of an OAuth app you register with MyCase. 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://external-integrations.mycase.com/v1 as the base URL. Or paste a cURL example from MyCase's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List cases”

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

Start workflows from MyCase events

Give MyCase the URL of a Tray.ai webhook trigger. “Case created” can then start a workflow, and so can 7 other events.

Workflows to build with MyCase

Connect MyCase with HubSpot, Slack, Stripe and Box

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

Create MyCase leads from HubSpot form submissions

When

A form is submitted in HubSpot

Then

  1. Create a lead with the contact's details and matter type
  2. Post the new lead to the intake channel in Slack

With HubSpot and Slack

Record Stripe payments against MyCase invoices

When

A payment succeeds in Stripe

Then

  1. List invoices for the client
  2. Record an invoice payment against the matching invoice

With Stripe

Create a Box folder for every new case

When

Case created

Then

  1. Get a case
  2. Create a case folder named for the client in Box

With Box

Apps you can build on MyCase data

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

Time and billing dashboard

Shows time entries and invoices by case so partners can see billed work and record a payment.

Lead intake board

Lists new leads and lets intake staff update a lead and open a case when it converts.

Case task tracker

Lists tasks by case and lets paralegals create or update tasks.

Give your AI agents MyCase tools

Build an MCP server on MyCase 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 cases
  • List clients
  • List leads
  • List tasks
  • List time entries
  • List invoices
  • Get a case
  • Create a case

What the MyCase API covers

6 resources and 25 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. MyCase gives API access on request, so approved credentials come first. Connecting it takes a few clicks: here's how.

Cases

  • List cases
  • Get a case
  • Create a case
  • Update a case
  • Delete a case

Clients

  • List clients
  • Get a client
  • Create a client
  • Update a client
  • Delete a client

Leads

  • List leads
  • Get a lead
  • Create a lead
  • Update a lead

Tasks

  • List tasks
  • Create a task
  • Update a task
  • Delete a task

Time entries

  • List time entries
  • Get a time entry
  • Create a time entry
  • Delete a time entry

Invoices

  • List invoices
  • Record an invoice payment
  • Delete an invoice

Events MyCase can send to a Tray.ai webhook trigger

  • Case created
  • Case updated
  • Case deleted
  • Client created
  • Client updated
  • Lead created
  • Event created
  • Message created

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

mycaseapi.stoplight.io/docs/mycase-api-documentation/k5xp…

Frequently asked questions

What can a Tray.ai workflow do in MyCase?

The MyCase API documents 25 actions across 6 resources (Cases, Clients, Leads, Tasks, Time entries, Invoices). For example: List cases; List clients; List leads. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with MyCase?

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

Which MyCase events can start a Tray.ai workflow?

MyCase sends 8 events to a webhook URL, for example: Case created; Case updated; Case deleted; Client created; Client updated; Lead created; Event created; Message created. A Tray.ai webhook trigger receives them and starts a workflow.

Do I need special access to the MyCase API?

Yes. MyCase gives API access on request, so you need approved credentials before a Tray.ai workflow can call it.

See MyCase 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.