Request sick days
Creates a new sick days record for the current employee.
How sick days work:
- Employee reports sick days with start and end dates
- Optional comment can be added
- Medical certificates can be attached (upload files first, then provide file IDs)
- System automatically checks for overlapping events
To upload medical certificates:
- Call POST /api/public/workspace/upload for each file
- Get the file ID from the response
- Include the file IDs in the
attachedFilesIdsarray
Note: This endpoint is only available for employee accounts. The system validates that there are no overlapping events (vacations, other sick days, etc.) for the specified period.
POST
/account/employee/sick-days/requestAuthorization
AuthorizationOAuth2 access token · headerrequiredScopes:
api:writeor
AuthorizationBearer token (JWT) · headerrequiredRequest body
requiredapplication/jsonattachedFilesIdsstring[]Array of file IDs for medical certificates (upload via POST /api/public/workspace/upload first)
commentstringOptional comment about the sickness
dateFromstringrequiredStart date of sickness
dateTostringrequiredEnd date of sickness
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