{ "opencollection": "1.0.0", "info": { "name": "Freshworks Freshcaller Accounts Time Off API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "X-Api-Auth", "value": "{{X-Api-Auth}}", "placement": "header" } }, "items": [ { "info": { "name": "Time Off", "type": "folder" }, "items": [ { "info": { "name": "List all time-off types", "type": "http" }, "http": { "method": "GET", "url": "https://{domain}.freshcaller.com/api/v1/time_off_types" }, "docs": "Retrieves a list of all time-off types configured in Freshteam such as vacation, sick leave, and personal days." }, { "info": { "name": "List all time-off requests", "type": "http" }, "http": { "method": "GET", "url": "https://{domain}.freshcaller.com/api/v1/time_offs", "params": [ { "name": "page", "value": "", "type": "query", "description": "Page number for pagination." }, { "name": "user_id", "value": "", "type": "query", "description": "Filter by employee user ID." }, { "name": "status", "value": "", "type": "query", "description": "Filter by request status." } ] }, "docs": "Retrieves a paginated list of all employee time-off requests." }, { "info": { "name": "Create a time-off request", "type": "http" }, "http": { "method": "POST", "url": "https://{domain}.freshcaller.com/api/v1/time_offs", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new time-off request for an employee." } ] } ], "bundled": true }