Approve or decline time off
Approve or decline one pending time off request. Your account must be allowed to act on that employee.
POST https://cotlet.dev/api/v1/connecteam/requests/{request_id}/time-off-request/decide
Approves or declines the request like the buttons in the Pending Requests window. An approved request lands on the employee's timesheet automatically, and the employee sees the new status in the mobile app. You can only act on users you manage directly or whose smart group you administer; otherwise it fails with APP_PERMISSION_DENIED. A decision can be changed later in the History tab of the request. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| request_id string required | string | Request ID from list_time_off_requests. |
| decision enum required | enum | approve or decline. |
Request
curl -X POST https://cotlet.dev/api/v1/connecteam/requests/5528/time-off-request/decide \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"decision":"approve"}' result = client.call("connecteam", "decide_time_off_request", {"request_id":"5528","decision":"approve"}) const result = await cotlet.call('connecteam', 'decide_time_off_request', {"request_id":"5528","decision":"approve"}); cotlet call connecteam decide_time_off_request --data '{"request_id":"5528","decision":"approve"}' Example response
{
"request_id": "5528",
"status": "approved",
"name": "Priya Nair",
"policy_type": "Vacation",
"start_date": "2026-10-22",
"end_date": "2026-10-23",
"days": 2
}