Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Retrieve detailed information about a specific leave request.
cURL
curl --request GET \ --url https://api.example.com/api/public/v1/leaves/{id}
{ "data": { "id": "lv_123...", "startDate": "2026-12-20T00:00:00.000Z", "endDate": "2026-12-26T23:59:59.999Z", "days": 5, "reason": "Family vacation", "status": "APPROVED", "leaveType": { "id": "lt_abc...", "name": "Annual Leave", "category": "ANNUAL" }, "user": { "id": "usr_999...", "firstName": "John", "lastName": "Smith" }, "approvals": [ { "status": "APPROVED", "notes": "Enjoy your trip!", "approver": { "id": "usr_777...", "firstName": "Jane", "lastName": "Manager" } } ] } }