Send the contract
- todoListId
- todo-lists/157
- title
- Send the contract
- isDone
- true
- dueDate
- 2026-05-25
- completedAt
- createdAt
- updatedAt
Overview
todos / #1883
Send the contract
#1883
Request
curl example
curl -sS \ "https://example-data.com/api/v1/todos/1883" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/todos/1883" ); 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/1883"
);
const todo = (await res.json()) as Todo; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/todos/1883"
)
todo = res.json() Response
{
"id": 1883,
"todoListId": 157,
"title": "Send the contract",
"isDone": true,
"dueDate": "2026-05-25",
"completedAt": "2026-04-29T02:45:34.180Z",
"createdAt": "2025-11-08T04:58:21.046Z",
"updatedAt": "2026-04-11T10:23:43.209Z"
}