Todos
Get random todos
get/todos/random/{length}
Request
- Base URLhttps://dummyjson.com
- URLhttps://dummyjson.com/todos/random/{length}
- Authnone required
Path parameters
lengthinteger required
Number of random todos (1–10).
Query parameters
delayinteger
Artificial response delay in milliseconds (0–5000).
Response
Array of random todos
Example response
[
{
"id": 1,
"todo": "Do something nice for someone you care about",
"userId": 152
}
]Changes
No recorded changes to this operation across all 1 revision of this API.