example-data.com
Menu
Browse docs and collections

Overview

todo-lists / #182

Books to Read

userId
Lazaro Herzog @lazaro_herzog
name
Books to Read
isArchived
false
createdAt
updatedAt

Component variants

Related

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/todo-lists/182" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/todo-lists/182"
);
const todoList = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/todo-lists.d.ts https://example-data.com/types/todo-lists.d.ts
import type { TodoList } from "./types/todo-lists";

const res = await fetch(
  "https://example-data.com/api/v1/todo-lists/182"
);
const todoList = (await res.json()) as TodoList;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/todo-lists/182"
)
todo_list = res.json()

Response

{
  "id": 182,
  "userId": 181,
  "name": "Books to Read",
  "isArchived": false,
  "createdAt": "2026-01-16T20:34:55.903Z",
  "updatedAt": "2026-04-01T05:27:03.672Z"
}