---
title: "Get todos by user id"
method: GET
path: "/todos/user/{userId}"
tags: ["Todos"]
---

# Get todos by user id

`GET /todos/user/{userId}`

## Request

- Base URL: `https://dummyjson.com`
- URL: `https://dummyjson.com/todos/user/{userId}`
- Auth: none required

## Path parameters

- `userId` integer, required

## Query parameters

- `limit` integer
- `skip` integer
- `select` string
- `sortBy` string
- `order` 'asc' | 'desc'
- `delay` integer

## Response `200`

User todos

- TodoList
  - `todos` Todo[]
    - `id` integer
    - `todo` string
    - `completed` boolean
    - `userId` integer
  - `total` integer
  - `skip` integer
  - `limit` integer

---

[API](https://skmtc.dev/dummyjson/apis/dummyjson-api.md) - [All operations](https://skmtc.dev/dummyjson/apis/dummyjson-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dummyjson/apis/dummyjson-api/revisions/5e704f33a559?raw)
