Simple todo item with title, completion status, due date, priority level, and owner. Used for personal task management, to-do lists, and productivity applications.
https://api.mockly.codes/todos?page=1&limit=10&count=10Configure your request and click Send Request to see the response here.
/todosGet a collection of todos
/productivity/todos/todos/:idGet a single todo by ID
/productivity/todos/:id/todos/metaGet resource metadata and schema
/productivity/todos/metaAdditional aliases:
/tasks/todo-itemsThe search feature allows you to filter results by searching for text across all or specific fields. Choose between ?q= or ?search= parameter names.
Search across all text fields:
GET https://api.mockly.codes/todos?q=laptopGET https://api.mockly.codes/todos?q=laptop&search_fields=name,descriptionsearch_fields, all text fields are searched// Get 10 todos
fetch('https://api.mockly.codes/todos?count=10')
.then(res => res.json())
.then(data => console.log(data));import requests
response = requests.get(
'https://api.mockly.codes/todos?count=10'
)
data = response.json()curl "https://api.mockly.codes/todos?count=10"fetch('https://api.mockly.codes/todos?nocache=true')idintegerrequiredUnique identifier
random_intuser_idintegerForeign key reference to the user who owns this todo item
random_inttitlestringrequiredTitle or description of the todo item
sentencecompletedbooleanrequiredWhether the todo item has been completed
booleandue_datestringDate and time when the todo item is due
future_datedate-timepriorityintegerPriority level from 1 (lowest) to 5 (highest)
random_intcountintegerNumber of items to return (default: 10, max: 100)
seedintegerSeed for reproducible data generation
nocachebooleanBypass cache and generate fresh data on every request