---
title: "Client Export"
method: GET
path: "/api/adviser/clients/{user_id}/export"
tags: ["Adviser"]
---

# Client Export

`GET /api/adviser/clients/{user_id}/export`

## Request

- Base URL: `https://api.earmarkiq.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.earmarkiq.app/api/adviser/clients/{user_id}/export`
- Auth: HTTP bearer

Category-level expenditure CSV (Month, Pot, Category, Amount).

Streams directly with adviser auth — deliberately NOT the
tmp_exports download-by-id flow, whose ids act as unauthenticated
bearer capabilities.

## Path parameters

- `user_id` string, uuid, required

## Query parameters

- `format` string
- `months` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/earmarkiq/apis/earmark-api.md) · [All operations](https://skmtc.dev/earmarkiq/apis/earmark-api/llms.txt) · [OpenAPI document](https://skmtc.dev/earmarkiq/apis/earmark-api/revisions/4a2c41907105?raw)
