List available tasks on the TODO list

GET /tasks

Lists tasks that have been created, with a default filter of 'new' and 'in progress' tasks unless specified otherwise

Query parameters

  • status string

    Filters the list of tasks by the status provided

Responses

  • 200 application/json

    Returns a list of Tasks, with any request filters applied

    Hide response attributes Show response attributes object
    • id integer

      The unique identifier for a task.

    • A brief summary of the task.

    • status string

      The current status of the task, which can be 'new', 'in progress', or 'completed'.

      Values are new, in progress, or completed. Default value is new.

GET /tasks
curl \
 -X GET https://api.todolist.local/v1/tasks \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
  {
    "id": 1,
    "status": "completed",
    "description": "Buy milk"
  },
  {
    "id": 2,
    "status": "in progress",
    "description": "Send email to John"
  }
]