Create Time Off Request

Creates a time off request for an employee. The request can be submitted with a status of approved, denied, or requested. Approved and denied requests are recorded directly without triggering approval notifications. A previousRequest ID supersedes an existing request, cancelling the original. Accepts both JSON and XML request bodies.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

The ID of the employee to create the time off request for.

Body Params
string
enum
required

The initial status of the request.

Allowed:
date
required

Start date in YYYY-MM-DD format.

date
required

End date in YYYY-MM-DD format. Must be on or after the start date.

integer
required

The ID of the time off type for this request.

number

Total hours or days requested. Ignored when dates array is provided (sum of daily amounts is used instead).

integer

The ID of a previous time off request to supersede. The previous request will be cancelled.

notes
array of objects

Optional notes from the employee or manager.

notes
dates
array of objects

Optional per-day breakdown. When provided, the top-level amount is ignored and the sum of daily amounts is used.

dates
Responses

401

Unauthorized. Invalid API credentials.

Language
Credentials
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!