example-data.com
Menu
Browse docs and collections

Overview

todos / #2580

Follow up with the dashboard

todoListId
todo-lists/217
title
Follow up with the dashboard
isDone
true
dueDate
completedAt
createdAt
updatedAt

Component variants

Related

References

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/todos/2580" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/todos/2580"
);
const todo = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/todos.d.ts https://example-data.com/types/todos.d.ts
import type { Todo } from "./types/todos";

const res = await fetch(
  "https://example-data.com/api/v1/todos/2580"
);
const todo = (await res.json()) as Todo;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/todos/2580"
)
todo = res.json()

Response

{
  "id": 2580,
  "todoListId": 217,
  "title": "Follow up with the dashboard",
  "isDone": true,
  "dueDate": null,
  "completedAt": "2026-02-14T00:26:21.092Z",
  "createdAt": "2025-08-29T06:05:58.219Z",
  "updatedAt": "2025-12-27T23:58:24.606Z"
}