curl --request GET \
--url https://platform.thena.ai/v1/users/time-off \
--header 'Authorization: Bearer <token>'{
"status": true,
"message": "Success",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": [
{
"id": "<string>",
"startDate": "<string>",
"endDate": "<string>",
"description": "<string>",
"type": "<string>"
}
]
}curl --request GET \
--url https://platform.thena.ai/v1/users/time-off \
--header 'Authorization: Bearer <token>'{
"status": true,
"message": "Success",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": [
{
"id": "<string>",
"startDate": "<string>",
"endDate": "<string>",
"description": "<string>",
"type": "<string>"
}
]
}Enter the bearer token
The page number to fetch time offs by
x >= 11
The limit number of time offs to fetch
1 <= x <= 10010
Operation successful