POST/api/v1/home/actions/tick

Tick one of your to-dos

Marks a to-do that @mentions you done (- [ ] becomes - [x], found by its block id) through the normal save path, as you. Send "done": false to open it again. You need to be able to edit the page.

API token required60 per minute per IP
Code samples and Try it

Request body

#

application/json, required

  • slugstringRequired

    1–200 characters.

  • blockstringRequired

    Matches ^b-[0-9A-Za-z_-]{1,40}$.

  • doneboolean

    false: open it again (Undo) Default true.

Responses

#
  • 200Done. Returns {done}.
  • 401No token, or the token is revoked or mistyped.
  • 403You can't edit the page, or the to-do doesn't mention you.
  • 404The page or the to-do is gone, or you can't open it.
  • 409It's already that way.
  • 422The request didn't validate. detail lists each problem, with where it is (loc) and why (msg).
  • 423Someone is editing the page.
  • 429Too many requests from your IP address. Wait the seconds in Retry-After.
Did this page help?