Clment for developers

Build on Clment

Everything you do in the app — upload a contract, run an AI review against a playbook, generate a redline, track key dates — is available over a REST API, a remote MCP server for AI agents, and outbound webhooks. Build against the same contract workspace your team uses.

REST API

Contracts, reviews, playbooks, key dates, search, and PDF→Word conversion over plain HTTPS and JSON.

AI agents (MCP)

A remote Model Context Protocol server lets Claude and other MCP clients work in your contract workspace, authenticated with OAuth.

  • Connect Claude & other clients
  • Endpoint: https://<region>.clment.com/v1/mcp
  • OAuth 2.1 — PKCE + dynamic client registration. Scopes read, read_write.

Webhooks

Subscribe to events — uploads, classifications, completed reviews, generated redlines — delivered with an HMAC-SHA256 signature.

Before you start

Authentication

Create an API key in Settings → API & Integrations and send it as Authorization: Bearer clm_sk_live_…. API access is available on the Business and Enterprise plans.

Regions & data residency

Each organisation's data and keys live in a single region, so call the matching base URL — https://us.clment.com/v1, eu.clment.com, or au.clment.com. The authoritative list is the Servers menu in the reference.

Generate a client library

The API ships a standard OpenAPI 3 spec, so rather than hand-writing HTTP calls you can generate a fully-typed client in your language with openapi-generator:

npx @openapitools/openapi-generator-cli generate \
  -i https://clment.com/help/api/openapi.yaml \
  -g csharp \
  -o ./clment-client

Swap the -g target for your stack — csharp (.NET), typescript-fetch, python, go, java, and ~50 others. Every operation has a clean id (listContracts, startReview, generateRedline), so the generated methods read naturally. (openapi-generator needs Java; the npx wrapper fetches the rest.)

Building with an AI coding agent? Point it at /llms.txt for a machine-readable index of these resources.