Check the draft
- todoListId
- todo-lists/55
- title
- Check the draft
- isDone
- true
- dueDate
- 2026-06-03
- completedAt
- createdAt
- updatedAt
Overview
todos / #645
Check the draft
#645
Request
curl example
curl -sS \ "https://example-data.com/api/v1/todos/645" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/todos/645" ); 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/645"
);
const todo = (await res.json()) as Todo; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/todos/645"
)
todo = res.json() Response
{
"id": 645,
"todoListId": 55,
"title": "Check the draft",
"isDone": true,
"dueDate": "2026-06-03",
"completedAt": "2025-07-13T07:55:18.723Z",
"createdAt": "2025-06-27T11:44:08.273Z",
"updatedAt": "2026-03-07T00:01:33.942Z"
}