Request vacation
Creates a new vacation request for the current employee.
How vacation requests work:
- Employee submits a vacation request with start and end dates
- Request status is set to “Pending”
- Manager reviews and approves or rejects the request
- System automatically checks for scheduling conflicts
Validation rules:
- Start date cannot be more than one month in the past
- End date must be after start date
- System checks for overlapping events (other vacations, sick days, etc.)
Note: This endpoint is only available for employee accounts. Only pending vacations can be modified or canceled.
POST
/account/employee/vacations/requestAuthorization
AuthorizationOAuth2 access token · headerrequiredScopes:
api:writeor
AuthorizationBearer token (JWT) · headerrequiredRequest body
requiredapplication/jsondateFromstring<date-time>requiredStart date of vacation
dateTostring<date-time>requiredEnd date of vacation
Responses
200
successbooleanrequiredOperation success flag
400
Validation errors
errorsobjectShow propertiesHide properties
dateFromstring[]dateTostring[]globalErrorsstring[]messagestringstatusCodenumber401
Unauthorized - Invalid or missing authentication token
403
Forbidden - Insufficient API scopes or permissions