Toggl.Api
9.0.151
See the version list below for details.
dotnet add package Toggl.Api --version 9.0.151
NuGet\Install-Package Toggl.Api -Version 9.0.151
<PackageReference Include="Toggl.Api" Version="9.0.151" />
<PackageVersion Include="Toggl.Api" Version="9.0.151" />
<PackageReference Include="Toggl.Api" />
paket add Toggl.Api --version 9.0.151
#r "nuget: Toggl.Api, 9.0.151"
#:package Toggl.Api@9.0.151
#addin nuget:?package=Toggl.Api&version=9.0.151
#tool nuget:?package=Toggl.Api&version=9.0.151
Toggl.Api nuget package
IMPORTANT NOTICE - SUPPORT DROPPED UNTIL TOGGL RELAXES THEIR API LIMITS
In September 2025, Toggl crippled their API, limiting even Premium users to 600 API calls per hour. Beyond that, you will receive HTTP 402 "Payment Required" response (an incorrect HTTP Status - it should be 429 "Too Many Requests").
We can't even run our regression test sets, so I'm afraid this library is now untestable and therefore unsupportable.
There is nothing we can do but hope they see sense and lift the limits.
You can provide your feedback to Toggl here: https://community.toggl.com/
Description
This is a .NET 10.0 library for the Toggl API.
We now only provide Toggl API v9 support. Many endpoints are currently missing. Your pull requests are welcome!
Breaking change
To avoid the conflict with System.Threading.Tasks.Task, we have renamed the Task class to ProjectTask. This will require you to update your code to use ProjectTask instead of Task.
Contributing
This project is developed using Refit and System.Text.Json.
Add interfaces for new endpoints in the Interfaces folder.
Add models in the Models folder.
Add unit tests in the Toggl.Api.Tests project.
Refer to the Toggl API documentation for more information on the endpoints and models here: https://engineering.toggl.com/docs/
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.14)
- Refit (>= 16.4.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 9.0.164 | 70 | 11/24/2026 |
| 9.0.158 | 155 | 11/17/2026 |
| 9.0.151 | 152 | 11/10/2026 |
| 9.0.123 | 578 | 9/13/2026 |
| 9.0.121 | 135 | 9/12/2026 |
| 9.0.115 | 178 | 9/3/2026 |
| 9.0.106 | 144 | 8/28/2026 |
| 9.0.99 | 836 | 6/7/2026 |
| 9.0.97 | 179 | 4/16/2026 |
| 9.0.76 | 570 | 12/7/2025 |
| 9.0.75 | 292 | 12/7/2025 |
| 9.0.74 | 283 | 12/7/2025 |
| 9.0.69 | 280 | 11/26/2025 |
| 9.0.61 | 793 | 6/9/2025 |
| 9.0.60 | 2,613 | 1/28/2025 |
| 9.0.59 | 302 | 12/17/2024 |
| 9.0.55 | 338 | 11/18/2024 |
| 9.0.54 | 279 | 11/18/2024 |
| 9.0.53 | 240 | 11/18/2024 |
| 9.0.51 | 255 | 11/18/2024 |
Security fix: sensitive HTTP headers are now redacted in diagnostic output.
Previously AuthenticatedHttpClientHandler joined every request and response header, key and
value, into its Debug level log message. The handler sets an Authorization header carrying the
API token, base64 encoded, on every request, so a usable credential was written verbatim and was
trivially recoverable by decoding it. Any consumer running at Debug retained usable credentials
for the life of its log store, and a Toggl API token does not expire.
Authorization, Proxy-Authorization, Cookie, Set-Cookie and common API key headers are now
redacted, case-insensitively, on request and response, along with any vendor-prefixed variant
whose name ends in "Authorization". The scheme and credential length are retained, so requests
remain diagnosable. The log line format is otherwise unchanged.
Consumers should upgrade, review existing Debug logs for previously captured tokens, and
regenerate any token that appears in them.
Breaking Change: Renamed all "Me" references to "CurrentUser".
Note: Toggl have crippled their API, limiting even Premium users to 600 API calls per hour.
Beyond that, you will receive HTTP 402 "Payment Required" response - this is an incorrect HTTP Status - it should be 429 "Too Many Requests".
You can provide your feedback to Toggl here: https://community.toggl.com/