Get Started
API Reference
- Api keys
- Items
- Inventory Adjustments
- Branches
- Warehouses
- Accounts
- Inventory Cost
- Sale Invoices
- Pdf Templates
- Tax Rates
- Payments Received
- Import
- resources
- Payment Links
- stripe
- Item Categories
- Expenses
- Warehouse Transfers
- Customers
- Vendors
- Sale Estimates
- Sale Receipts
- Bills
- Landed Cost
- Manual Journals
- Credit Notes
- Credit Note Refunds
- Credit Notes Apply Invoice
- Vendor Credits
- Vendor Credits Apply Bills
- Bill Payments
- Vendor Credits Refunds
- Bank Accounts
- Banking Plaid
- banking-plaid
- Banking Categorization
- Banking Transactions
- Banking Uncategorized Transactions
- Banking Pending Transactions
- Bank Rules
- Banking Recognized Transactions
- Banking Transactions Matching
- Transactions Locking
- Settings
- Reports
- Dashboard
- Roles
- Subscriptions
- Organization
- Payment Services
- Attachments
- Export
- Views
- Currencies
- misc
- Users
- Contacts
Accounts
Retrieves the accounts.
GET
/
api
/
accounts
Copy
[
{
"id": 1,
"name": "Cash Account",
"slug": "cash-account",
"code": "1001",
"index": 1,
"accountType": "bank",
"accountTypeLabel": "Bank Account",
"parentAccountId": null,
"predefined": false,
"currencyCode": "USD",
"active": true,
"bankBalance": 5000,
"bankBalanceFormatted": "$5,000.00",
"lastFeedsUpdatedAt": "2024-03-20T10:30:00Z",
"lastFeedsUpdatedAtFormatted": "Mar 20, 2024 10:30 AM",
"amount": 5000,
"formattedAmount": "$5,000.00",
"plaidItemId": "plaid-item-123",
"plaidAccountId": "plaid-account-456",
"isFeedsActive": true,
"isSyncingOwner": true,
"isFeedsPaused": false,
"accountNormal": "debit",
"accountNormalFormatted": "Debit",
"flattenName": "Assets: Cash Account",
"accountLevel": 2,
"createdAt": "2024-03-20T10:00:00Z",
"updatedAt": "2024-03-20T10:30:00Z"
}
]
Headers
Value must be 'Bearer <token>' where <token> is an API key prefixed with 'bc_' or a JWT token.
Example:
"Bearer bc_1234567890abcdef"
Required if Authorization is a JWT token. The organization ID to operate within.
Response
200 - application/json
The accounts have been successfully retrieved.
The response is of type object[]
.
Copy
[
{
"id": 1,
"name": "Cash Account",
"slug": "cash-account",
"code": "1001",
"index": 1,
"accountType": "bank",
"accountTypeLabel": "Bank Account",
"parentAccountId": null,
"predefined": false,
"currencyCode": "USD",
"active": true,
"bankBalance": 5000,
"bankBalanceFormatted": "$5,000.00",
"lastFeedsUpdatedAt": "2024-03-20T10:30:00Z",
"lastFeedsUpdatedAtFormatted": "Mar 20, 2024 10:30 AM",
"amount": 5000,
"formattedAmount": "$5,000.00",
"plaidItemId": "plaid-item-123",
"plaidAccountId": "plaid-account-456",
"isFeedsActive": true,
"isSyncingOwner": true,
"isFeedsPaused": false,
"accountNormal": "debit",
"accountNormalFormatted": "Debit",
"flattenName": "Assets: Cash Account",
"accountLevel": 2,
"createdAt": "2024-03-20T10:00:00Z",
"updatedAt": "2024-03-20T10:30:00Z"
}
]
Assistant
Responses are generated using AI and may contain mistakes.