Developers / Tally Connector Status API — Know If Tally Is Running Before You Sync
Tally integrationDesktop-to-cloud syncs fail silently: you push, nothing lands, and there’s no signal why. Bizmitra’s connector status API gives you that signal — a live, four-state health check you call before every push.
Most Tally tools make you fire and pray: send the payload, and find out it didn’t land only when something downstream is missing. The Tally connector status API flips that around — one call tells you whether the connector is online, whether Tally is running, and whether the right company is loaded, so your app can decide before it sends.
It’s the same live truth the developer portal shows, exposed on the REST API as two states you can branch on. Check → decide → push, instead of push → timeout → retry.
Call GET /v1/companies/{id}/health and read tally_status. It is one of four values: running (Tally is open — safe to sync), not_running (the connector is online but Tally is closed — tell the user to open Tally), reconnecting (a transient link loss, recovering) or unreachable (the connector is offline or the machine is asleep). The boolean tally_running is the shortcut for running.
The same response carries company_status: company_linked (the correct company is loaded and bound — safe to sync), no_company_loaded (Tally is running but no company is open), company_unavailable (known but not currently reachable) or company_not_linked (the company isn’t bound to this connector). So you can distinguish "Tally is closed" from "the wrong company is open" and show the right message.
Silent failure happens when you push without knowing the connector’s state. The fix is a preflight check: call the health endpoint, and only push when tally_running and company_linked are both true; otherwise surface the state to your user and retry. The endpoint always answers 200 with a usable state — even an offline connector degrades to unreachable rather than an error — and it’s unmetered, so you can call it before every sync.
They’re the before and after of the same fact. The health endpoint is the preflight — it tells you a push won’t land before you send it. A 504 connector_timeout on a data-plane call is the runtime signal when no connector answered. Transaction status is the outcome — whether Tally accepted what you sent. Check health first and the timeout becomes the exception, not the norm.
A lightweight desktop agent that runs next to Tally, talks to your app over an encrypted channel, and handles...
Bizmitra Connect gives you a single REST API to read from and write to a customer’s Tally — invoices, sales or...
Push invoices, orders and masters into Tally — and pull the vouchers your customer created in Tally back into...
Whether you build SaaS, ERP, CRM, POS or accounting software, this is the single API that connects your produc...
Create a developer account, grab your API keys and ship a branded Tally connector — no XML, no Windows development.
Weekly insights on GST compliance, e-Invoicing, Tally integration, and growing your business with cloud ERP — straight to your inbox. No spam, unsubscribe anytime.
Switch each category on or off. Strictly necessary cookies are required for Bizmitra to work and can't be disabled.