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

# List accounts

> Accounts across every connection, newest first. Filter to one connection with `connection`.



## OpenAPI

````yaml /openapi/v2.json get /accounts
openapi: 3.1.0
info:
  title: Redbark API
  version: 2026-10-01.wattle
  description: >-
    Everything a user can do in the dashboard, by API key. Send
    `Redbark-Version` on every request; see the conventions guide for ids,
    lists, errors and idempotency.
servers:
  - url: https://api.redbark.com/v2
security:
  - Bearer: []
    RedbarkVersion: []
tags:
  - name: Account
    description: The authenticated account, its plan and the key in use.
  - name: API keys
    description: Create, scope, rotate and revoke API keys.
  - name: Connections
    description: Linked banks and brokerages, and their lifecycle.
  - name: Consents
    description: Open Banking consents behind each connection.
  - name: Accounts
    description: Bank and brokerage accounts, live balances and details.
  - name: Transactions
    description: Transactions read live from the provider.
  - name: Holdings
    description: Brokerage positions.
  - name: Trades
    description: Brokerage trade history.
  - name: Categories
    description: The category taxonomy and provider categories.
  - name: Syncs
    description: Syncs from accounts to destinations.
  - name: Sync runs
    description: Individual sync executions.
  - name: Rules
    description: Rulesets and rules that transform transactions during a sync.
  - name: Destinations
    description: 'Where synced data lands: Sheets, Airtable, Notion, YNAB, webhooks.'
  - name: Link sessions
    description: Hosted flows that connect a bank or brokerage.
  - name: Destination links
    description: Hosted flows that authorise a destination.
  - name: Institutions
    description: Banks available to link.
  - name: Event destinations
    description: Endpoints that receive signed events.
  - name: Events
    description: What happened, and redelivery.
paths:
  /accounts:
    get:
      tags:
        - Accounts
      summary: List accounts
      description: >-
        Accounts across every connection, newest first. Filter to one connection
        with `connection`.
      operationId: list_accounts
      parameters:
        - schema:
            type: string
            description: 1 to 100, default 20. Ignored when page is set.
          required: false
          description: 1 to 100, default 20. Ignored when page is set.
          name: limit
          in: query
        - schema:
            type: string
            description: Opaque token from next_page_url / previous_page_url.
          required: false
          description: Opaque token from next_page_url / previous_page_url.
          name: page
          in: query
        - schema:
            type: string
            description: Filter to accounts on this connection
          required: false
          description: Filter to accounts on this connection
          name: connection
          in: query
      responses:
        '200':
          description: Accounts, newest first
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountItemList'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Key lacks a scope, plan lacks the feature, or IP not allowed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: No such resource
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited; see Retry-After
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal error; quote request_id to support
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    AccountItemList:
      type: object
      properties:
        object:
          type: string
          enum:
            - list
        data:
          type: array
          items:
            $ref: '#/components/schemas/AccountItem'
        next_page_url:
          type:
            - string
            - 'null'
        previous_page_url:
          type:
            - string
            - 'null'
      required:
        - object
        - data
        - next_page_url
        - previous_page_url
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              enum:
                - invalid_request_error
                - authentication_error
                - permission_error
                - rate_limit_error
                - idempotency_error
                - upstream_error
                - api_error
            code:
              type: string
            message:
              type: string
            param:
              type:
                - string
                - 'null'
            doc_url:
              type: string
            request_id:
              type: string
          required:
            - type
            - code
            - message
            - param
            - doc_url
            - request_id
      required:
        - error
    AccountItem:
      type: object
      properties:
        id:
          type: string
          example: acct_9Lk2Mn4pQr6sTu8vWx1yZb
        object:
          type: string
          enum:
            - account_item
        connection:
          type: string
        provider:
          type: string
        category:
          type: string
          enum:
            - banking
            - brokerage
        name:
          type: string
        type:
          type: string
        institution:
          type: object
          properties:
            id:
              type: string
              example: inst_fk_anz
            name:
              type: string
            logo:
              type:
                - string
                - 'null'
          required:
            - id
            - name
            - logo
        account_number:
          type:
            - string
            - 'null'
          description: Masked, last four digits only
        currency:
          type: string
        status:
          type: string
        last_updated_at:
          type:
            - string
            - 'null'
          format: date-time
          example: '2026-08-21T09:30:00.000Z'
        livemode:
          type: boolean
        created:
          type: string
          format: date-time
          example: '2026-08-21T09:30:00.000Z'
        updated:
          type: string
          format: date-time
          example: '2026-08-21T09:30:00.000Z'
      required:
        - id
        - object
        - connection
        - provider
        - category
        - name
        - type
        - institution
        - account_number
        - currency
        - status
        - last_updated_at
        - livemode
        - created
        - updated
  securitySchemes:
    Bearer:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: 'Authorization: Bearer rbk_live_...'
    RedbarkVersion:
      type: apiKey
      in: header
      name: Redbark-Version
      description: >-
        The API release your integration is built against, e.g.
        2026-10-01.wattle. Required on every request.

````