added
v2.1.79
24 days ago by Ashot Hayrapetyan
✨ New Time-Off Endpoints
🆕 POST /rest/v2/time-offs/validate
POST /rest/v2/time-offs/validate
Validate a time-off request before submission.
- Enables pre-validation of new or updated time-off requests for given dates.
- Returns:
- Validation errors, if the request cannot be processed.
- Pre-calculation of time-off usage.
- Daily breakdown of available time-off for easier user selection.
- ⚡ It is required to call this endpoint before submitting or updating a time-off request.
🔗 API Reference: Validate Time-Off
🔒 Scopes Required: time-off:read
🔑 Supported Token Types: OAUTH2:PERSONAL
, OAUTH2:ORGANIZATIONAL
, PAT:PERSONAL
, PAT:ORGANIZATIONAL
🆕 POST /rest/v2/time-offs/review
POST /rest/v2/time-offs/review
Batch approve or reject multiple time-off requests.
- Allows reviewing (approving/rejecting) multiple pending time-off requests in a single API call.
- Designed to integrate with workflows where time-off requests are initially submitted with a pending approval status.
- Great for automating bulk approval/review processes via API.
🔗 API Reference: Approve/Reject Time-Off Requests
🔒 Scopes Required: time-off:write
🔑 Supported Token Types: OAUTH2:PERSONAL
, OAUTH2:ORGANIZATIONAL
, PAT:PERSONAL
, PAT:ORGANIZATIONAL