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}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/mcpAuthorization: Bearer kav_...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/mcpClaude 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_...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.
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.
automation_search_sitesLists 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.
automation_list_site_actionsLists 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).
automation_get_runThe 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_accounting_documentsLists 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).
get_spend_summaryTotals 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_transactionsLists 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_duplicatesLooks 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_contactsLists 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).
get_contactReturns one contact in full (registration and VAT ids, country, notes) with the documents and invoices linked to it. Input: contactId (from list_contacts).
list_no_document_categoriesLists 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.
automation_run_actionStarts 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.
automation_cancel_runStops a run that is still in progress (the browser closes its run window). A finished run is returned unchanged.
get_documentReturns 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_accountsLists 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_documentAdds 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_codingCorrects 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_document_reviewConfirms 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_document_warningRecords 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_paid_by_ownerRecords 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_document_paid_in_cashRecords 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_document_awaiting_paymentRecords 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.
mark_bill_paid_from_bankRecords 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_duplicateClears 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_duplicateMarks 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.
answer_category_questionAnswers 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_documentSets 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_documentBrings a set-aside document back so it can be categorised and booked again. Input: documentId of an ignored document.
match_transactionLinks 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_transactionRemoves 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_transactionMarks 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_documented_elsewhereMarks 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.
unmark_documented_elsewhereUndoes mark_documented_elsewhere: the bank-statement line goes back to the unmatched list and loses its category. Input: transactionId.
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.