Developers

Contiamo.ai API

Automate Contiamo.ai over a REST API, or connect it to any MCP client — authenticated with a single API key. The REST reference below covers every action; the MCP server offers the tools listed under MCP tools.
REST API

Invoke any action with a POST request. Pass your key as a bearer token.

curl https://contiamo.ai/api/rest/actions \ -H "Authorization: Bearer kav_..."
POST https://contiamo.ai/api/rest/actions/{action}
MCP server

Point any Model Context Protocol client at the endpoint below. It offers the tools listed under MCP tools, limited to what your role permits.

https://contiamo.ai/api/mcp
Authorization: Bearer kav_...
Connect your AI assistant

Let your AI assistant work in Contiamo.ai for you

Add Contiamo.ai to Claude, ChatGPT or another AI assistant as a connector, and you can ask it to look things up or make changes for you in plain conversation. It signs in as you, so it only ever sees what you're allowed to see.

https://contiamo.ai/api/mcp

Claude opens with the connector filled in. For ChatGPT, Le Chat, Cursor and others, pick them with the arrow for step-by-step help.

If your MCP client can't sign in through the browser, use an API key instead, exactly like the REST API above:

Authorization: Bearer kav_...
What your assistant can (and can't) do

Your assistant can only do what your own role in Contiamo.ai allows — nothing more.

Choose read-only access if you only want it to look things up, never change them.

Every change it makes is recorded in the audit log, just like a change you made yourself.

You can disconnect it at any time from Settings → Connected apps.

MCP tools

What an AI app connected to Contiamo.ai can do. A read-only connection only gets the first group; your role in the organization still decides what each tool may touch.

Look things up
Search automation sites
automation_search_sites

Lists the websites the user's browser can run vetted Kavaro Automation actions on (e.g. downloading invoices from a supplier portal), optionally filtered by a search text. Each site has an id, domains, how many actions it has and whether the site offers its own (WebMCP) tools. Next: automation_list_site_actions.

List a site's automation actions
automation_list_site_actions

Lists what can be done on one website: Kavaro's vetted actions and the site's own read-only WebMCP tools, each as a tool descriptor (name, description, inputSchema, readOnlyHint) with `run` = what to pass to automation_run_action. When the site's own tool covers the same thing it is listed first and the Kavaro action is marked preferred: false. An action that changes data on the site lists `effects` and an `effectsNotice` ("This automation will: …") — tell the user before running it (information, not a confirmation step).

Get an automation run
automation_get_run

The status of a run started with automation_run_action (queued, waiting_for_permission, waiting_for_login, running, then succeeded / failed / cancelled / lost). With waitSeconds (max 30) it waits for the next status change. When done: the structured outputs and the downloaded files (id, name, content type, size and a download URL valid for 15 minutes).

List documents
list_accounting_documents

Lists the receipts, supplier invoices and credit notes captured for this company, newest first. Each row has the document id, supplier (as printed and as the linked contact), date, due date, total and VAT (credit notes negative), currency, invoice number, kind, a plain status label (e.g. 'Waiting for its bank payment', 'Added to your accounts'), whether a bank payment is matched to it, its payment state, whether it is on the Overview's bills to pay (billToPay) and open warnings. Optional filters: status, source, docType, contactId, needsReview, duplicates, billsToPay, limit (default 50).

Spend summary by supplier
get_spend_summary

Totals what the company spent per supplier, net of credit notes, with each total split into paid (a bank payment is matched, or it was recorded as paid in cash or by the owner), unpaid (recorded as not paid yet) and unknown (no payment seen yet). Suppliers are grouped by their address-book contact where linked. Optional from / to dates (YYYY-MM-DD) limit it to documents dated in that period.

List bank transactions
list_bank_transactions

Lists bank-statement lines, newest first: id, bank account, date, amount, currency, bank text, counterparty, reconciliation state and the document or ledger entry each is matched to, plus the reason for lines documented elsewhere. Optional filters: bankAccountId, matchStatus, limit (default 50, max 200). Unmatched money-out lines are the payments still missing a receipt or invoice.

Find possible duplicates
find_possible_duplicates

Looks for likely duplicates: pairs of documents with the same supplier, the same total and close dates (a possible double booking); documents the app already held back as a copy of another; and suppliers saved more than once under different names or with the same VAT or registration number. Returns the actual matches with names, amounts, dates and ids. Reads only; nothing is marked or merged.

List contacts
list_contacts

Lists the company's address book: suppliers and customers with id, type (client, vendor, both), name, business id, VAT number, country and email. Optional filters: type, ignored (true lists only contacts set to be ignored), limit (default 50).

Inspect contact
get_contact

Returns one contact in full (registration and VAT ids, country, notes) with the documents and invoices linked to it. Input: contactId (from list_contacts).

List documented-elsewhere categories
list_no_document_categories

Lists the reasons a real business payment can have no receipt here (salary, taxes, pension, VAT payments, bank fees, insurance, utilities, a tax refund, an owner deposit and the company's own reasons), each with its key, label and direction (money out or money in). The key is the categoryKey input of mark_documented_elsewhere. Categories with needsDocument: true cannot be used that way; their statement has to be uploaded.

Make changes
Run an automation action
automation_run_action
Reaches outside your organization

Starts an action (or a site's WebMCP tool) in the user's own browser, with the user's own logins, through the Kavaro Automation extension. Always asynchronous: returns {runId, status} at once — then poll automation_get_run. An action that changes data on the site returns `effects` and an `effectsNotice` ("This automation will: …"): pass that on to the user. If no browser of the user's is connected the run fails with error code no_browser: ask the user to open their browser with the extension signed in; error.setup = {installUrls, signInHint} says where to install it and how to sign in.

Cancel an automation run
automation_cancel_run

Stops a run that is still in progress (the browser closes its run window). A finished run is returned unchanged.

Inspect document
get_document

Returns one captured document in full: the fields read from it (supplier, dates, totals, VAT, line items), its kind, how it is categorised and booked, its plain status label, whether a bank payment is matched to it and its payment state (paid from the bank, in cash, by the owner, not paid yet, or unknown), open warnings and questions, decisions already recorded, a credit note's original invoice, the linked contact and attached files. Input: documentId (from list_accounting_documents). It may tidy a credit note's link to its original invoice while reading.

List bank accounts
list_bank_accounts
Reaches outside your organization

Lists the company's bank accounts (id, name, IBAN, currency, bank) with the current balance where a bank connection provides one; otherwise the balance is null with a note saying why. Accounts created from an uploaded bank-statement CSV have no live balance. Reading a live balance contacts the bank provider and may refresh its stored connection.

Capture document
capture_document

Adds a receipt, supplier invoice or credit note to the company's documents from its text (for example an emailed receipt pasted in), or from the id of a file already uploaded to the app. The document is then read, categorised and matched to its bank payment automatically. Key inputs: text or fileId, optional fileName and docType. Returns the new document; what was read from it shows on get_document once reading finishes.

Update coding
update_coding
Can overwrite or delete

Corrects what was read from a document before it is in the accounts: supplier, supplier's country, date, due date, total, VAT, currency, invoice number, kind, category (what it was for), booking text or amount. Changing the category or the supplier's country re-books it from the company's booking rules. Only the fields passed are changed; it never removes or re-sends an entry in the connected accounting system. Returns the document with its posting state before and after.

Confirm reviewed
confirm_document_review
Can overwrite or delete
Reaches outside your organization

Confirms that a document flagged for review (for example one addressed to a person rather than the company) is correct and belongs on the books, clearing the review flag. rememberAddressee: true also stops future documents from that supplier to that recipient being flagged. When the document is matched to a bank payment it then goes on to be added to the connected accounting system; otherwise the result can say it still awaits the owner's approval.

Resolve a document warning
resolve_document_warning
Can overwrite or delete
Reaches outside your organization

Records the owner's decision on one named warning on a document and closes it. Inputs: documentId, warning (the reason key the read tools return in reviewReasons, e.g. low_confidence or vat_rate_mismatch), outcome ('verified' = checked and fine, 'rejected' = not one to book, so the document is set aside) and an optional note in the owner's words. When the document is matched to a bank payment and nothing else holds it, it is then added to the connected accounting system.

Code as paid by owner
code_paid_by_owner
Can overwrite or delete

Records that a document flagged as possibly private is a real business cost the owner paid with their own card or money. It answers only that warning; the expense stays as it is and the payment side is booked to the account for money the company owes its owner, so the document no longer waits for a bank payment. Input: documentId.

Mark as paid in cash
mark_document_paid_in_cash
Can overwrite or delete

Records that a bill or receipt was paid in cash, so no bank payment will ever be matched to it and it no longer waits for one. The payment is booked against the company's cash account; when no cash account exists in the connected chart of accounts, nothing changes and the result says so. Refused on a document already in the accounts or already matched to a bank line. Input: documentId.

Mark as not paid yet
mark_document_awaiting_payment
Can overwrite or delete

Records that a bill has not been paid yet, so it counts towards what the business owes, ranked by its due date. Also undoes an earlier 'paid in cash' or 'paid by owner' answer, unless the document is already in the accounts. Refused when a bank payment is already matched to it, or it is ignored or a duplicate. Input: documentId.

Already paid
mark_bill_paid_from_bank
Can overwrite or delete

Records that the owner has already paid a bill from the business bank: it leaves the list of bills to pay and its payment reminder stops. It is not matched to anything; it is matched automatically when the payment shows on a bank statement. Refused on a credit note, an ignored document or a duplicate. Input: documentId.

Mark not a duplicate
mark_not_duplicate
Can overwrite or delete

Clears the duplicate flag on a document that was held back as a copy in error (for example two separate purchases of the same amount), so it is processed on its own. Input: documentId. Returns changed: false when the document was not marked as a duplicate.

Mark as a duplicate
mark_duplicate
Can overwrite or delete

Marks a document as a duplicate of another document of this company, so the same expense is not booked twice. Inputs: documentId (the copy) and duplicateOfId (the original that is kept). Returns changed: false when it was already marked that way.

Say what a document was for
answer_category_question
Can overwrite or delete

Answers the open 'what was this for?' question on a document (its categoryQuestion) with one of the category keys the question lists. The document cannot be booked until it is answered. always: true also remembers the answer for this supplier and this pair of options. Once answered, the document is coded from the booking rules.

Skip document
skip_document
Can overwrite or delete

Sets a document aside as not one to book (a private purchase, another company's paperwork, an unreadable file). It is kept, never posted, and can be brought back with restore_document. Inputs: documentId and an optional short reason shown on the document.

Restore ignored document
restore_document
Can overwrite or delete

Brings a set-aside document back so it can be categorised and booked again. Input: documentId of an ignored document.

Match transaction
match_transaction
Can overwrite or delete
Reaches outside your organization

Links a bank-statement line to the receipt or invoice that documents it (documentId), or to an existing ledger entry (ledgerEntryId), and marks the line reconciled. Different currencies are accepted when the converted amount lines up. Matching a document also adds it to the connected accounting system in the background (in Italy, a foreign invoice's reverse-charge document is prepared there, unsent), unless a warning or open question still holds it. acknowledgeDifference: true accepts a small amount difference.

Unmatch transaction
unmatch_transaction
Can overwrite or delete

Removes the match from a bank-statement line, returning it to the unmatched list, and remembers the pair so automatic matching does not link them again. A document already added to the accounting system stays there. Input: transactionId.

Ignore transaction
ignore_transaction
Can overwrite or delete

Marks a bank-statement line as not needing a document (for example a transfer between the company's own accounts) and clears any match on it. Input: transactionId. For real business costs documented outside this app, mark_documented_elsewhere records the reason instead.

Mark payment documented elsewhere
mark_documented_elsewhere
Can overwrite or delete

Marks a bank-statement line as real business money whose paperwork lives elsewhere (salary, taxes, pension, bank fees, utilities; or money in such as a tax refund or an owner deposit), so it counts as documented. Inputs: transactionId, categoryKey (from list_no_document_categories, matching the line's direction) and an optional note such as where the paper is. Any existing match on the line is cleared.

Bring back documented-elsewhere payment
unmark_documented_elsewhere
Can overwrite or delete

Undoes mark_documented_elsewhere: the bank-statement line goes back to the unmatched list and loses its category. Input: transactionId.

Support

Questions about Contiamo.ai, its API or a connected AI app? Email us — signed-in users can also open a ticket from Support inside the app.

Contiamo.ai API