Plan the report
- todoListId
- todo-lists/128
- title
- Plan the report
- isDone
- true
- dueDate
- —
- completedAt
- createdAt
- updatedAt
Overview
todos / #1506
Plan the report
#1506
Request
curl example
curl -sS \ "https://example-data.com/api/v1/todos/1506" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/todos/1506" ); 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/1506"
);
const todo = (await res.json()) as Todo; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/todos/1506"
)
todo = res.json() Response
{
"id": 1506,
"todoListId": 128,
"title": "Plan the report",
"isDone": true,
"dueDate": null,
"completedAt": "2026-01-16T03:41:17.239Z",
"createdAt": "2025-12-07T20:31:31.302Z",
"updatedAt": "2026-04-04T17:23:41.182Z"
}