LedgerBee Public API
stringstring[]string[]
API Key
API key information endpoints
Get current API key
GET
https://api.ledgerbee.com/api
/v1/api-key
x-api-key (header)
or
OAuth 2.0
Returns metadata about the API key used to authenticate the request: its expiry, IP whitelist, granted scopes, and rate limit tiers. Useful for verifying what a key can do before calling other endpoints.
Key details are cached for 5 seconds. The endpoint requires API-key
authentication specifically — calling it with an OAuth access token responds
403 with code INSUFFICIENT_PERMISSIONS and reason
endpoint_requires_api_key_auth.
Required Scope
No specific scope is required — any valid API key for your company can call this endpoint.
Get current API key › Responses
API key information
RateLimitTierResponse[] · required
Available rate limit tiers for this API key
expiresAtExpiration date and time of the API key
Example: 2024-12-31T23:59:59.000Z
ipWhitelistList of IP addresses allowed to use this API key
Example: ["192.168.1.1","10.0.0.1"]
scopesList of scopes granted to this API key
Example: ["accounts-read","journal-entries-write"]