Companies on the Enterprise plan can use Lawwit's capabilities from their own software. With an organization API key you can search case law and fetch full texts, get sourced answers under Turkish law, turn a contract text into a structured (JSON) risk report and sync the contract repository with your ERP. AI endpoints are charged per token from the same usage balance you use in the panel.
The Legal API brings Lawwit's Turkish-law AI into your company's own software. You can automatically run a contract arriving in your procurement system through risk review, answer employees' legal questions in your internal portal with sourced answers, or keep the contract repository in sync with your ERP.
All endpoints return JSON and are called with an organization API key (Authorization: Bearer). Only organization managers can create keys; the raw key is shown only once, only its hash is stored, and a key can be revoked at any moment. A limit of 60 requests per minute applies per key.
AI endpoints (Q&A and contract review) are charged per token from the same balance you use in the panel; case law search and contract repository endpoints do not consume usage. Calls and consumption are tracked per endpoint in the panel. For organizations in in-house mode, API answers are also generated from the company's perspective.
Run supplier contracts through an automatic risk report before they enter the approval flow.
Answer business units' frequent legal questions with case-law-sourced answers.
Push contract records from your ERP to the Lawwit repository and read back notice deadlines.
POST /api/v1/ask — an answer with [n] citations to case law and a source list.
POST /api/v1/contracts/review — summary, overall risk, parties, key dates, risky clauses and missing provisions.
GET /api/v1/emsal and /api/v1/emsal/{id} — search Court of Cassation / Council of State rulings and fetch full text.
GET/POST /api/v1/contracts — contracts with notice deadlines and days left; add records from your ERP.
Organization keys are shown only once and stored hashed; managers can revoke them anytime. 60 requests per minute.
Generate your organization key under Panel → API Access.
Send JSON requests with the Authorization: Bearer header.
See calls and usage per endpoint in the panel.
Lawwit capabilities are added to your existing workflows without another screen.
Structured JSON output can be used directly in automations.
Keys belong to the organization, are managed only by managers and can be revoked.
Usage is tracked transparently from the same balance as the panel.
The Legal API is available only on the Enterprise plan. Keys are created by the organization manager under Panel → API Access.
POST /api/v1/ask (sourced legal answer), POST /api/v1/contracts/review (contract risk review, JSON), GET /api/v1/emsal and /api/v1/emsal/{id} (case law search and full text), GET and POST /api/v1/contracts (contract repository).
Q&A and contract review are deducted per token from the same usage balance as the panel. Case law search and contract repository endpoints are free. If the balance is insufficient, a 402 insufficient_credits error is returned.
Yes, 60 requests per minute per key. When exceeded, a 429 rate_limited error with a Retry-After header is returned.
No. Texts you send via the API are not used for AI training; records added to the contract repository are visible only within your own organization.