Skip to content

Snooze all overdue tasks​

POST
/api/tasks/bulk/snooze-overdue

Snoozes all overdue tasks that the priority rule allows: P0-P2 always,
P3 (High) once no lower-priority task in the batch is still eligible,
and P4 (Urgent) never. See /api/tasks/bulk/snooze for the full rule
and for what skipped_urgent and skipped_high count.

The target is at most one of until, delta_minutes, slot or
tomorrow; with none, the user's default snooze option applies.

Feedback notification. When the call is authenticated with an API
token (not a browser session) and the sweep leaves High or Urgent tasks
overdue, the server sends one quiet push notification to the user's
devices saying how many of each stayed overdue (counts only, never
titles). It is not sent when nothing High or Urgent is left, when the
user has turned off sweep_feedback_notifications_enabled or
notifications as a whole, or when the request says notify: false.
A newer result replaces the older notification.

Authorizations​

bearerAuth

API token created via POST /api/tokens or the db:create-token CLI command

Type
HTTP (bearer)

Request Body​

application/json
JSON
{
"until": "string",
"delta_minutes": 0,
"slot": "string",
"tomorrow": true,
"include_task_ids": [
0
],
"allow_past_deadline_ids": [
0
],
"notify": true
}

Responses​

Bulk operation result

application/json
JSON
{
"data": {
"tasks_affected": 0,
"tasks_skipped": 0,
"skipped_urgent": 0,
"skipped_high": 0,
"snoozed_high": 0,
"skipped_reminders": 0,
"skipped_deadline": 0,
"capped_deadline": 0,
"until": "string",
"message": "string",
"feedback_notification": true
}
}

Samples​

Powered by VitePress OpenAPI