cURL
curl --request GET \ --url https://api-{region}.sesametime.com/schedule/v1/worked-holidays \ --header 'Authorization: Bearer <token>'
{ "data": [ { "comment": "<string>", "compensatedDayOffViews": { "date": "2020-01-01", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }, "employeeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "holidayDayOffView": { "date": "2020-01-01", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }, "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } ], "meta": { "currentPage": 1, "lastPage": 1, "total": 1, "perPage": 1 } }
API token obtained from Sesame HR Dashboard > Settings > Integrations > API
The id of the employee
Y-m-d
Limit worked holidays
Request a specific page
Array of Objects
Show child attributes
Suggestions