---
title: "List Accounts"
method: GET
path: "/v1/integrations/xero/accounts"
tags: ["xero"]
---

# List Accounts

`GET /v1/integrations/xero/accounts`

## Request

- Base URL: `https://api.ender.au` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ender.au/v1/integrations/xero/accounts`
- Auth: HTTP bearer

## Response `200`

Successful Response

- XeroAccounts
  - `accounts` XeroAccount[], required
    - `id` string, uuid, required
    - `status` 'connected' | 'refresh_required' | 'disconnected', required
    - `credential_version` integer, required
    - `last_healthy_at` string, date-time, nullable, required
    - `last_refreshed_at` string, date-time, nullable, required
    - `refresh_token_expires_at` string, date-time, nullable, required
    - `updated_at` string, date-time, required
    - `account_email` string, nullable, required
    - `account_name` string, nullable, required
    - `organisations` XeroOrganisation[], required
      - `id` string, uuid, required
      - `display_name` string, required

---

[API](https://skmtc.dev/ender/apis/ender-backend.md) - [All operations](https://skmtc.dev/ender/apis/ender-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/ender/apis/ender-backend/revisions/a5849ac366ca?raw)
