Buy the invoice
- todoListId
- todo-lists/42
- title
- Buy the invoice
- isDone
- true
- dueDate
- 2026-06-14
- completedAt
- createdAt
- updatedAt
Overview
todos / #484
Buy the invoice
#484
Request
curl example
curl -sS \ "https://example-data.com/api/v1/todos/484" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/todos/484" ); 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/484"
);
const todo = (await res.json()) as Todo; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/todos/484"
)
todo = res.json() Response
{
"id": 484,
"todoListId": 42,
"title": "Buy the invoice",
"isDone": true,
"dueDate": "2026-06-14",
"completedAt": "2026-05-06T13:13:32.703Z",
"createdAt": "2026-04-05T06:26:20.832Z",
"updatedAt": "2026-04-07T09:09:20.478Z"
}