example-data.com
Menu
Browse docs and collections

Overview

tasks / #178

Document API endpoint

projectId
projects/22
assigneeUserId
Earlene Wisozk @earlene.wisozk
title
Document API endpoint
description
Temptatio attonbitus abundans depromo.
status
in_progress
priority
normal
dueDate
createdAt
updatedAt

Component variants

Related

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/tasks/178" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/tasks/178"
);
const task = await res.json();

TypeScript example

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

const res = await fetch(
  "https://example-data.com/api/v1/tasks/178"
);
const task = (await res.json()) as Task;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/tasks/178"
)
task = res.json()

Response

{
  "id": 178,
  "projectId": 22,
  "assigneeUserId": 216,
  "title": "Document API endpoint",
  "description": "Temptatio attonbitus abundans depromo.",
  "status": "in_progress",
  "priority": "normal",
  "dueDate": null,
  "createdAt": "2026-03-28T03:20:52.343Z",
  "updatedAt": "2026-03-30T22:48:43.720Z"
}