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

# Get Xero Records

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

## 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/fastapi.md) · [All operations](https://skmtc.dev/caresquare/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/caresquare/fastapi/revisions/c9df874d8d59/schema)
