Toggl Track Time Entries API

The Time Entries API from Toggl Track — 5 operation(s) for time entries.

GitHub OpenAPI

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v9/me/time_entries List my time entries · List the authenticated user's time entries #
Ask an LLM
“How do I see all the time entries I've tracked?”
“Can I list my time entries for a date range?”
Tell an agent
List my time entries from {start_date} to {end_date}.
Show every time entry I've tracked.
GET /api/v9/me/time_entries/current Get my current time entry · Get the currently running time entry #
Ask an LLM
“What time entry is running right now?”
“Can I check my active timer?”
Tell an agent
Get my current time entry.
Show the timer I'm running.
POST /api/v9/workspaces/{workspace_id}/time_entries Start a time entry · Create a time entry in a workspace #
Ask an LLM
“How do I start tracking time on a task?”
“Can I create a time entry with a project and duration?”
Tell an agent
Start a time entry in workspace {workspace_id} from {start} with {description}.
Create a time entry in workspace {workspace_id} for project {project_id} lasting {duration}.
PUT /api/v9/workspaces/{workspace_id}/time_entries/{time_entry_id} Update a time entry · Update a time entry #
Ask an LLM
“How do I edit an existing time entry?”
“Can I change the duration of a time entry I already created?”
Tell an agent
Update time entry {time_entry_id} in workspace {workspace_id}.
Edit the existing time entry {time_entry_id} in workspace {workspace_id}.
DELETE /api/v9/workspaces/{workspace_id}/time_entries/{time_entry_id} Delete a time entry · Delete a time entry #
Ask an LLM
“How do I delete a time entry I tracked by mistake?”
“Can I remove a time entry from a workspace?”
Tell an agent destructive · confirm first
Delete time entry {time_entry_id} from workspace {workspace_id}.
Remove the time entry {time_entry_id} in workspace {workspace_id}.
PATCH /api/v9/workspaces/{workspace_id}/time_entries/{time_entry_id}/stop Stop a running time entry · Stop a running time entry #
Ask an LLM
“How do I stop a time entry that is still running?”
“Can I end a timer by its ID?”
Tell an agent
Stop time entry {time_entry_id} in workspace {workspace_id}.
End the running timer {time_entry_id} in workspace {workspace_id}.

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/toggl:toggl-time-entries-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

toggl-time-entries-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Toggl Track Time Entries API
  version: '9'
  description: 'REST API for the Toggl Track time tracking platform covering the

    core Track API (time entries, current entry, workspaces) plus the

    Reports API (weekly, summary, detailed reports).


    Authentication: HTTP Basic Auth where the API token is the username

    and the literal string `api_token` is the password.


    Sources:

    - https://engineering.toggl.com/docs/

    - https://github.com/toggl/toggl_api_docs (archived reference for

    historical paths and the Reports API)'
  contact:
    name: Toggl Track
    url: https://engineering.toggl.com/docs/
servers:
- url: https://api.track.toggl.com
  description: Toggl Track production API host
security:
- basicAuth: []
tags:
- name: Time Entries
paths:
  /api/v9/me/time_entries:
    get:
      tags:
      - Time Entries
      summary: List the authenticated user's time entries
      operationId: listMyTimeEntries
      parameters:
      - in: query
        name: start_date
        schema:
          type: string
          format: date
      - in: query
        name: end_date
        schema:
          type: string
          format: date
      responses:
        '200':
          description: Time entries for the authenticated user.
  /api/v9/me/time_entries/current:
    get:
      tags:
      - Time Entries
      summary: Get the currently running time entry
      operationId: getCurrentTimeEntry
      responses:
        '200':
          description: Running time entry or null.
  /api/v9/workspaces/{workspace_id}/time_entries:
    post:
      tags:
      - Time Entries
      summary: Create a time entry in a workspace
      operationId: createTimeEntry
      parameters:
      - $ref: '#/components/parameters/WorkspaceId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                description:
                  type: string
                start:
                  type: string
                  format: date-time
                duration:
                  type: integer
                project_id:
                  type: integer
                created_with:
                  type: string
                workspace_id:
                  type: integer
              required:
              - start
              - created_with
              - workspace_id
      responses:
        '200':
          description: Created time entry.
  /api/v9/workspaces/{workspace_id}/time_entries/{time_entry_id}:
    put:
      tags:
      - Time Entries
      summary: Update a time entry
      operationId: updateTimeEntry
      parameters:
      - $ref: '#/components/parameters/WorkspaceId'
      - $ref: '#/components/parameters/TimeEntryId'
      responses:
        '200':
          description: Updated time entry.
    delete:
      tags:
      - Time Entries
      summary: Delete a time entry
      operationId: deleteTimeEntry
      parameters:
      - $ref: '#/components/parameters/WorkspaceId'
      - $ref: '#/components/parameters/TimeEntryId'
      responses:
        '200':
          description: Deletion acknowledgement.
  /api/v9/workspaces/{workspace_id}/time_entries/{time_entry_id}/stop:
    patch:
      tags:
      - Time Entries
      summary: Stop a running time entry
      operationId: stopTimeEntry
      parameters:
      - $ref: '#/components/parameters/WorkspaceId'
      - $ref: '#/components/parameters/TimeEntryId'
      responses:
        '200':
          description: Stopped time entry.
components:
  parameters:
    WorkspaceId:
      in: path
      name: workspace_id
      required: true
      schema:
        type: integer
    TimeEntryId:
      in: path
      name: time_entry_id
      required: true
      schema:
        type: integer
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: 'HTTP Basic auth. Username is the API token from Toggl profile,

        password is the literal string `api_token`.

        '