List integrations

Returns the connection health of every integration a Books instance syncs data from: external bank and credit card accounts (Plaid), Stripe and PayPal accounts, and Gusto payroll. Use it to judge whether the books are complete enough to trust before reporting on them. Each entry in integrations is one existing connection, with integrationId (unique only within its provider), name, provider (plaid, stripe, payPal, or gusto), connectionStatus, lastSyncedAt when known, sourceAccountId when it feeds a source account, and requiredAction. connectionStatus is autoSynced (healthy), setupInProgress (first sync running), setupPending (waiting for the user to finish setup), syncPaused (paused by the user), connectionLost (broken; no new data arrives), or inactive (disabled; do not treat it as connected). requiredAction names what the user must do: reconnectInMercury, completeSetupInMercury, resumeSyncInMercury, or none. All fixes must be done by the user in the Mercury app; the API cannot reconnect, resume, or finish setting up an integration. lastSyncedAt means different things per provider: for Stripe, PayPal, and Gusto it is the last successful pull from the vendor into Mercury; for Plaid it is the last successful push from Mercury into Books. No staleness flag is returned; judge staleness from it. A provider the organization never connected has no entry, and neither has a removed Plaid connection, so a missing bank entry doesn't tell never-connected from removed. Mercury accounts and manual accounts are never included; to list every transaction feed, including those, use getBooksSourceAccounts. failedChecks lists the areas whose health could not be checked (externalBanks, commerce, payroll). For a listed area, health is unknown, not broken: don't treat its missing providers as never connected, and don't tell the user to reconnect them. When failedChecks is empty, a missing provider was never connected.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
uuid

The Books instance to act on. Must be the token organization's own instance, which it defaults to.

Responses

400

Invalid booksId

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json