curl --request GET \
--url https://api-{region}.sesametime.com/overtime-policies/v1/employees/{employeeId}/adjustments \
--header 'Authorization: Bearer <token>'import requests
url = "https://api-{region}.sesametime.com/overtime-policies/v1/employees/{employeeId}/adjustments"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api-{region}.sesametime.com/overtime-policies/v1/employees/{employeeId}/adjustments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-{region}.sesametime.com/overtime-policies/v1/employees/{employeeId}/adjustments",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-{region}.sesametime.com/overtime-policies/v1/employees/{employeeId}/adjustments"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-{region}.sesametime.com/overtime-policies/v1/employees/{employeeId}/adjustments")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-{region}.sesametime.com/overtime-policies/v1/employees/{employeeId}/adjustments")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"entries": [
{
"id": "9a7c1d2e-0b3f-4e5a-8c6d-7e8f9a0b1c2d",
"occurredOn": "2026-02-03T09:15:00+00:00",
"actionCode": "overtime.balance_adjustment",
"actorType": "api_consumer",
"actorName": "Payroll integration",
"reversible": true,
"detail": {
"movementId": "3f2b8c1e-6a0d-4c4e-9b7a-2d1f0e5c9a11",
"amountSeconds": 3600,
"source": "total_balance",
"operation": "add",
"note": "Correction after audit",
"periodFrom": "2026-01-01",
"periodTo": "2026-01-31"
}
}
]
},
"meta": {
"currentPage": 1,
"lastPage": 1,
"total": 1,
"perPage": 20
}
}List the overtime balance adjustments of an employee
Returns, newest first, the balance adjustments (audit action overtime.balance_adjustment) recorded for the employee employeeId, whoever made them (API or panel), optionally filtered by date and origin. The employee must belong to the company of the token. The read permission is checked over the employee before the lookup, so an id the API consumer has no role over (including an unknown id) answers 403; 404 employee_not_adjustable is returned when the permission passes but the employee does not belong to the company of the token.
curl --request GET \
--url https://api-{region}.sesametime.com/overtime-policies/v1/employees/{employeeId}/adjustments \
--header 'Authorization: Bearer <token>'import requests
url = "https://api-{region}.sesametime.com/overtime-policies/v1/employees/{employeeId}/adjustments"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api-{region}.sesametime.com/overtime-policies/v1/employees/{employeeId}/adjustments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-{region}.sesametime.com/overtime-policies/v1/employees/{employeeId}/adjustments",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-{region}.sesametime.com/overtime-policies/v1/employees/{employeeId}/adjustments"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-{region}.sesametime.com/overtime-policies/v1/employees/{employeeId}/adjustments")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-{region}.sesametime.com/overtime-policies/v1/employees/{employeeId}/adjustments")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"entries": [
{
"id": "9a7c1d2e-0b3f-4e5a-8c6d-7e8f9a0b1c2d",
"occurredOn": "2026-02-03T09:15:00+00:00",
"actionCode": "overtime.balance_adjustment",
"actorType": "api_consumer",
"actorName": "Payroll integration",
"reversible": true,
"detail": {
"movementId": "3f2b8c1e-6a0d-4c4e-9b7a-2d1f0e5c9a11",
"amountSeconds": 3600,
"source": "total_balance",
"operation": "add",
"note": "Correction after audit",
"periodFrom": "2026-01-01",
"periodTo": "2026-01-31"
}
}
]
},
"meta": {
"currentPage": 1,
"lastPage": 1,
"total": 1,
"perPage": 20
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The employee ID. It must belong to the company of the token.
Query Parameters
Page number (1-based). 0 or a non-numeric value is treated as 1; a negative value is rejected with 422 invalid_page.
Items per page. 0 or a non-numeric value falls back to the default; a negative value or a value above 300 is rejected with 422.
x <= 300Only adjustments that occurred on or after this day (Y-m-d, from 00:00:00 UTC). This value is not validated, so send a well-formed date: a malformed one is not reported as a 422.
"2026-01-01"
Only adjustments that occurred on or before this day (Y-m-d, until 23:59:59 UTC). This value is not validated, so send a well-formed date: a malformed one is not reported as a 422.
"2026-01-31"
Filter by origin: api returns the adjustments made by API consumers (actorType api_consumer); panel the ones made from the application (actorType admin or employee). Omitted or any other value: no filter.
api, panel Was this page helpful?