Submit time off updates to Calven.
Request
Body Params application/jsonRequired
{
"timeOffEvents": [
{
"eventId": "C5C69845-DD77-487E-9C6A-708581B361E9",
"email": "bob@domain.com",
"eventType": "scheduled",
"startDate": "2024-12-30T00:00:00.000Z",
"endDate": "2025-01-02T00:00:00.000Z",
"timeOffType": "leave"
},
{
"eventId": "C5C69845-DD77-487E-9C6A-708581B361E9",
"email": "mary@domain.com",
"eventType": "cancelled",
"startDate": "2024-11-30T00:00:00.000Z",
"endDate": "2025-11-30T00:00:00.000Z"
}
]
}
Request Code Samples
curl --location 'https://api.calven.com/v1/timeoff' \
--header 'Content-Type: application/json' \
--data-raw '{
"timeOffEvents": [
{
"eventId": "C5C69845-DD77-487E-9C6A-708581B361E9",
"email": "bob@domain.com",
"eventType": "scheduled",
"startDate": "2024-12-30T00:00:00.000Z",
"endDate": "2025-01-02T00:00:00.000Z",
"timeOffType": "leave"
},
{
"eventId": "C5C69845-DD77-487E-9C6A-708581B361E9",
"email": "mary@domain.com",
"eventType": "cancelled",
"startDate": "2024-11-30T00:00:00.000Z",
"endDate": "2025-11-30T00:00:00.000Z"
}
]
}'
Responses
application/json
{
"timestamp": "string",
"results": [
"string"
]
}
Modified at 2026-08-06 10:43:53