cURL
curl --request GET \ --url https://platform.thena.ai/v1/users/time-off \ --header 'x-api-key: <api-key>'
{ "status": true, "message": "Success", "timestamp": "2024-01-01T00:00:00.000Z", "data": [ { "id": "<string>", "startDate": "<string>", "endDate": "<string>", "description": "<string>", "type": "<string>", "createdAt": "<string>", "updatedAt": "<string>" } ] }
Enter your API key
The page number to fetch time offs by
x >= 0
1
The limit number of time offs to fetch
1 <= x <= 100
10
Operation successful
The response is of type object.
object