Skip to content

GET/users/{id}/todos

List user's tasks

Retrieve user's tasks. Same filtering, sorting, and pagination as `/todos`.

Parameters 13

NameTypeDescription
_pagequery · integerPage number (1-based)
_limitquery · integerItems per page
_startquery · integerSlice start index (alternative to page-based)

ReturnsTodo

Bearer token required

Response examples

200Array of todos

application/json example derived from schema

[
  {
    "id": 1,
    "userId": 1,
    "title": "Configure monitoring",
    "completed": true,
    "priority": "low",
    "dueDate": null,
    "tags": [],
    "createdAt": "2024-01-25T00:38:32.919Z"
  }
]
404404 — resource not found

application/json

{
  "error": {
    "status": 404,
    "message": "users #999 not found"
  }
}

Released under the MIT License.