Toggl.Api 9.0.151

There is a newer version of this package available.
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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Toggl.Api" Version="9.0.151" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Toggl.Api" Version="9.0.151" />
                    
Directory.Packages.props
<PackageReference Include="Toggl.Api" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Toggl.Api --version 9.0.151
                    
#r "nuget: Toggl.Api, 9.0.151"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Toggl.Api@9.0.151
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Toggl.Api&version=9.0.151
                    
Install as a Cake Addin
#tool nuget:?package=Toggl.Api&version=9.0.151
                    
Install as a Cake Tool

Toggl.Api nuget package

Nuget Nuget License: MIT Codacy Badge

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/

402 Payment Required Error


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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
Loading failed

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/