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 todos
GET/api/mock/todos?userId=:userIdGet todos by user
GET/api/mock/todos/:idGet a specific todo
POST/api/mock/todosCreate a new todo
PUT/api/mock/todos/:idUpdate a todo
DELETE/api/mock/todos/:idDelete a todo

Todo Schema

{
  "id": 1,
  "userId": 1,
  "title": "Complete project documentation",
  "completed": false,
  "createdAt": "2024-03-01T00:00:00.000Z"
}
Interactive API Tester
Code Examples
fetch('/api/mock/todos')
  .then(response => response.json())
  .then(data => console.log(data))
Webmaster Db