---
title: "Get all allowances for a user"
method: GET
path: "/api/users/{userId}/allowances"
tags: ["Allowances"]
---

# Get all allowances for a user

`GET /api/users/{userId}/allowances`

## Request

- Base URL: `https://app.timetastic.co.uk` (the document declares no server; this is the origin it was published from)
- URL: `https://app.timetastic.co.uk/api/users/{userId}/allowances`
- Auth: none declared

Get the allowance, TOIL and carry forwards for a user for all years.

## Path parameters

- `userId` integer, required

## Response `200`

The allowances were successfully retrieved

- TimetasticCoreModelsApiModelsUserAllowanceResponse[]
  - `year` integer
  - `allowance` number, double
  - `toils` TimetasticCoreModelsApiModelsToils
    - `total` number, double
    - `toil` TimetasticCoreModelsApiModelsToil[], nullable
      - `id` integer, nullable
      - `amount` number, double, nullable
      - `description` string, nullable
  - `carryForward` number, double

## Other responses

- `400`: Validation error
- `403`: You don't have permission to view this user's allowances
- `404`: The requested resource cannot be found

---

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