Connect the Bookkeeping API

Use an org API key from n8n, Zapier, or any HTTP client. Prefer HTTPS in production.

Open dashboard

1 Base URL

EnvironmentBase URL
Localhttp://localhost:3000
Productionhttps://book-keeping.codefusion.com.lk

All paths below are under /api/v1/…

2 Create an API key

  1. Sign in as an org admin.
  2. Create a key with expenses:write (and expenses:read if you need list endpoints).
  3. Store bk_live_… securely — it is shown once.
curl -sS -X POST "$BASE/api/v1/orgs/$ORG_ID/api-keys" \
  -H "Authorization: Bearer $SESSION_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"label":"n8n","scopes":["expenses:write","expenses:read"]}'

3 Authenticate requests

Authorization: Bearer bk_live_YOUR_KEY
# or
X-Api-Key: bk_live_YOUR_KEY

Optional attribution: owner_email / owner_id and note / reason / description.

4 Next step