v1
latestOpenAPI 3.1.02026-07-26294215839.4 KBCreate Time Off Request
Creates a time off request for an employee. The request can be submitted with a status of approved, denied, or requested. Submitting approved or denied is only honored when the caller is an owner/admin or has view/edit access to the time off type field for the target employee; other callers receive 403. When honored, these statuses record the request directly and suppress approval notifications. Supplying a previousRequest ID performs a destructive supersede: the prior request's status is set to superceded, all approvals on its workflow are removed and the workflow is marked deleted, and any home-page notifications tied to that workflow are deleted. Accepts both JSON and XML request bodies.
OAuth Scopes: time_off.write
Path parameters
The internal employee ID of the employee for whom to create the time off request.
Request body
Response
Request created. The Location header contains the URL of the new request. When Accept: application/json is set, the response body contains the full created request — use the id field to chain follow-up operations (e.g. approve, cancel, supersede) without a separate lookup.
Example response
{
"id": 1668
}