example-data.com
Menu
Browse docs and collections

Overview

todo-lists / #156

Errands

userId
Adan Weber @adan.weber61
name
Errands
isArchived
true
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/todo-lists/156"
);
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/156"
);
const todoList = (await res.json()) as TodoList;

Python example

import requests

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

Response

{
  "id": 156,
  "userId": 155,
  "name": "Errands",
  "isArchived": true,
  "createdAt": "2025-06-21T13:52:00.055Z",
  "updatedAt": "2026-01-24T12:19:35.684Z"
}