Send the proposal
- todoListId
- todo-lists/199
- title
- Send the proposal
- isDone
- true
- dueDate
- 2026-05-17
- completedAt
- createdAt
- updatedAt
Overview
todos / #2341
Send the proposal
#2341
Request
curl example
curl -sS \ "https://example-data.com/api/v1/todos/2341" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/todos/2341" ); 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/2341"
);
const todo = (await res.json()) as Todo; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/todos/2341"
)
todo = res.json() Response
{
"id": 2341,
"todoListId": 199,
"title": "Send the proposal",
"isDone": true,
"dueDate": "2026-05-17",
"completedAt": "2025-11-01T02:17:18.637Z",
"createdAt": "2025-07-24T08:12:04.953Z",
"updatedAt": "2026-02-15T22:37:39.058Z"
}