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

# Get accounts

> Returns the chart of accounts — the organization's list of accounting numbers — used to categorise expenses against the customer's general ledger. Scoped to the calling user's organization; admin access is required and a caller without it gets a 404 for the organization itself rather than an empty list.



## OpenAPI

````yaml openapi/findity-admin-api.json GET /organizations/{id}/accounts
openapi: 3.1.0
info:
  title: Findity Admin API
  description: Findity Admin API
  version: 1.0.0
servers:
  - url: https://stage-api.findity.com/api/v1/admin
  - url: https://api.findity.com/api/v1/admin
security:
  - bearerAuth: []
paths:
  /organizations/{id}/accounts:
    get:
      tags:
        - Organization
      summary: Get accounts
      description: >-
        Returns the chart of accounts — the organization's list of accounting
        numbers — used to categorise expenses against the customer's general
        ledger. Scoped to the calling user's organization; admin access is
        required and a caller without it gets a 404 for the organization itself
        rather than an empty list.
      operationId: adminGetAccounts
      parameters:
        - $ref: '#/components/parameters/organizationIdPath'
        - name: sort
          in: query
          description: Comma separated list of properties to sort on with defined order
          required: false
          example: number:desc,name:asc
          schema:
            type: string
            default: number:asc
        - $ref: '#/components/parameters/max'
        - $ref: '#/components/parameters/offset'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ArrayOfAccounts'
              example:
                meta:
                  count: 2
                  total: 2
                data:
                  - id: 11adfe2a080040e3892ffb89c21ec44e
                    name: The account name.
                    number: Account number
                  - id: af9e26fc589f4090b4fff2698dec1139
                    name: Another account name.
                    number: Another account number
components:
  parameters:
    organizationIdPath:
      in: path
      name: id
      required: true
      description: The unique identifier of the organization
      schema:
        $ref: '#/components/schemas/Uuid'
        example: 05b8daba9ba14a49846fe77883248cf0
    max:
      name: max
      in: query
      description: max records to return
      required: false
      schema:
        type: integer
        format: int
        minimum: 1
        maximum: 1000
        default: 10
    offset:
      name: offset
      in: query
      description: the offset to be used in list
      required: false
      schema:
        type: integer
        format: int
        minimum: 0
        default: 0
  schemas:
    ArrayOfAccounts:
      type: object
      properties:
        meta:
          properties:
            count:
              type: integer
            total:
              type: integer
        data:
          type: array
          items:
            $ref: '#/components/schemas/Account'
    Uuid:
      type: string
      pattern: ^[0-9a-fA-F]{32}$
      description: UUID without dashes (32-character hex string)
    Account:
      type: object
      properties:
        id:
          allOf:
            - $ref: '#/components/schemas/Uuid'
          readOnly: true
        name:
          type: string
          description: Name of the account
        number:
          type: string
          description: Account number
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````