Publish the schedule
Publish the schedule of a unit or section up to a date.
POST https://cotlet.dev/api/v1/quinyx/groups/{group_id}/schedule/publish
Publishes up to the unit's daybreak on that date and sends a Qmail to the employees who have an active role on the group, unless Pause notifications is on. Units with the Schedule approval flow send an approval request to the approver instead, and there the publish date cannot be reversed. A section can be published further out than its unit. 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. |
| publish_until string required | string | Last day to publish, YYYY-MM-DD. An earlier date than the current one unpublishes the days after it. |
Request
curl -X POST https://cotlet.dev/api/v1/quinyx/groups/group_8c41d2/schedule/publish \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"publish_until":"publish until"}' result = client.call("quinyx", "publish_schedule", {"group_id":"group_8c41d2","publish_until":"publish until"}) const result = await cotlet.call('quinyx', 'publish_schedule', {"group_id":"group_8c41d2","publish_until":"publish until"}); cotlet call quinyx publish_schedule --data '{"group_id":"group_8c41d2","publish_until":"publish until"}' Example response
{
"group_id": "1042",
"name": "Harbor Cafe",
"published_until": "2026-11-12",
"previous_published_until": "2026-11-05",
"employees_notified": 14
}