Getting started
Getting Started
1. Get credentials
You authenticate with either an API key or an OAuth2 client. Both are created in the LedgerBee app under Marketplace — the API Keys and OAuth Clients tabs. See Authentication for the trade-offs.
2. Make your first call
With an API key:
Code
With an OAuth2 bearer token:
Code
3. Explore interactively
Open the API Reference and use the Try it console — paste your key or token once and call any endpoint directly from the browser.
Conventions
- Pagination: paginated list endpoints take
pageandlimitquery parameters (e.g. journal entries, invoices); response shapes are documented per endpoint in the API Reference. - Idempotency: usage reporting requires an
x-api-idempotency-keyheader; other endpoints rely on natural keys or none — see Idempotency. - Errors: failures return a JSON body with a stable
codeplus details.
Last modified on