Mock Todos API
Free REST API for testing task management and todo list features with CRUD operations
Mock Todos API Documentation
A free REST API for testing and prototyping todo list and task management features. Perfect for testing task management and todo list applications, prototyping productivity tools and checklist features, learning state management with completed/incomplete items, building demo applications with task tracking, and testing filter and search functionality. No authentication required.
Available Endpoints
GET
/api/mock/todosGet all todosGET
/api/mock/todos?userId=:userIdGet todos by userGET
/api/mock/todos/:idGet a specific todoPOST
/api/mock/todosCreate a new todoPUT
/api/mock/todos/:idUpdate a todoDELETE
/api/mock/todos/:idDelete a todoTodo Schema
{
"id": 1,
"userId": 1,
"title": "Complete project documentation",
"completed": false,
"createdAt": "2024-03-01T00:00:00.000Z"
}Interactive API Tester
Note: This is a stateless mock API. POST, PUT, and DELETE requests will return success responses, but no data is actually modified. All requests return the same consistent dataset for testing purposes.
Code Examples
fetch('/api/mock/todos')
.then(response => response.json())
.then(data => console.log(data))