{
  "schemaVersion": "1.0",
  "item": {
    "slug": "toggl-track",
    "name": "Toggl Track",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/byungkyu/toggl-track",
    "canonicalUrl": "https://clawhub.ai/byungkyu/toggl-track",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/toggl-track",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=toggl-track",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "LICENSE.txt"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/toggl-track"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/toggl-track",
    "agentPageUrl": "https://openagent3.xyz/skills/toggl-track/agent",
    "manifestUrl": "https://openagent3.xyz/skills/toggl-track/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/toggl-track/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Toggl Track",
        "body": "Access the Toggl Track API with managed OAuth authentication. Track time, manage projects, clients, tags, and workspaces."
      },
      {
        "title": "Quick Start",
        "body": "# Get current user info\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/toggl-track/api/v9/me')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Base URL",
        "body": "https://gateway.maton.ai/toggl-track/{native-api-path}\n\nReplace {native-api-path} with the actual Toggl Track API endpoint path. The gateway proxies requests to api.track.toggl.com and automatically injects your credentials."
      },
      {
        "title": "Authentication",
        "body": "All requests require the Maton API key in the Authorization header:\n\nAuthorization: Bearer $MATON_API_KEY\n\nEnvironment Variable: Set your API key as MATON_API_KEY:\n\nexport MATON_API_KEY=\"YOUR_API_KEY\""
      },
      {
        "title": "Getting Your API Key",
        "body": "Sign in or create an account at maton.ai\nGo to maton.ai/settings\nCopy your API key"
      },
      {
        "title": "Connection Management",
        "body": "Manage your Toggl Track OAuth connections at https://ctrl.maton.ai."
      },
      {
        "title": "List Connections",
        "body": "python <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections?app=toggl-track&status=ACTIVE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Create Connection",
        "body": "python <<'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'app': 'toggl-track'}).encode()\nreq = urllib.request.Request('https://ctrl.maton.ai/connections', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application/json')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Get Connection",
        "body": "python <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nResponse:\n\n{\n  \"connection\": {\n    \"connection_id\": \"0acc2145-4d3e-4eaf-bdfd-7b04e0e0d649\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2026-02-13T19:31:31.452264Z\",\n    \"last_updated_time\": \"2026-02-13T19:36:10.489069Z\",\n    \"url\": \"https://connect.maton.ai/?session_token=...\",\n    \"app\": \"toggl-track\",\n    \"metadata\": {}\n  }\n}\n\nOpen the returned url in a browser to complete OAuth authorization."
      },
      {
        "title": "Delete Connection",
        "body": "python <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}', method='DELETE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Specifying Connection",
        "body": "If you have multiple Toggl Track connections, specify which one to use with the Maton-Connection header:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/toggl-track/api/v9/me')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', '0acc2145-4d3e-4eaf-bdfd-7b04e0e0d649')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nIf omitted, the gateway uses the default (oldest) active connection."
      },
      {
        "title": "User & Workspace",
        "body": "Get Current User\n\nGET /toggl-track/api/v9/me\n\nResponse:\n\n{\n  \"id\": 12932942,\n  \"email\": \"user@example.com\",\n  \"fullname\": \"John Doe\",\n  \"timezone\": \"America/Los_Angeles\",\n  \"default_workspace_id\": 21180405,\n  \"beginning_of_week\": 1,\n  \"image_url\": \"https://assets.track.toggl.com/images/profile.png\"\n}\n\nList Workspaces\n\nGET /toggl-track/api/v9/me/workspaces\n\nGet Workspace\n\nGET /toggl-track/api/v9/workspaces/{workspace_id}\n\nList Workspace Users\n\nGET /toggl-track/api/v9/workspaces/{workspace_id}/users"
      },
      {
        "title": "Time Entries",
        "body": "List Time Entries\n\nGET /toggl-track/api/v9/me/time_entries\n\nQuery Parameters:\n\nsince (integer) - UNIX timestamp for entries modified after this time\nbefore (string) - Get entries before this date (RFC3339 or YYYY-MM-DD)\nstart_date (string) - Filter start date (YYYY-MM-DD)\nend_date (string) - Filter end date (YYYY-MM-DD)\n\nGet Current (Running) Time Entry\n\nGET /toggl-track/api/v9/me/time_entries/current\n\nReturns null if no time entry is currently running.\n\nGet Time Entry by ID\n\nGET /toggl-track/api/v9/me/time_entries/{time_entry_id}\n\nCreate Time Entry\n\nPOST /toggl-track/api/v9/workspaces/{workspace_id}/time_entries\nContent-Type: application/json\n\n{\n  \"description\": \"Working on project\",\n  \"start\": \"2026-02-13T10:00:00Z\",\n  \"duration\": -1,\n  \"workspace_id\": 21180405,\n  \"project_id\": 216896134,\n  \"tag_ids\": [20053808],\n  \"created_with\": \"maton-api\"\n}\n\nNote: Set duration to -1 to start a running timer. The created_with field is required.\n\nResponse:\n\n{\n  \"id\": 4290254971,\n  \"workspace_id\": 21180405,\n  \"project_id\": null,\n  \"task_id\": null,\n  \"billable\": false,\n  \"start\": \"2026-02-13T19:58:43Z\",\n  \"stop\": null,\n  \"duration\": -1,\n  \"description\": \"Working on project\",\n  \"tags\": null,\n  \"tag_ids\": null,\n  \"user_id\": 12932942\n}\n\nUpdate Time Entry\n\nPUT /toggl-track/api/v9/workspaces/{workspace_id}/time_entries/{time_entry_id}\nContent-Type: application/json\n\n{\n  \"description\": \"Updated description\",\n  \"project_id\": 216896134\n}\n\nStop Running Time Entry\n\nPATCH /toggl-track/api/v9/workspaces/{workspace_id}/time_entries/{time_entry_id}/stop\n\nDelete Time Entry\n\nDELETE /toggl-track/api/v9/workspaces/{workspace_id}/time_entries/{time_entry_id}"
      },
      {
        "title": "Projects",
        "body": "List Projects\n\nGET /toggl-track/api/v9/workspaces/{workspace_id}/projects\n\nQuery Parameters:\n\nactive (boolean) - Filter by active status\nsince (integer) - UNIX timestamp for modification filter\nname (string) - Filter by project name\npage (integer) - Page number\nper_page (integer) - Items per page (max 200)\n\nGet Project\n\nGET /toggl-track/api/v9/workspaces/{workspace_id}/projects/{project_id}\n\nCreate Project\n\nPOST /toggl-track/api/v9/workspaces/{workspace_id}/projects\nContent-Type: application/json\n\n{\n  \"name\": \"New Project\",\n  \"active\": true,\n  \"is_private\": true,\n  \"client_id\": 68493239,\n  \"color\": \"#0b83d9\",\n  \"billable\": true\n}\n\nResponse:\n\n{\n  \"id\": 216896134,\n  \"workspace_id\": 21180405,\n  \"client_id\": null,\n  \"name\": \"New Project\",\n  \"is_private\": true,\n  \"active\": true,\n  \"color\": \"#0b83d9\",\n  \"billable\": true,\n  \"created_at\": \"2026-02-13T19:58:36+00:00\"\n}\n\nUpdate Project\n\nPUT /toggl-track/api/v9/workspaces/{workspace_id}/projects/{project_id}\nContent-Type: application/json\n\n{\n  \"name\": \"Updated Project Name\",\n  \"color\": \"#ff0000\"\n}\n\nDelete Project\n\nDELETE /toggl-track/api/v9/workspaces/{workspace_id}/projects/{project_id}"
      },
      {
        "title": "Clients",
        "body": "List Clients\n\nGET /toggl-track/api/v9/workspaces/{workspace_id}/clients\n\nQuery Parameters:\n\nstatus (string) - Filter: active, archived, or both\nname (string) - Case-insensitive name filter\n\nGet Client\n\nGET /toggl-track/api/v9/workspaces/{workspace_id}/clients/{client_id}\n\nCreate Client\n\nPOST /toggl-track/api/v9/workspaces/{workspace_id}/clients\nContent-Type: application/json\n\n{\n  \"name\": \"New Client\",\n  \"notes\": \"Client notes here\"\n}\n\nResponse:\n\n{\n  \"id\": 68493239,\n  \"wid\": 21180405,\n  \"archived\": false,\n  \"name\": \"New Client\",\n  \"at\": \"2026-02-13T19:58:36+00:00\",\n  \"creator_id\": 12932942\n}\n\nUpdate Client\n\nPUT /toggl-track/api/v9/workspaces/{workspace_id}/clients/{client_id}\nContent-Type: application/json\n\n{\n  \"name\": \"Updated Client Name\"\n}\n\nDelete Client\n\nDELETE /toggl-track/api/v9/workspaces/{workspace_id}/clients/{client_id}\n\nArchive Client\n\nPOST /toggl-track/api/v9/workspaces/{workspace_id}/clients/{client_id}/archive\n\nRestore Client\n\nPOST /toggl-track/api/v9/workspaces/{workspace_id}/clients/{client_id}/restore\nContent-Type: application/json\n\n{\n  \"restore_all_projects\": true\n}"
      },
      {
        "title": "Tags",
        "body": "List Tags\n\nGET /toggl-track/api/v9/workspaces/{workspace_id}/tags\n\nQuery Parameters:\n\npage (integer) - Page number\nper_page (integer) - Items per page\n\nCreate Tag\n\nPOST /toggl-track/api/v9/workspaces/{workspace_id}/tags\nContent-Type: application/json\n\n{\n  \"name\": \"New Tag\"\n}\n\nResponse:\n\n{\n  \"id\": 20053808,\n  \"workspace_id\": 21180405,\n  \"name\": \"New Tag\",\n  \"at\": \"2026-02-13T19:58:37.115714Z\",\n  \"creator_id\": 12932942\n}\n\nUpdate Tag\n\nPUT /toggl-track/api/v9/workspaces/{workspace_id}/tags/{tag_id}\nContent-Type: application/json\n\n{\n  \"name\": \"Updated Tag Name\"\n}\n\nDelete Tag\n\nDELETE /toggl-track/api/v9/workspaces/{workspace_id}/tags/{tag_id}"
      },
      {
        "title": "Pagination",
        "body": "Toggl Track uses page-based pagination for most list endpoints:\n\nGET /toggl-track/api/v9/workspaces/{workspace_id}/projects?page=1&per_page=50\n\nFor time entries, use timestamp-based filtering:\n\nGET /toggl-track/api/v9/me/time_entries?since=1707840000&start_date=2026-02-01&end_date=2026-02-28"
      },
      {
        "title": "JavaScript",
        "body": "const response = await fetch(\n  'https://gateway.maton.ai/toggl-track/api/v9/me/time_entries',\n  {\n    headers: {\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n    }\n  }\n);\nconst timeEntries = await response.json();"
      },
      {
        "title": "Python",
        "body": "import os\nimport requests\n\nresponse = requests.get(\n    'https://gateway.maton.ai/toggl-track/api/v9/me/time_entries',\n    headers={'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'}\n)\ntime_entries = response.json()"
      },
      {
        "title": "Start a Timer",
        "body": "import os\nimport requests\nfrom datetime import datetime, timezone\n\nresponse = requests.post(\n    'https://gateway.maton.ai/toggl-track/api/v9/workspaces/21180405/time_entries',\n    headers={\n        'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}',\n        'Content-Type': 'application/json'\n    },\n    json={\n        'description': 'Working on task',\n        'start': datetime.now(timezone.utc).strftime('%Y-%m-%dT%H:%M:%SZ'),\n        'duration': -1,\n        'workspace_id': 21180405,\n        'created_with': 'maton-api'\n    }\n)"
      },
      {
        "title": "Notes",
        "body": "Workspace IDs are integers (e.g., 21180405)\nTime entry IDs are large integers (e.g., 4290254971)\nDuration is in seconds; use -1 for running timers\nTimestamps use ISO 8601 format (e.g., 2026-02-13T19:58:43Z)\nThe created_with field is required when creating time entries\nIMPORTANT: When using curl commands, use curl -g when URLs contain brackets to disable glob parsing\nIMPORTANT: When piping curl output to jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments"
      },
      {
        "title": "Error Handling",
        "body": "StatusMeaning400Missing Toggl Track connection or invalid request401Invalid or missing Maton API key403Access denied404Resource not found429Rate limited4xx/5xxPassthrough error from Toggl Track API"
      },
      {
        "title": "Troubleshooting: API Key Issues",
        "body": "Check that the MATON_API_KEY environment variable is set:\n\necho $MATON_API_KEY\n\nVerify the API key is valid by listing connections:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Troubleshooting: Invalid App Name",
        "body": "Ensure your URL path starts with toggl-track. For example:\n\nCorrect: https://gateway.maton.ai/toggl-track/api/v9/me\nIncorrect: https://gateway.maton.ai/api/v9/me"
      },
      {
        "title": "Resources",
        "body": "Toggl Track API Documentation\nToggl Track API Reference\nTime Entries API\nProjects API\nClients API\nTags API\nMaton Community\nMaton Support"
      }
    ],
    "body": "Toggl Track\n\nAccess the Toggl Track API with managed OAuth authentication. Track time, manage projects, clients, tags, and workspaces.\n\nQuick Start\n# Get current user info\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/toggl-track/api/v9/me')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nBase URL\nhttps://gateway.maton.ai/toggl-track/{native-api-path}\n\n\nReplace {native-api-path} with the actual Toggl Track API endpoint path. The gateway proxies requests to api.track.toggl.com and automatically injects your credentials.\n\nAuthentication\n\nAll requests require the Maton API key in the Authorization header:\n\nAuthorization: Bearer $MATON_API_KEY\n\n\nEnvironment Variable: Set your API key as MATON_API_KEY:\n\nexport MATON_API_KEY=\"YOUR_API_KEY\"\n\nGetting Your API Key\nSign in or create an account at maton.ai\nGo to maton.ai/settings\nCopy your API key\nConnection Management\n\nManage your Toggl Track OAuth connections at https://ctrl.maton.ai.\n\nList Connections\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections?app=toggl-track&status=ACTIVE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nCreate Connection\npython <<'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'app': 'toggl-track'}).encode()\nreq = urllib.request.Request('https://ctrl.maton.ai/connections', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application/json')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nGet Connection\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\n\nResponse:\n\n{\n  \"connection\": {\n    \"connection_id\": \"0acc2145-4d3e-4eaf-bdfd-7b04e0e0d649\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2026-02-13T19:31:31.452264Z\",\n    \"last_updated_time\": \"2026-02-13T19:36:10.489069Z\",\n    \"url\": \"https://connect.maton.ai/?session_token=...\",\n    \"app\": \"toggl-track\",\n    \"metadata\": {}\n  }\n}\n\n\nOpen the returned url in a browser to complete OAuth authorization.\n\nDelete Connection\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}', method='DELETE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nSpecifying Connection\n\nIf you have multiple Toggl Track connections, specify which one to use with the Maton-Connection header:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/toggl-track/api/v9/me')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', '0acc2145-4d3e-4eaf-bdfd-7b04e0e0d649')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\n\nIf omitted, the gateway uses the default (oldest) active connection.\n\nAPI Reference\nUser & Workspace\nGet Current User\nGET /toggl-track/api/v9/me\n\n\nResponse:\n\n{\n  \"id\": 12932942,\n  \"email\": \"user@example.com\",\n  \"fullname\": \"John Doe\",\n  \"timezone\": \"America/Los_Angeles\",\n  \"default_workspace_id\": 21180405,\n  \"beginning_of_week\": 1,\n  \"image_url\": \"https://assets.track.toggl.com/images/profile.png\"\n}\n\nList Workspaces\nGET /toggl-track/api/v9/me/workspaces\n\nGet Workspace\nGET /toggl-track/api/v9/workspaces/{workspace_id}\n\nList Workspace Users\nGET /toggl-track/api/v9/workspaces/{workspace_id}/users\n\nTime Entries\nList Time Entries\nGET /toggl-track/api/v9/me/time_entries\n\n\nQuery Parameters:\n\nsince (integer) - UNIX timestamp for entries modified after this time\nbefore (string) - Get entries before this date (RFC3339 or YYYY-MM-DD)\nstart_date (string) - Filter start date (YYYY-MM-DD)\nend_date (string) - Filter end date (YYYY-MM-DD)\nGet Current (Running) Time Entry\nGET /toggl-track/api/v9/me/time_entries/current\n\n\nReturns null if no time entry is currently running.\n\nGet Time Entry by ID\nGET /toggl-track/api/v9/me/time_entries/{time_entry_id}\n\nCreate Time Entry\nPOST /toggl-track/api/v9/workspaces/{workspace_id}/time_entries\nContent-Type: application/json\n\n{\n  \"description\": \"Working on project\",\n  \"start\": \"2026-02-13T10:00:00Z\",\n  \"duration\": -1,\n  \"workspace_id\": 21180405,\n  \"project_id\": 216896134,\n  \"tag_ids\": [20053808],\n  \"created_with\": \"maton-api\"\n}\n\n\nNote: Set duration to -1 to start a running timer. The created_with field is required.\n\nResponse:\n\n{\n  \"id\": 4290254971,\n  \"workspace_id\": 21180405,\n  \"project_id\": null,\n  \"task_id\": null,\n  \"billable\": false,\n  \"start\": \"2026-02-13T19:58:43Z\",\n  \"stop\": null,\n  \"duration\": -1,\n  \"description\": \"Working on project\",\n  \"tags\": null,\n  \"tag_ids\": null,\n  \"user_id\": 12932942\n}\n\nUpdate Time Entry\nPUT /toggl-track/api/v9/workspaces/{workspace_id}/time_entries/{time_entry_id}\nContent-Type: application/json\n\n{\n  \"description\": \"Updated description\",\n  \"project_id\": 216896134\n}\n\nStop Running Time Entry\nPATCH /toggl-track/api/v9/workspaces/{workspace_id}/time_entries/{time_entry_id}/stop\n\nDelete Time Entry\nDELETE /toggl-track/api/v9/workspaces/{workspace_id}/time_entries/{time_entry_id}\n\nProjects\nList Projects\nGET /toggl-track/api/v9/workspaces/{workspace_id}/projects\n\n\nQuery Parameters:\n\nactive (boolean) - Filter by active status\nsince (integer) - UNIX timestamp for modification filter\nname (string) - Filter by project name\npage (integer) - Page number\nper_page (integer) - Items per page (max 200)\nGet Project\nGET /toggl-track/api/v9/workspaces/{workspace_id}/projects/{project_id}\n\nCreate Project\nPOST /toggl-track/api/v9/workspaces/{workspace_id}/projects\nContent-Type: application/json\n\n{\n  \"name\": \"New Project\",\n  \"active\": true,\n  \"is_private\": true,\n  \"client_id\": 68493239,\n  \"color\": \"#0b83d9\",\n  \"billable\": true\n}\n\n\nResponse:\n\n{\n  \"id\": 216896134,\n  \"workspace_id\": 21180405,\n  \"client_id\": null,\n  \"name\": \"New Project\",\n  \"is_private\": true,\n  \"active\": true,\n  \"color\": \"#0b83d9\",\n  \"billable\": true,\n  \"created_at\": \"2026-02-13T19:58:36+00:00\"\n}\n\nUpdate Project\nPUT /toggl-track/api/v9/workspaces/{workspace_id}/projects/{project_id}\nContent-Type: application/json\n\n{\n  \"name\": \"Updated Project Name\",\n  \"color\": \"#ff0000\"\n}\n\nDelete Project\nDELETE /toggl-track/api/v9/workspaces/{workspace_id}/projects/{project_id}\n\nClients\nList Clients\nGET /toggl-track/api/v9/workspaces/{workspace_id}/clients\n\n\nQuery Parameters:\n\nstatus (string) - Filter: active, archived, or both\nname (string) - Case-insensitive name filter\nGet Client\nGET /toggl-track/api/v9/workspaces/{workspace_id}/clients/{client_id}\n\nCreate Client\nPOST /toggl-track/api/v9/workspaces/{workspace_id}/clients\nContent-Type: application/json\n\n{\n  \"name\": \"New Client\",\n  \"notes\": \"Client notes here\"\n}\n\n\nResponse:\n\n{\n  \"id\": 68493239,\n  \"wid\": 21180405,\n  \"archived\": false,\n  \"name\": \"New Client\",\n  \"at\": \"2026-02-13T19:58:36+00:00\",\n  \"creator_id\": 12932942\n}\n\nUpdate Client\nPUT /toggl-track/api/v9/workspaces/{workspace_id}/clients/{client_id}\nContent-Type: application/json\n\n{\n  \"name\": \"Updated Client Name\"\n}\n\nDelete Client\nDELETE /toggl-track/api/v9/workspaces/{workspace_id}/clients/{client_id}\n\nArchive Client\nPOST /toggl-track/api/v9/workspaces/{workspace_id}/clients/{client_id}/archive\n\nRestore Client\nPOST /toggl-track/api/v9/workspaces/{workspace_id}/clients/{client_id}/restore\nContent-Type: application/json\n\n{\n  \"restore_all_projects\": true\n}\n\nTags\nList Tags\nGET /toggl-track/api/v9/workspaces/{workspace_id}/tags\n\n\nQuery Parameters:\n\npage (integer) - Page number\nper_page (integer) - Items per page\nCreate Tag\nPOST /toggl-track/api/v9/workspaces/{workspace_id}/tags\nContent-Type: application/json\n\n{\n  \"name\": \"New Tag\"\n}\n\n\nResponse:\n\n{\n  \"id\": 20053808,\n  \"workspace_id\": 21180405,\n  \"name\": \"New Tag\",\n  \"at\": \"2026-02-13T19:58:37.115714Z\",\n  \"creator_id\": 12932942\n}\n\nUpdate Tag\nPUT /toggl-track/api/v9/workspaces/{workspace_id}/tags/{tag_id}\nContent-Type: application/json\n\n{\n  \"name\": \"Updated Tag Name\"\n}\n\nDelete Tag\nDELETE /toggl-track/api/v9/workspaces/{workspace_id}/tags/{tag_id}\n\nPagination\n\nToggl Track uses page-based pagination for most list endpoints:\n\nGET /toggl-track/api/v9/workspaces/{workspace_id}/projects?page=1&per_page=50\n\n\nFor time entries, use timestamp-based filtering:\n\nGET /toggl-track/api/v9/me/time_entries?since=1707840000&start_date=2026-02-01&end_date=2026-02-28\n\nCode Examples\nJavaScript\nconst response = await fetch(\n  'https://gateway.maton.ai/toggl-track/api/v9/me/time_entries',\n  {\n    headers: {\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n    }\n  }\n);\nconst timeEntries = await response.json();\n\nPython\nimport os\nimport requests\n\nresponse = requests.get(\n    'https://gateway.maton.ai/toggl-track/api/v9/me/time_entries',\n    headers={'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'}\n)\ntime_entries = response.json()\n\nStart a Timer\nimport os\nimport requests\nfrom datetime import datetime, timezone\n\nresponse = requests.post(\n    'https://gateway.maton.ai/toggl-track/api/v9/workspaces/21180405/time_entries',\n    headers={\n        'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}',\n        'Content-Type': 'application/json'\n    },\n    json={\n        'description': 'Working on task',\n        'start': datetime.now(timezone.utc).strftime('%Y-%m-%dT%H:%M:%SZ'),\n        'duration': -1,\n        'workspace_id': 21180405,\n        'created_with': 'maton-api'\n    }\n)\n\nNotes\nWorkspace IDs are integers (e.g., 21180405)\nTime entry IDs are large integers (e.g., 4290254971)\nDuration is in seconds; use -1 for running timers\nTimestamps use ISO 8601 format (e.g., 2026-02-13T19:58:43Z)\nThe created_with field is required when creating time entries\nIMPORTANT: When using curl commands, use curl -g when URLs contain brackets to disable glob parsing\nIMPORTANT: When piping curl output to jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments\nError Handling\nStatus\tMeaning\n400\tMissing Toggl Track connection or invalid request\n401\tInvalid or missing Maton API key\n403\tAccess denied\n404\tResource not found\n429\tRate limited\n4xx/5xx\tPassthrough error from Toggl Track API\nTroubleshooting: API Key Issues\nCheck that the MATON_API_KEY environment variable is set:\necho $MATON_API_KEY\n\nVerify the API key is valid by listing connections:\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nTroubleshooting: Invalid App Name\nEnsure your URL path starts with toggl-track. For example:\nCorrect: https://gateway.maton.ai/toggl-track/api/v9/me\nIncorrect: https://gateway.maton.ai/api/v9/me\nResources\nToggl Track API Documentation\nToggl Track API Reference\nTime Entries API\nProjects API\nClients API\nTags API\nMaton Community\nMaton Support"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/byungkyu/toggl-track",
    "publisherUrl": "https://clawhub.ai/byungkyu/toggl-track",
    "owner": "byungkyu",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/toggl-track",
    "downloadUrl": "https://openagent3.xyz/downloads/toggl-track",
    "agentUrl": "https://openagent3.xyz/skills/toggl-track/agent",
    "manifestUrl": "https://openagent3.xyz/skills/toggl-track/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/toggl-track/agent.md"
  }
}