> ## Documentation Index
> Fetch the complete documentation index at: https://docs.campfire.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List Bank Accounts

> 
        Retrieve a paginated list of bank accounts.

        Supports including soft-deleted records for audit and recovery purposes.
        When include_deleted=true, deleted records will have is_deleted=true
        and include deletion metadata (deleted_at timestamp).

        Supports sorting by all returned fields:
        - name, -name (account name)
        - nickname, -nickname (account nickname)
        - type, -type (account type)
        - status, -status (account status)
        - currency, -currency (account currency)
        - external_account_id, -external_account_id (external account ID)
        - institution_id, -institution_id (institution ID)
        - source, -source (account source)
        - current_balance, -current_balance (current balance)
        - available_balance, -available_balance (available balance)
        - created_at, -created_at (creation date)
        - last_modified_at, -last_modified_at (last modified date)
        - account_type, -account_type (chart account type)
        - account_subtype, -account_subtype (chart account subtype)
        - account_cashflow_classification, -account_cashflow_classification (cashflow classification)
        - type_name, -type_name (human-readable account type)
        - subtype_name, -subtype_name (human-readable account subtype)
        - cashflow_classification_name, -cashflow_classification_name (human-readable cashflow classification)
        - entity_name, -entity_name (entity name)
        - department, -department (department name)
        - id, -id (account ID)
        - account_id, -account_id (UUID account ID)
        



## OpenAPI

````yaml https://api.meetcampfire.com/api/schema?format=json get /ca/api/account
openapi: 3.0.3
info:
  title: Campfire Developer APIs
  version: 1.0.0
  description: >
    ## Introduction

    Campfire's developer APIs offer granular access to Campfire's core
    accounting,

    revenue recognition, and financial data features.


    These APIs are designed to be used by developers to build custom
    integrations,

    automate workflows, and perform any other programmatic operations.
servers:
  - url: https://api.meetcampfire.com
    description: Production server
security: []
tags:
  - name: Cash Management
    description: Operations related to accounts, transactions, and other bank-related data.
  - name: Core Accounting
    description: >-
      Operations related to core accounting data, such as the chart of accounts,
      entity management, and the general ledger.
  - name: Revenue Recognition
    description: >-
      Operations related to revenue recognition, contract management, and
      contract data aggregation.
  - name: Accounts Receivable
    description: Operations related to invoicing and the AR subledger
  - name: Accounts Payable
    description: Operations related to billing and the AP subledger.
  - name: Financial Statements
    description: Operations related to financial statement generation and data aggregation.
  - name: Settings
    description: Operations related to system and accounting settings configuration.
paths:
  /ca/api/account:
    get:
      tags:
        - Cash Management
      summary: List Bank Accounts
      description: |2-

                Retrieve a paginated list of bank accounts.

                Supports including soft-deleted records for audit and recovery purposes.
                When include_deleted=true, deleted records will have is_deleted=true
                and include deletion metadata (deleted_at timestamp).

                Supports sorting by all returned fields:
                - name, -name (account name)
                - nickname, -nickname (account nickname)
                - type, -type (account type)
                - status, -status (account status)
                - currency, -currency (account currency)
                - external_account_id, -external_account_id (external account ID)
                - institution_id, -institution_id (institution ID)
                - source, -source (account source)
                - current_balance, -current_balance (current balance)
                - available_balance, -available_balance (available balance)
                - created_at, -created_at (creation date)
                - last_modified_at, -last_modified_at (last modified date)
                - account_type, -account_type (chart account type)
                - account_subtype, -account_subtype (chart account subtype)
                - account_cashflow_classification, -account_cashflow_classification (cashflow classification)
                - type_name, -type_name (human-readable account type)
                - subtype_name, -subtype_name (human-readable account subtype)
                - cashflow_classification_name, -cashflow_classification_name (human-readable cashflow classification)
                - entity_name, -entity_name (entity name)
                - department, -department (department name)
                - id, -id (account ID)
                - account_id, -account_id (UUID account ID)
                
      operationId: list_accounts
      parameters:
        - in: query
          name: chart_of_accounts_account
          schema:
            type: integer
          description: Filter bank accounts by their linked chart of accounts account ID
        - in: query
          name: include_deleted
          schema:
            type: boolean
            default: false
          description: >-
            When set to 'true', returns ONLY deleted records instead of active
            records. Deleted records contain minimal data: 'id',
            'is_deleted=true', 'deleted_at' timestamp, and 'last_modified_at'.
            When 'false' or omitted, returns ONLY active records. This provides
            clean separation between active and deleted data.
        - in: query
          name: last_modified_at__gte
          schema:
            type: string
          description: >-
            Filter for records modified on or after this timestamp. Format: ISO
            8601 (e.g., '2024-01-01T00:00:00Z' or '2024-01-01'). Works with both
            active records and deleted records (filters by deletion time for
            deleted records).
        - in: query
          name: last_modified_at__lte
          schema:
            type: string
          description: >-
            Filter for records modified on or before this timestamp. Format: ISO
            8601 (e.g., '2024-12-31T23:59:59Z' or '2024-12-31'). Works with both
            active records and deleted records (filters by deletion time for
            deleted records).
        - name: limit
          required: false
          in: query
          description: Number of results to return per page.
          schema:
            type: integer
        - name: offset
          required: false
          in: query
          description: The initial index from which to return the results.
          schema:
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedBankAccountList'
          description: ''
      security:
        - knoxApiToken: []
components:
  schemas:
    PaginatedBankAccountList:
      type: object
      required:
        - count
        - results
      properties:
        count:
          type: integer
          example: 123
        next:
          type: string
          nullable: true
          format: uri
          example: http://api.example.org/accounts/?offset=400&limit=100
        previous:
          type: string
          nullable: true
          format: uri
          example: http://api.example.org/accounts/?offset=200&limit=100
        results:
          type: array
          items:
            $ref: '#/components/schemas/BankAccount'
    BankAccount:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
        is_deleted:
          type: boolean
          readOnly: true
          default: false
        deleted_at:
          type: string
          format: date-time
          readOnly: true
          nullable: true
        entity_name:
          type: string
          readOnly: true
        department_name:
          type: string
          readOnly: true
        chart_of_accounts_account_name:
          type: string
          readOnly: true
        account_type:
          type: string
          readOnly: true
        account_subtype:
          type: string
          readOnly: true
        account_cashflow_classification:
          type: string
          readOnly: true
        type_name:
          type: string
          readOnly: true
        subtype_name:
          type: string
          readOnly: true
        cashflow_classification_name:
          type: string
          readOnly: true
        account_id:
          type: string
          format: uuid
          readOnly: true
        currency:
          type: string
          maxLength: 3
        external_account_id:
          type: string
          nullable: true
          maxLength: 200
        name:
          type: string
          nullable: true
          maxLength: 250
        nickname:
          type: string
          nullable: true
          maxLength: 250
        status:
          type: string
          nullable: true
          maxLength: 250
        type:
          nullable: true
          oneOf:
            - $ref: '#/components/schemas/BankAccountTypeEnum'
            - $ref: '#/components/schemas/BlankEnum'
            - $ref: '#/components/schemas/NullEnum'
        available_balance:
          type: number
          format: double
          maximum: 1000000000000000000
          minimum: -1000000000000000000
          exclusiveMaximum: true
          exclusiveMinimum: true
          nullable: true
        current_balance:
          type: number
          format: double
          maximum: 1000000000000000000
          minimum: -1000000000000000000
          exclusiveMaximum: true
          exclusiveMinimum: true
          nullable: true
        institution_id:
          type: string
          nullable: true
          maxLength: 250
        source:
          type: string
          nullable: true
          maxLength: 250
        aba_routing_number:
          type: string
          nullable: true
          description: ABA routing number (9 digits) for US bank accounts
          maxLength: 9
        swift_bic:
          type: string
          nullable: true
          description: SWIFT BIC code (8 or 11 characters) for international accounts
          maxLength: 11
        created_at:
          type: string
          format: date-time
          readOnly: true
        last_modified_at:
          type: string
          format: date-time
          readOnly: true
        tag_ids:
          type: array
          items:
            type: integer
            maximum: 9223372036854776000
            minimum: -9223372036854776000
            format: int64
        tag_group_ids:
          type: array
          items:
            type: integer
            maximum: 9223372036854776000
            minimum: -9223372036854776000
            format: int64
        customer:
          type: integer
          readOnly: true
        entity:
          type: integer
        chart_of_accounts_account:
          type: integer
          nullable: true
        department:
          type: integer
          nullable: true
        tags:
          type: array
          items:
            type: integer
          readOnly: true
      required:
        - account_cashflow_classification
        - account_id
        - account_subtype
        - account_type
        - cashflow_classification_name
        - chart_of_accounts_account_name
        - created_at
        - customer
        - deleted_at
        - department_name
        - entity
        - entity_name
        - id
        - is_deleted
        - last_modified_at
        - subtype_name
        - tags
        - type_name
    BankAccountTypeEnum:
      enum:
        - CHECKING
        - SAVING
        - CREDIT_CARD
        - DEBIT_CARD
        - INVESTMENT
        - LOAN
      type: string
      description: |-
        * `CHECKING` - Checking
        * `SAVING` - Savings
        * `CREDIT_CARD` - Credit Card
        * `DEBIT_CARD` - Debit Card
        * `INVESTMENT` - Investment
        * `LOAN` - Loan
    BlankEnum:
      enum:
        - ''
    NullEnum:
      enum:
        - null
  securitySchemes:
    knoxApiToken:
      type: apiKey
      in: header
      name: Authorization
      description: Token-based authentication with required prefix "Token"

````