> For the complete documentation index, see [llms.txt](https://docs.getpenfold.dev/dev/llms.txt)

# Retrieve an employee's pot value history

> GET /employers/{employer_id}/employees/{employee_id}/pot_value_history
> 
> **Partner organisations only.** A Payroll organisation calling this
> endpoint receives `405 Method Not Allowed`.
> 
> Full pot value history for the worker, returned as an array of `PotValuePoint`
> objects. No date-range parameters. Cadence is not guaranteed to be daily; you
> may downsample for chart display.
> 
> If you're planning on doing some data visualisation you might want to consider
> downsampling — we recommend LTTB (Largest Triangle Three Buckets). This is
> particularly worthwhile once a series exceeds ~200 points.



## Servers
- https://payroll-api.getpenfold.dev/v4: https://payroll-api.getpenfold.dev/v4


## Authentication methods
- O auth2 client credentials


## Parameters

### Path parameters

- **employer_id** (string)

- **employee_id** (string)




## Responses
### 200
Pot value history retrieved successfully.

#### Body: application/json (array[object])
- **date** (string(date))
  Point date (YYYY-MM-DD). Cadence is not guaranteed to be daily.

- **value_pence** (integer)
  Value at `date`, in pence.


### 401
Unauthorized.

#### Body: application/json (object)
- **error** (string)
  A descriptive error message.


### 404
Employee or employer not found.

#### Body: application/json (object)
- **error** (string)
  A descriptive error message.


### 405
Method not allowed

#### Body: application/json (object)
- **error** (string)
  A descriptive error message.



[Powered by Bump.sh](https://bump.sh)
