Plan the invoice
- todoListId
- todo-lists/134
- title
- Plan the invoice
- isDone
- true
- dueDate
- —
- completedAt
- createdAt
- updatedAt
Overview
todos / #1592
Plan the invoice
#1592
Request
curl example
curl -sS \ "https://example-data.com/api/v1/todos/1592" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/todos/1592" ); 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/1592"
);
const todo = (await res.json()) as Todo; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/todos/1592"
)
todo = res.json() Response
{
"id": 1592,
"todoListId": 134,
"title": "Plan the invoice",
"isDone": true,
"dueDate": null,
"completedAt": "2026-02-06T19:24:07.481Z",
"createdAt": "2025-08-22T06:08:28.825Z",
"updatedAt": "2025-10-15T08:38:35.538Z"
}