These docs are for v2025-07-01. Click to read the latest docs for v2026-04-01.

Creates a Leave type

Creates a Leave type

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

Whether the leave type accrues over time

boolean
required

Whether approval is required for this leave type

string
required

A unique identifier for the leave type

boolean

Whether an attachment is required for this leave type

string
required

The color associated with this leave type

string
required

The name of the leave type

boolean

Whether the leave type is visible to employees

boolean
required

Whether the leave type is workable (can be worked on during leave)

boolean

Whether the leave type is payable

boolean

Whether the attachment is mandatory

boolean

Whether half-day units are enabled for this leave type

integer

Maximum days in cents that can be taken

integer

Minimum days in cents that must be taken

integer
required

Identifier of the company associated with this leave type

boolean

Whether the leave type is editable

boolean

Whether endless leave is allowed

boolean

Whether the leave type is restricted

string

Description of the leave type

boolean
required

Whether additional details are required for the leave type

Response

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