cURL
curl --request GET \ --url https://api-{region}.sesametime.com/schedule/v1/reports/worked-absence-days \ --header 'Authorization: Bearer <token>'
{ "data": [ { "employeeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "days": [ { "date": "2023-12-25", "secondsWorked": 123 } ] } ], "meta": { "currentPage": 1, "lastPage": 1, "total": 1, "perPage": 1 } }
API token obtained from Sesame HR Dashboard > Settings > Integrations > API
Array of employee ids
Y-m-d
Limit employees
Request a specific page
Array of Objects
Show child attributes
Suggestions