Toggl Public API

Toggl has a public API for building integrations, automating workflows and connecting Toggl with other tools. You can work with tasks, planned time, time logs, projects and more.

  • Authentication: generate an API token in your Profile settings and send it as a bearer token in the Authorization header. Choose an expiry of 30, 60 or 90 days, or no expiry. The token is shown only once, and you can have one active token at a time.
  • Permissions: the API follows your access level. If you can’t do something in the app, you can’t do it through the API.
  • Limits: API requests are limited per organization per hour. Over the limit, requests return HTTP 402 until the hour resets; the X-Toggl-Quota-Resets-In header tells you how long to wait.

Full guides: Toggl Public API and the API documentation

1 Like

This is crazy cool! So happy you guys implemented this. Can’t wait to get into using it.

1 Like

Seems the new API is lacking endpoints to list all workspaces/orgs of a user. Most APIs require organisation_id or workspace_id to be set. Your own webapp calls https://accounts.toggl.com/org/api/organizations/me which lists all workspaces + organisation ids for a user but an own app is lacking APIs to do the same. The “current_workspace_id” listed in /users/me/settings is not enough.

Do you have something planned to allow loading workspaces, organisations?

e.g. a /api/users/me/organizations or /api/users/me/workspaces