Skip to main content
GET
Get an accounting connection

Authorizations

X-API-Key
string
header
required

User API key authentication. Create a key under Settings → API keys in the Slash dashboard (https://app.slash.com/global-settings/api-keys) and send the x-legal-entity header naming the legal entity to act on with every request. Keys scoped to a legal entity are rejected with 403 user_api_key_required.

Headers

The legal entity to act on. Required on every request; a user API key can act on any legal entity its user has access to.

Pattern: ^le_[a-zA-Z0-9]+$

Path Parameters

connectionId
string
required

Connection id with the accounting_connection_ prefix.

Response

The connection.

A link between your legal entity and one accounting platform. Every accounting entry, dimension, and mapping belongs to a connection. Most legal entities have exactly one.

id
string
required

Connection id with the accounting_connection_ prefix.

Example:

"accounting_connection_2rj4l7hmrrrcv"

platform
string
required

The connected platform: quickbooks, xero, netsuite, sage_intacct, dynamics_365, odoo, dualentry, campfire, rillet, or manual_csv for a connection whose entries are exported as CSV instead of synced. New platforms may appear without notice; treat unknown values as opaque.

Example:

"quickbooks"

status
enum<string>
required

Health of the link to the platform. Only active connections sync. needs_reauth means a user must reconnect from the dashboard; not_ready means the platform is still completing its initial import.

Available options:
active,
unhealthy,
not_ready,
needs_reauth,
disabled
createdAt
string<date-time>
required
Example:

"2026-01-15T09:30:00.000Z"

organizationName
string

The connected company or tenant name reported by the platform, when known.

Example:

"Acme Robotics LLC"

defaultSubsidiaryId
string

The subsidiary dimension value new line items default to, on platforms with subsidiaries.

Example:

"accounting_subsidiary_2rj4l7hmrrrcv"

syncStartDate
string<date>

Transactions dated before this are not turned into accounting entries, as YYYY-MM-DD. Chosen by a user during connection setup.

Example:

"2026-01-01"

lastSyncedAt
string<date-time>

When settled transactions were last materialized into entries.

Example:

"2026-09-19T14:00:00.000Z"