Contracts
What it does
Contracts keeps one record per contract: the base contract, amendments, renewals, terminations and price sheets folded into the terms in force, its status, and the dates that need someone. Every term cites the document and the verbatim passage it came from, and counts only when that passage is in the document and prints the value. It is for legal, procurement and sales teams who manage renewals and notice periods.
contracts). A workspace owner adds it in Apps: choose Create an App, then Add a standard app, then Add on its tile (or POST /v1/apps with slug contracts). Until it is added, its /v1 routes answer 404 and its agent tools do not appear. A switched-off app still answers reads and settings, but calls that start work answer 409; switch it on from the card menu in Apps or with POST /v1/apps/{id}/enable.What you give it
- Contract documents in your workspace. The import queue finds the ones that look like contracts (invoices are left out) and reads them for terms.
- Optionally, corrections: a document's role, a term set by hand with its quote, key rules that file a renumbered contract under its real key.
What you get
- A register with status, effective date, expiry, notice deadline, annual value and direction (you buy, sell, or internal).
- A 360 view per contract: every term with its source passage, open issues, document history and key dates.
- Key dates (
expiry,renewal,notice_deadline,escalation,termination,obligation) and the process items contract data starts in other departments.
Run it in the app
- Open Apps → Contracts and start the import: check the candidates and queue a first batch.
- Open a contract for its 360 view. Correct a term with the passage that supports it, or change a document's role.
- Work the upcoming dates and mark each handled, or record a decision such as
notice_sentorrenewal_declined. - Use the cleaning worklist to merge split contracts and dismiss issues that are right as they stand.
Run it with the API
Main routes: GET /v1/contracts (register), GET /v1/contracts/{id} (360 view), GET /v1/contracts/upcoming (key dates within days), POST /v1/contracts/key-dates/{keyDateId} (mark handled), POST /v1/contracts/{id}/decision, and the import queue POST /v1/contracts/import, POST /v1/contracts/import/all, GET /v1/contracts/import/status.
curl "https://api.talonic.com/v1/contracts/upcoming?days=30" \
-H "Authorization: Bearer $TALONIC_API_KEY"
curl -X POST "https://api.talonic.com/v1/contracts/key-dates/$KEY_DATE_ID" \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"handled": true, "note": "Notice sent by registered letter."}'const headers = {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
};
const url = 'https://api.talonic.com/v1/contracts/import/all';
const plan = await fetch(url, { method: 'POST', headers, body: JSON.stringify({ dry_run: true, limit: 50 }) }).then((r) => r.json());
console.log(plan.contracts, plan.documents);
await fetch(url, { method: 'POST', headers, body: JSON.stringify({ limit: 50 }) });{
"data": [{
"contract_key": "1043020-WLV",
"counterparty": "Stadtwerke Musterstadt GmbH",
"kind": "notice_deadline",
"due_date": "2026-06-30",
"quote": "Die Kuendigungsfrist betraegt sechs Monate zum Vertragsende.",
"days_left": 25
}]
}Full reference: Contracts API.
Run it with an agent
Tools: talonic_contracts_register, talonic_contracts_contract, talonic_contracts_upcoming, talonic_contracts_key_date, talonic_contracts_decide, talonic_contracts_processes, talonic_contracts_process, talonic_contracts_import_candidates, talonic_contracts_import, talonic_contracts_import_status, talonic_contracts_issues, talonic_contracts_merge, talonic_contracts_set_term, talonic_contracts_update_document and talonic_contracts_reread. Example ask: "Which notice deadlines fall in the next 60 days, and what does each contract say about notice?"
Limits and costs
POST /v1/contracts/import queues up to 500 documents per call. Reading documents for terms is the costly step: check a first batch with dry_run and limit, and use force only when you mean to re-read. The register is not paginated. Work an app does for you draws on the same credit balance as the rest of the platform; no separate per-app price is published. See Billing, credits and usage and rate limits.
Errors
Status codes
| Parameter | Type | Description |
|---|---|---|
| 401 | auth | Missing or invalid API key. Send `Authorization: Bearer $TALONIC_API_KEY`. |
| 403 | auth | The key lacks the scope (`read` for reads, `write` for writes), or the person behind it is below member for a write. |
| 404 | not found | The workspace has not added the app (the message names slug `contracts`), or the id does not exist in this workspace. Add the app, then retry. |
| 409 | conflict | The app is switched off, so it starts no work. Switch it on in Apps or with `POST /v1/apps/{id}/enable`. |
| 422 | validation | A term was set with a quote that is not in the document or does not print the value. Nothing is stored; copy the passage exactly. |
Next
- Contract Party Management: who each contract is with.
- Contract Desk.
Frequently asked questions
How does Contracts know which terms are in force?+
What is the difference between marking a date handled and deciding the contract?+
notice_sent or renewal_declined changes how the end of term is computed for the contract.