Skip to main content
GET
List accounts

Authorizations

Authorization
string
header
required

Pass your secret key in the Authorization header as a Bearer token: Authorization: Bearer sk_test_... (sandbox) or Bearer sk_live_... (production).

Keys are created in the developer portal and the plaintext secret is shown exactly once at creation. Treat them like passwords — never embed them in mobile apps or front-end code.

Query Parameters

client_id
string
required

The Client (cli_…) to scope the read to. Required on account, transaction, and statement reads — LedgerSync's backend data APIs are scoped per end-user, so these resources are resolved within a single Client.

cursor
string

Opaque cursor returned by a previous list response.

limit
integer
default:100

Max items per page. Values above the maximum are capped, not rejected.

Required range: 1 <= x <= 500
connection_id
string

Only return Accounts surfaced by this Connection. Must be the canonical id (con_<SOURCE>_<bankAccountId>, e.g. con_FINICITY_41294); the placeholder UUID returned during initiate is rejected with 400.

Example:

"con_FINICITY_41294"

source
enum<string>

Only return Accounts from this aggregation source. Financial-data source backing an account. Aggregator sources (FINICITY, MX) and FDE back a Connection; PDF does not.

Values:

  • FINICITY — Finicity aggregation
  • MX — MX aggregation
  • FDE — Financial Document Extraction (LedgerSync proprietary)
  • PDF — Uploaded bank statements. Read-only: exposed on /accounts and /transactions (statements are not served for PDF), and never as a Connection (PDF accounts have connection_id: null).
Available options:
FINICITY,
MX,
FDE,
PDF

Response

OK

data
object[]
required
has_more
boolean
required

Whether more items exist beyond this page.

next_cursor
string | null

Opaque cursor to pass as cursor for the next page. Null/absent when has_more is false.