Skip to main content

List notifications

Auth: Supabase session required.
Success 200: JSON array where show = true, ordered by created_at desc.
Errors: 401, 500 { error: "Failed to fetch notifications" }.

Tasks collection

  • Generates routine tasks for the date when applicable.
  • Auth: Session required.
  • Success 200: JSON of tasks + external events.
  • Errors: 401, 500.
Success: Created task JSON.
Errors: 401, 400/500.
Success: Updated task JSON.
Errors: 401, 400/500.
Success: Deletion confirmation JSON.
Errors: 401, 400/500.

Routine task template

Auth: Session required.
Success 200: Updated routine task (title decrypted in response).
Errors: 401, 500.
Auth: Session required.
Success 200: Deletion success.
Errors: 401, 500.

Username check (introduced in v1.14.0)

Auth: Supabase session required.
Success 200: { available: boolean, valid: boolean, message?: string }
Errors: 401 { error: "Unauthorized" }, 500 { error: "Failed to check username availability" }.