---
title: "List Item Ids"
method: GET
path: "/claims/{claim_id}/expenditures/items/ids"
tags: ["expenditures"]
---

# List Item Ids

`GET /claims/{claim_id}/expenditures/items/ids`

## Request

- Base URL: `https://api.claimkit.co` (the document declares no server; this is the origin it was published from)
- URL: `https://api.claimkit.co/claims/{claim_id}/expenditures/items/ids`
- Auth: none declared

Return the ids of every selectable item matching the All-expenses filters.

Backs the "select all expenses" header checkbox, which materialises the
full matching id set into its selection so the existing bulk-by-ids actions
apply across every page, not just the visible 200. Uses the same filter
builder (and the same read auth) as :func:`list_items`.

Journal-only by design: synthesised salary rows are read-only / never
selectable, so they're excluded here — and skipping the salary synthesis pass
keeps this endpoint a single cheap query.

## Path parameters

- `claim_id` integer, required

## Query parameters

- `tab` 'raw' | 'categorized'
- `from_date` string, date, nullable
- `to_date` string, date, nullable
- `search` string, nullable

## Response `200`

Successful Response

- ItemIdsResponse: Ids of every selectable item matching the All-expenses filters.
  - `ids` integer[], required

## Other responses

- `422`: Validation Error

---

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