Skip to main content
POST
/
schedule
/
v1
/
vacation-calendars
/
create
Create empty vacation calendar
curl --request POST \
  --url https://api-{region}.sesametime.com/schedule/v1/vacation-calendars/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "employeeId": "eb5a136f-dc38-46eb-bf55-d2e2bf86903e",
  "vacationTypeId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
  "year": 2024
}
'

Authorizations

Authorization
string
header
required

API token obtained from Sesame HR Dashboard > Settings > Integrations > API

Body

application/json

Employee, vacation type and year information

employeeId
string<uuid>
required

Employee UUID

Example:

"eb5a136f-dc38-46eb-bf55-d2e2bf86903e"

vacationTypeId
string<uuid>
required

Vacation type configuration UUID

Example:

"f47ac10b-58cc-4372-a567-0e02b2c3d479"

year
integer
required

Calendar year

Example:

2024

Response

Empty vacation calendar created successfully