Launching Webhooks to Finally Automate Legal Data

Michael Lissner

APIs can be powerful tools for accessing and working with data, but they require that you "poll and pull" to get regular updates. The only way you can find out if there's new data in an API is to rapidly poll it over and over again — around the clock, every day.

Polling APIs this way is wasteful, inefficient, and one-directional. Why should your server constantly ask ours for updates when there's no good reason our servers can't just tell yours when something has changed?

Enter webhooks.

Using webhooks, our servers can immediately broadcast events as they happen. If you set up your server to listen to ours, we will send you an HTTP POST event whenever there is an update that you care about. It's that simple.

Out of the gate, we can send you updates about a number of events:

  1. Docket Alerts — This type of update allows your server to automatically take action when a case is updated. This is a super-powered version of our docket alert system. Combine this with @recap.email to automatically and immediately take action when there are new filings in your cases.

  2. Search Alerts — Automatically learn when there are new results for search queries you have configured in CourtListener.

  3. RECAP Fetch — If you are using our APIs to download content from PACER, this tells you when your download tasks are complete.

  4. Expired Alerts — Manage alerts on very old cases that may no longer need tracking.

On our end, we are using webhooks to relaunch the @big_cases bot on Twitter and Mastodon, but that's just a small sample of what's possible.

We'd love to see companies using these webhooks to do things like:

  • Automatically post messages in Microsoft Teams, Discord, or Slack when particular cases get updates (this is on our roadmap, but we welcome others).

  • A Zapier or IFTTT integration that automatically keeps Sharepoint or iManage up to date with new filings from federal cases.

There are nearly infinite combinations of how webhooks can work with different systems. The question to ask yourself is which systems would benefit from automatic data integrations and processes.

Webhooks are a wildly useful technology that took considerable resources to build. We're thrilled to be launching it today. We believe webhooks will close the legal data circle, making legal data actionable in ways we have never seen before.

To get started with our webhooks read, the documentation or the "Getting Started" guides:

Learn More Get Started

© 2023 Free Law Project. Content licensed under a Creative Commons BY-ND international 4.0, license, except where indicated. Site powered by Netlify.