Getting Started
Base URL
Section titled “Base URL”All API requests use:
https://api.visihub.app/api/v1/booksPrerequisites
Section titled “Prerequisites”- A VisiBooks account on a paid plan
- An entity with Books set up (chart of accounts initialized)
- An API key bound to your entity
Create an API Key
Section titled “Create an API Key”- Go to Settings > API Keys in VisiBooks
- Click Create API Key
- Select the scopes you need:
read— list and retrieve resourceswrite— create, update, and void resourcesreports— access financial reports
- Bind the key to your entity
- Copy the key — it starts with
vk_and is only shown once
Make Your First Request
Section titled “Make Your First Request”curl https://api.visihub.app/api/v1/books/accounts \ -H "Authorization: Bearer vk_your_api_key_here"Response:
{ "data": [ { "id": 1, "number": "1000", "name": "Cash", "account_type": "asset", "sub_type": "cash", "normal_balance": "debit", "active": true } ], "page": { "limit": 25, "has_more": false, "next_cursor": null }}Next Steps
Section titled “Next Steps”- Authentication — scopes, key management, owner binding
- Pagination — cursor-based pagination
- API Reference — full endpoint documentation