Skip to content
Webmaster DB

Mock Todos API

Free REST API for testing task management and todo list features with CRUD operations

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))

About this tool

Use it to

  • Test task management and todo list applications
  • Prototype productivity tools and checklist features
  • Learn state management with completed/incomplete items
  • Build demo applications with task tracking
Get User Todos
Filter todos by user with ?userId=1 to display personal task lists and implement user-specific views.
Create New Todo
Test task creation by POSTing with userId, title, and completed (boolean) fields.
  • Mock Users API

    Free REST API for testing user management features with full CRUD operations

  • Mock Posts API

    Free REST API for testing blog and content management features with CRUD operations

  • Mock Products API

    Free REST API for testing e-commerce and product catalog features with CRUD operations

  • Mock Comments API

    Free REST API for testing comment systems and discussion features with CRUD operations

Taggedapitestingmockresttodostasks