---
title: "Get Suggested Allocation"
method: POST
path: "/api/analysis/suggested-allocation/{user_id}"
tags: ["Analysis"]
---

# Get Suggested Allocation

`POST /api/analysis/suggested-allocation/{user_id}`

## 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/analysis/suggested-allocation/{user_id}`
- Auth: HTTP bearer

Calculate a suggested paycheck allocation based on the user's income,
detected recurring bills, and financial goals.

Returns: { bills, savings, investments, discretionary, weekly_budget,
           rules, warnings }

## Path parameters

- `user_id` string, uuid, required

## Request body

- SuggestedAllocationRequest
  - `goals` object[], nullable

## 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)
