# TODO.LAW API

**Canonical:** https://apis.io/apis/todo-law/todo-law-api/  
**Provider:** TODO.LAW — https://apis.io/providers/todo-law/  
**Base URL:** https://dealroom.todo.law  
**Documentation:** https://dealroom.todo.law/docs/agent-api

TODO.LAW API is published by [TODO.LAW](https://apis.io/providers/todo-law/) on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 6 JSON Schema definitions. The published artifact set on APIs.io includes an OpenAPI specification and 6 JSON Schemas.

TODO.LAW API as documented publicly. Contract generated from the documentation by API Evangelist (2026-11-26); not the provider's own document.

## Operations (45)

| Method | Path | Summary |
|---|---|---|
| GET | `/.well-known/agent.json` | Agent card describing the service capabilities, authentication and contract types. |
| GET | `/api/v1/agent/contract-types` | Contract types and the facts each needs |
| POST | `/api/v1/agent/contracts` | Make a contract in one call |
| GET | `/api/v1/agent/credits/balance` | Credits left |
| POST | `/api/v1/agent/credits/checkout` | A payment link for a bundle of credits |
| GET | `/api/v1/agent/deadlines` | Public statutory dates with their sources |
| DELETE | `/api/v1/agent/deals/{dealid}` | Delete one of your single-party deals and its data |
| GET | `/api/v1/agent/deals/{dealid}` | A deal's clauses and status |
| POST | `/api/v1/agent/deals/{dealid}/attorney` | Invite your own lawyer to review |
| GET | `/api/v1/agent/deals/{dealid}/document/md` | The contract as Markdown (also /html, /txt, /docx; PDF without suffix) |
| GET | `/api/v1/agent/deals/{dealid}/obligations` | The duties and dates of a contract |
| GET | `/api/v1/agent/find-template` | The templates that match a description |
| POST | `/api/v1/agent/mcp` | MCP server endpoint to send tool calls with POST, with your API key in the Authorization header. |
| POST | `/api/v1/agent/negotiate` | Start a new negotiation (returns token). |
| POST | `/api/v1/agent/negotiate/join` | Join using a negotiation token. |
| POST | `/api/v1/agent/playbooks` | Create a new negotiation playbook. |
| GET | `/api/v1/agent/templates/{code}` | Clauses and options of one contract |
| GET | `/api/v1/agent/templates/{code}/options` | The options of one clause, from both sides |
| POST | `/contracts` | Make a contract in one call |
| GET | `/credits/balance` | Your account's credit balance, shared by all of its API keys |
| POST | `/credits/checkout` | Buy a prepaid bundle of contract credits for your account |
| GET | `/deals` | List all deals for this API key |
| DELETE | `/deals/{id}` | Delete one of your single‑party deals and its data |
| GET | `/deals/{id}` | Get deal outcome and clause results |
| POST | `/deals/{id}/accept` | Accept the current suggestion. |
| POST | `/deals/{id}/counter` | Submit counter‑proposals for specific clauses |
| POST | `/deals/{id}/dispute` | Escalate a deal to Gavel (planned). |
| GET | `/deals/{id}/document` | Download the final contract as PDF |
| GET | `/deals/{id}/document/docx` | Download the final contract as DOCX |
| POST | `/deals/{id}/reject` | Reject and fail the deal. |
| GET | `/deals/{id}/status` | Lightweight status poll. |
| POST | `/negotiate` | Start a new negotiation (returns token) |
| POST | `/negotiate/join` | Join using a negotiation token |
| GET | `/playbooks` | List all playbooks for this API key |
| POST | `/playbooks` | Create a new negotiation playbook |
| DELETE | `/playbooks/{id}` | Delete a playbook |
| GET | `/playbooks/{id}` | Get playbook details |
| PUT | `/playbooks/{id}` | Update an existing playbook |
| POST | `/subscribe` | Retired: answers 410. There is no subscription; contracts are paid with credits |
| GET | `/subscriptions` | View the premium entitlements held by the API key's customer |
| GET | `/templates` | List all available contract templates |
| GET | `/templates/{contracttype}` | Get template details including all clauses and options |
| GET | `/webhooks` | List registered webhook endpoints |
| POST | `/webhooks` | Register a new webhook endpoint |
| DELETE | `/webhooks/{id}` | Delete a webhook endpoint |

## Machine-readable artifacts (8)

- **OpenAPI** — https://artifacts.apis.io/todo-law/openapi/_ae-authored/todo-law-openapi-generated.yml
- **JSONSchema** — https://artifacts.apis.io/todo-law/json-schema/todo-law-get-api-v1-agent-deals-dealid-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/todo-law/json-schema/todo-law-get-api-v1-agent-templates-code-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/todo-law/json-schema/todo-law-post-api-v1-agent-credits-checkout-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/todo-law/json-schema/todo-law-get-api-v1-agent-deals-dealid-document-md-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/todo-law/json-schema/todo-law-post-api-v1-agent-credits-checkout-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/todo-law/json-schema/todo-law-get-api-v1-agent-find-template-response-schema.json
- **APIsJSON** — https://artifacts.apis.io/todo-law/apis.yml

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/todo-law` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/todo-law/todo-law-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/todo-law/.
