---
title: "Get Xero Records"
method: POST
path: "/api/v1/xero/service/{endpoint}"
---

# Get Xero Records

`POST /api/v1/xero/service/{endpoint}`

## Request

- Base URL: `https://api.caresquare.com.au` (the document declares no server; this is the origin it was published from)
- URL: `https://api.caresquare.com.au/api/v1/xero/service/{endpoint}`
- Auth: none declared

## Path parameters

- `endpoint` 'contacts' | 'invoices' | 'items' | 'payments' | 'accounts' | 'bank_transactions', required

## Query parameters

- `where` string, nullable: Xero query filter
- `order_by` string, nullable: Field to order by
- `page` integer, nullable: Page number
- `modified_since` string, nullable: ISO8601 datetime string
- `get_all` boolean: Fetch all records with pagination
- `plan_manager_id` string, required: Plan manager ID

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/caresquare/apis/caresquare-api.md) - [All operations](https://skmtc.dev/caresquare/apis/caresquare-api/llms.txt) - [OpenAPI document](https://skmtc.dev/caresquare/apis/caresquare-api/revisions/d428fe38bf62?raw)
