API Reference

/timeoff/requests

Creates a new time off request. Required scope: w_timeoff.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string

SPI key of the employee. Required for account tokens, optional for user tokens.

string

Identifies the member context for the request. Required for account tokens, optional for user tokens.

string
required

The hex id retrieved by /timeoff/categories endpoint

string
required

ISO 8601 date-time without timezone, with milliseconds — format YYYY-MM-DDTHH:mm:ss.SSS. A trailing Z or ±HH:mm offset is not accepted. Must be on or after the employee's start date (truncated to the start of day).

string
required

ISO 8601 date-time without timezone, with milliseconds — format YYYY-MM-DDTHH:mm:ss.SSS. Must be on or after from_date (same day is allowed) and within less than 3 calendar years of it.

half_days
array of objects
half_days
string

Note string max 140

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json