---
title: "Get Xero Accounts"
method: GET
path: "/v1/matters/{matter_id}/integrations/xero/accounts"
tags: ["xero"]
---

# Get Xero Accounts

`GET /v1/matters/{matter_id}/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/matters/{matter_id}/integrations/xero/accounts`
- Auth: HTTP bearer

## Path parameters

- `matter_id` string, uuid, required

## Response `200`

Successful Response

- XeroMatterAccount[]
  - `id` string, uuid, required
  - `sponsor_profile_id` string, uuid, required
  - `sponsor_name` string, nullable, required
  - `account_name` string, nullable, required
  - `account_email` string, nullable, required
  - `status` string, required
  - `organisations` XeroTenantOption[], required
    - `organisation_id` string, uuid, required
    - `tenant_id` string, uuid, required
    - `tenant_name` string, required
    - `tenant_type` string, required
    - `other_matter_binding_count` integer, required

## Other responses

- `422`: Validation Error

---

[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/bf4373130521?raw)
