---
title: "Get random todos"
method: GET
path: "/todos/random/{length}"
tags: ["Todos"]
---

# Get random todos

`GET /todos/random/{length}`

## Request

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

## Path parameters

- `length` integer, required

## Query parameters

- `delay` integer

## Response `200`

Array of random todos

- Todo[]
  - `id` integer
  - `todo` string
  - `completed` boolean
  - `userId` 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)
