Attest worked hours

Attest the punches and absences of one employee in a date range as manager.

POST https://cotlet.dev/api/v1/quinyx/groups/{group_id}/hours/attest

write Confirm

Does what Attest all does in the Schedule view, for the range you pass, and returns how many punches and absences it attested. It follows your Time settings: with Hierarchical approval on, the employee must have approved first, and with Manager can approve employee off, the call fails. The attested hours can go into a payroll file. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: attest_hours
NameTypeDescription
group_id string required string Unit or section id from list_groups.
employee_id string required string Employee id from list_employees.
from string required string First day, YYYY-MM-DD.
to string required string Last day, YYYY-MM-DD.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/quinyx/groups/1042/hours/attest \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"employee_id":"3011","from":"2026-10-12","to":"2026-10-18"}'
Python
result = client.call("quinyx", "attest_hours", {"group_id":"1042","employee_id":"3011","from":"2026-10-12","to":"2026-10-18"})
Node.js
const result = await cotlet.call('quinyx', 'attest_hours', {"group_id":"1042","employee_id":"3011","from":"2026-10-12","to":"2026-10-18"});
CLI
cotlet call quinyx attest_hours --data '{"group_id":"1042","employee_id":"3011","from":"2026-10-12","to":"2026-10-18"}'

Example response

JSON

{
  "employee": "Tom Becker",
  "from": "2026-10-12",
  "to": "2026-10-18",
  "attested": {
    "punches": 5,
    "absences": 0
  },
  "manager_attested": true
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.