Files
TimeTracker/docs/api
Dries Peeters 6de7035b4a feat: add personal productivity dashboard with stats API
Introduce a dedicated My productivity page at /dashboard/productivity
with streaks, focus metrics, project breakdown, a 12-week heatmap, and
Chart.js charts backed by ProductivityService (user-timezone-aware).
Expose GET /api/productivity/stats with a 5-minute cache when no active
timer is running. Document the feature and related session JSON routes.
2026-05-15 08:57:14 +02:00
..

API Documentation

Complete API reference for TimeTracker REST API.

📖 Overview

TimeTracker provides a comprehensive REST API for programmatic access to all features. The API supports token-based authentication and follows RESTful principles.

📚 Documentation

🔑 Quick Start

  1. Create an API token in Admin → Security & Access → Api-tokens (or /admin/api-tokens)
  2. Include the token in the Authorization header: Bearer YOUR_TOKEN
  3. Make requests to the API endpoints
  4. Review the API Token Scopes to ensure your token has the required permissions

📋 API Endpoints

See the REST API documentation for a complete list of available endpoints organized by resource type.