Platform · REST API

Programmatic access to cases, documents, and on-demand analysis.

When you need compliance data or analysis outside the UI, the REST API gives you a stable, key-authenticated surface to build on.

What the REST API provides

List recent cases

GET /api/v1/cases returns up to 50 of your org most recently updated compliance cases - useful for dashboards or internal reporting.

List documents with content

GET /api/v1/documents returns all org documents including content - for sync jobs, backup pipelines, or custom publishing flows.

On-demand analyze

POST /api/v1/analyze accepts title, description, and optional diff. It runs the same classification pipeline as webhooks and can link results to a case.

API key management

Create prefixed lc_ keys from the dashboard, track last used timestamps, and revoke access instantly when a integration rotates.

Same engine as webhooks

Analyze calls use the identical taxonomy, risk scoring, and conflict detection pipeline as GitHub, Linear, and Jira webhook events.

Creator attribution

Each API key records who created it - helpful when auditing which internal system or teammate owns programmatic access.

Typical uses

API for automation, webhooks for continuity

Most teams rely on webhook integrations for continuous monitoring. The REST API shines when you need to pull state, backfill analysis, or wire Lawcel into custom internal tools.

Combine analyze calls with your own orchestration for pre-release checks - Lawcel still does not enforce merge gates.

Issue a key

Admins create API keys from settings. Keys are shown masked after creation - store the secret securely on first issue.

Call v1 endpoints

Authenticate with a Bearer token in the Authorization header. Responses are JSON.

Monitor usage

Last-used timestamps on each key help you identify stale integrations and rotate credentials proactively.

FAQ

Endpoint shapes are documented in the product and developer settings. OpenAPI publication is on the roadmap if you need machine-readable contracts.
Limits follow your plan webhook and analysis quotas. Heavy programmatic use should align with tier entitlements - see pricing or contact us for Enterprise volume.
You can trigger analysis manually, but webhook integrations provide continuous monitoring, case linking, and source-platform bot comments automatically.
API keys are managed under Connections → API. Admin and developer roles can create and revoke keys; legal roles do not have Connections access.
Starter includes one API key; Pro includes unlimited keys. The Free plan does not include REST API or MCP access - see pricing for limits.

Ready to get started with REST API?

Wire Lawcel into your stack - or start with a free scan of your public legal pages.