Template

Free Todo REST API

Lists and tasks with due dates and priorities, ready to call from your app. Start with it open for quick testing, then switch on "only the owner" so every user sees just their own tasks.

  • Learning React, Vue or Svelte with a real backend
  • Todo and checklist apps
  • Portfolio projects that need sign-up and saved data

What's inside

Open to anyone with your API key, so you can try it straight away. When you add login, switch lists and tasks to "Only the record's owner".

Lists

/lists

Groups of tasks

namestringrequired
colorstring

Read: Anyone with the API key · Write: Anyone with the API key

Tasks

/tasks

Things to do

titlestringrequired
notestext
doneboolean
due_datedate
prioritystring
list→ lists

Read: Anyone with the API key · Write: Anyone with the API key

Call it from your app

Every entity is a REST endpoint with filtering, sorting and paging. Sample data is included so the first request returns something.

GET /tasks
curl "https://YOUR_PROJECT.codefreeapi.com/api/v1/tasks?sort=-createdAt&limit=20" \
  -H "X-API-Key: YOUR_API_KEY"
POST /tasks
curl -X POST "https://YOUR_PROJECT.codefreeapi.com/api/v1/tasks" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "title": "Buy groceries" }'
Response (one record)
{
  "id": "b3f1…",
  "title": "Buy groceries",
  "notes": "Milk, eggs, coffee",
  "done": false,
  "due_date": "2026-12-31",
  "priority": "normal",
  "list": "lists-record-id",
  "createdAt": "2026-10-26T09:00:00.000Z"
}

Start your todo app backend now

Free plan, no credit card. One click copies this template into your account.