Skip to main content
GET
List absenteeism days
Version:v4

Authorizations

Authorization
string
header
required

Sesame Public API consumer token (Authorization: Bearer )

Query Parameters

from
string<date>
required

First day of the range (Y-m-d), inclusive.

to
string<date>
required

Last day of the range (Y-m-d), inclusive. Earlier than today at UTC-12 and earlier than from + 1 year.

employeeIds[]
string<uuid>[]

Employee ids. Ids that do not belong to the company are ignored.

officeIds[]
string<uuid>[]

Office ids. Returns employees assigned to any of them.

departmentIds[]
string<uuid>[]

Department ids. Returns employees assigned to any of them.

entityGroupIds[]
string<uuid>[]

Employee group ids. Returns employees that belong to any of them.

status
enum<string>
default:active

Current status of the employee. Deleted employees are never returned.

Available options:
active,
inactive,
all
page
integer
default:1
limit
integer
default:20

Employees per page.

Required range: x <= 500

Response

One entry per employee of the page, with an empty dates when the employee has no absenteeism.

data
object[]
meta
object