time-entries #523
- userId
-
Selina Flatley @selina_flatley
- taskId
- tasks/617
- projectId
- —
- description
- API integration
- startedAt
- endedAt
- durationMinutes
- 141
- createdAt
Overview
time-entries / #523
#523
#523
API integration
Request
curl example
curl -sS \ "https://example-data.com/api/v1/time-entries/523" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/time-entries/523" ); const timeEntry = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/time-entries.d.ts https://example-data.com/types/time-entries.d.ts
import type { TimeEntry } from "./types/time-entries";
const res = await fetch(
"https://example-data.com/api/v1/time-entries/523"
);
const timeEntry = (await res.json()) as TimeEntry; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/time-entries/523"
)
time_entrie = res.json() Response
{
"id": 523,
"userId": 193,
"taskId": 617,
"projectId": null,
"description": "API integration",
"startedAt": "2026-03-16T23:59:10.407Z",
"endedAt": "2026-03-17T02:20:10.407Z",
"durationMinutes": 141,
"createdAt": "2026-03-17T02:20:10.407Z"
}