Holiday
Get holidays on a workspace
Changed onget/v1/workspaces/{workspaceId}/holidays
Request
- Base URL: https://api.clockify.me/api
- URL: https://api.clockify.me/api/v1/workspaces/{workspaceId}/holidays
- Auth: one of:
- API key in header x-api-key
- API key in header x-addon-token
Path parameters
workspaceIdstring required
Represents a workspace identifier across the system.
Example:60f91b3ffdaf031696ec61a8
Query parameters
assigned-tostring
If provided, you'll get a filtered list of holidays assigned to user.
Example:60f924bafdaf031696ec6218
Response
OK
Example response
[
{
"id": "5b715612b079875110791111",
"name": "New Year's Day",
"occursAnnually": true,
"projectId": "65b36d3c525e243c48f9150f",
"taskId": "65b36d46fa3df8607e42d21a",
"userGroupIds": [
"5b715612b079875110791342",
"5b715612b079875110791324",
"5b715612b079875110793142"
],
"userIds": [
"5b715612b079875110791432",
"5b715612b079875110791234"
],
"workspaceId": "5b715612b079875110792222"
}
]Changes
- breaking
for the
queryrequest parameterassigned-to, default valuewas added - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status
- breaking