List time clocks
Time clocks of your account and whether Timesheets approval is on for each.
GET https://cotlet.dev/api/v1/connecteam/time-clocks
read
Returns every time clock you can open under Time Clock in the left sidebar. timesheets_approval is the switch under Settings > Payroll; it is set for each time clock, so approve_timesheet works only where it is on. Use time_clock_id in the timesheet tools.
Parameters
No parameters.
Request
curl https://cotlet.dev/api/v1/connecteam/time-clocks \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("connecteam", "list_time_clocks") const result = await cotlet.call('connecteam', 'list_time_clocks'); cotlet call connecteam list_time_clocks Example response
{
"time_clocks": [
{
"time_clock_id": 2041,
"name": "Main Floor",
"timesheets_approval": true
},
{
"time_clock_id": 2058,
"name": "Kitchen",
"timesheets_approval": false
}
]
}