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
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
| Name | Type | Description |
|---|---|---|
| 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 -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"}' result = client.call("quinyx", "attest_hours", {"group_id":"1042","employee_id":"3011","from":"2026-10-12","to":"2026-10-18"}) const result = await cotlet.call('quinyx', 'attest_hours', {"group_id":"1042","employee_id":"3011","from":"2026-10-12","to":"2026-10-18"}); cotlet call quinyx attest_hours --data '{"group_id":"1042","employee_id":"3011","from":"2026-10-12","to":"2026-10-18"}' Example response
{
"employee": "Tom Becker",
"from": "2026-10-12",
"to": "2026-10-18",
"attested": {
"punches": 5,
"absences": 0
},
"manager_attested": true
}