POST
/
employer
/
time-off-events
Create Time-Off Event
curl --request POST \
  --url https://api.tryfinch.com/employer/time-off-events \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Finch-API-Version: <finch-api-version>' \
  --data '{
  "individual_id": "5d0b10a1-a09a-430f-81f1-20be735dc5e9",
  "reviewer_id": "c205b3fa-b626-4346-bf0f-ca065ab88d31",
  "status": "requested",
  "policy_type": "pto",
  "event_type": "vacation",
  "start_date": "2024-08-15T00:00:00",
  "end_date": "2024-08-19T23:59:59"
}'
{
  "time_off_event_id": "e1f2a3b4-c5d6-7e8f-9a0b-1c2d3e4f5a6b",
  "job_id": "f2a3b4c5-d6e7-8f9a-0b1c-2d3e4f5a6b7c"
}

Authorizations

Authorization
string
header
required

Please use your Access Token

Headers

Finch-API-Version
string
default:2020-09-17
required

Header used to specify the version for a given API request. Current version is 2020-09-17.

Body

application/json

Request body for creating a new time-off event.

Response

201
application/json

Time-off event creation initiated

The response is of type object.