Call the presentation
- todoListId
- todo-lists/150
- title
- Call the presentation
- isDone
- true
- dueDate
- —
- completedAt
- createdAt
- updatedAt
Overview
todos / #1787
Call the presentation
#1787
Request
curl example
curl -sS \ "https://example-data.com/api/v1/todos/1787" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/todos/1787" ); 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/1787"
);
const todo = (await res.json()) as Todo; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/todos/1787"
)
todo = res.json() Response
{
"id": 1787,
"todoListId": 150,
"title": "Call the presentation",
"isDone": true,
"dueDate": null,
"completedAt": "2025-08-19T22:46:14.571Z",
"createdAt": "2025-07-11T04:31:06.381Z",
"updatedAt": "2025-10-31T14:32:49.684Z"
}