Prepare the documentation
- todoListId
- todo-lists/108
- title
- Prepare the documentation
- isDone
- true
- dueDate
- —
- completedAt
- createdAt
- updatedAt
Overview
todos / #1244
Request
curl example
curl -sS \ "https://example-data.com/api/v1/todos/1244" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/todos/1244" ); 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/1244"
);
const todo = (await res.json()) as Todo; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/todos/1244"
)
todo = res.json() Response
{
"id": 1244,
"todoListId": 108,
"title": "Prepare the documentation",
"isDone": true,
"dueDate": null,
"completedAt": "2025-08-14T12:11:16.234Z",
"createdAt": "2025-07-28T08:59:27.942Z",
"updatedAt": "2025-11-26T11:14:20.998Z"
}