> For the complete documentation index, see [llms.txt](https://docs.planetcrust.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.planetcrust.com/human-connections/toggl-track/toggl-track.md).

# Toggl Track

<p align="center"><a class="button primary" data-icon="circle-caret-right">Try @Human</a><a class="button primary" data-icon="check">Buy @Human Subscription</a><a class="button primary" data-icon="comments">Join @Human Community</a></p>

<figure><img src="/files/NdgWskJhOhREdeZbI0gm" alt="" width="375"><figcaption></figcaption></figure>

<h3 align="center">Put Toggl Track to Work with @Human Automations and @Human Agents</h3>

<p align="center">The Toggl Track Connection documents all Triggers, Actions and Query Operations available for creating automations via the Toggl Track API.</p>

{% embed url="<https://www.youtube.com/watch?v=CyuUuaBSZzA>" %}

#### What can you do with the Toggl Track Connection?

* Connect to the Toggl Track API in a few clicks
* Use the related Toggl Track Operations (see below) in @Human Automations or @Human Agents

### Related Operations

#### Trigger Operations

**Time Entry Created**

Triggers on: time\_entries/time\_entry\_created

Triggered when a new time entry is created in Toggl Track.

**Time Entry Updated**

Triggers on: time\_entries/time\_entry\_updated

Triggered when an existing time entry is updated in Toggl Track.

**Time Entry Deleted**

Triggers on: time\_entries/time\_entry\_deleted

Triggered when a time entry is deleted in Toggl Track.

**Project Created**

Triggers on: projects/project\_created

Triggered when a new project is created in Toggl Track.

**Project Updated**

Triggers on: projects/project\_updated

Triggered when an existing project is updated in Toggl Track.

**Project Deleted**

Triggers on: projects/project\_deleted

Triggered when a project is deleted in Toggl Track.

**Workspace Created**

Triggers on: workspaces/workspace\_created

Triggered when a new workspace is created in Toggl Track.

#### Action Operations

[Action: Create Client](/human-connections/toggl-track/toggl-track/action-create-client.md)

[Action: Create User Invitation](/human-connections/toggl-track/toggl-track/action-create-user-invitation.md)

[Action: Add Project Member](/human-connections/toggl-track/toggl-track/action-add-project-member.md)

[Action: Create Task](/human-connections/toggl-track/toggl-track/action-create-task.md)

#### Query Operations

Example link

### Related Automations

Example link

### Obtaining Access Credentials <a href="#obtaining-access-credentials" id="obtaining-access-credentials"></a>

To obtain a **Personal Access Token (PAT)** for **Toggl Track** (system-to-system access), follow these steps:

#### **Required Values**

1. **Toggl Track Account** – A user account with admin or workspace access (PATs are user-specific).

#### **Steps to Generate PAT**

1. **Log in** to your Toggl Track account at <https://track.toggl.com>.
2. Navigate to **Profile Settings**:
   * Click your profile icon (top-right) → **Profile settings**.
3. Go to **API Token**:
   * In the left sidebar, select **API token**.
4. Generate a New Token:
   * Under **Personal API token**, click **Generate new token**.
   * Confirm if prompted.
5. Copy the Token:
   * The token will be displayed **once**. Copy it immediately.
   * Store it securely (e.g., password manager, secrets vault).

**Token Scope**: Full access to the user’s data (workspaces, projects, time entries, etc.). **Expiry**: Never expires unless revoked manually.

### Configuring Webhooks

1. Log in to your **Toggl Track** account at <https://track.toggl.com>.
2. Navigate to **Integrations** in the left sidebar.
3. Select **Webhooks**.
4. Click **Create Webhook**.
5. Provide a **Name** for your webhook.
6. Select the **Workspace** you want to monitor.
7. Choose the **Events** you want to listen for (e.g., Time entry created).
8. Enter the **URL Endpoint** where the webhook payloads should be sent.
9. Click **Add Webhook**.

### Code (Apache v2.0): Service Connectivity and Metadata

```
{
  "handle": "toggl-track-v1",
  "status": "active",
  "meta": {
    "short": "Toggl Track",
    "description": "Connect to Toggl Track for time tracking and reporting.",
    "icon": "toggl",
    "tags": ["time-tracking", "productivity", "reporting"]
  },
  "service": {
    "baseURL": {
      "value": "https://api.track.toggl.com/api/v9"
    },
    "protocol": "https",
    "contentType": "application/json",
    "headers": {
      "Content-Type": "application/json"
    },
    "auth": {
      "method": "basic",
      "params": {
        "basic": {
          "username": {
            "value": "{{apiToken}}",
            "placeholders": [
              {
                "name": "apiToken",
                "type": "String",
                "description": "Toggl Track API token",
                "required": true
              }
            ]
          },
          "password": {
            "value": "api_token",
            "placeholders": []
          }
        }
      }
    }
  }
}

```

### Code (Apache v2.0): List of External Resources and Internal Mapping

```
[
  {
    "handle": "time_entries",
    "meta": {
      "short": "Time Entries",
      "description": "Track time entries for projects and tasks."
    },
    "endpoint": {
      "value": "/api/v9/me/time_entries"
    },
    "fields": [
      {
        "name": "id",
        "type": "Integer",
        "selector": [
          "id"
        ],
        "meta": {
          "description": "Unique identifier for the time entry."
        }
      },
      {
        "name": "description",
        "type": "String",
        "selector": [
          "description"
        ],
        "meta": {
          "description": "Description of the time entry."
        }
      },
      {
        "name": "start",
        "type": "String",
        "selector": [
          "start"
        ],
        "meta": {
          "description": "Start time of the time entry in ISO 8601 format."
        }
      },
      {
        "name": "stop",
        "type": "String",
        "selector": [
          "stop"
        ],
        "meta": {
          "description": "Stop time of the time entry in ISO 8601 format."
        }
      },
      {
        "name": "duration",
        "type": "Integer",
        "selector": [
          "duration"
        ],
        "meta": {
          "description": "Duration of the time entry in seconds."
        }
      },
      {
        "name": "pid",
        "type": "Integer",
        "selector": [
          "pid"
        ],
        "meta": {
          "description": "Project ID associated with the time entry."
        }
      },
      {
        "name": "tid",
        "type": "Integer",
        "selector": [
          "tid"
        ],
        "meta": {
          "description": "Task ID associated with the time entry."
        }
      },
      {
        "name": "tags_0",
        "type": "String",
        "selector": [
          "tags",
          0
        ],
        "meta": {
          "description": "First tag associated with the time entry."
        },
        "multivalue": true
      }
    ],
    "operations": {
      "list": {
        "method": "GET",
        "path": {
          "value": ""
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "queryParams": {
          "start_date": "{{start_date}}",
          "end_date": "{{end_date}}"
        }
      },
      "read": {
        "method": "GET",
        "path": {
          "value": "/{{id}}"
        },
        "headers": {
          "Content-Type": "application/json"
        }
      },
      "create": {
        "method": "POST",
        "path": {
          "value": ""
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "bodyTemplate": {
          "value": "{\"time_entry\":{\"description\":\"{{description}}\",\"start\":\"{{start}}\",\"duration\":\"{{duration}}\",\"pid\":{{pid}},\"tid\":{{tid}},\"tags\":{{tags}}}}"
        }
      },
      "update": {
        "method": "PUT",
        "path": {
          "value": "/{{id}}"
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "bodyTemplate": {
          "value": "{\"time_entry\":{\"description\":\"{{description}}\",\"start\":\"{{start}}\",\"stop\":\"{{stop}}\",\"duration\":\"{{duration}}\",\"pid\":{{pid}},\"tid\":{{tid}},\"tags\":{{tags}}}}"
        }
      },
      "delete": {
        "method": "DELETE",
        "path": {
          "value": "/{{id}}"
        },
        "headers": {
          "Content-Type": "application/json"
        }
      }
    },
    "webhooks": [
      {
        "event": "time_entry_created",
        "path": "/webhooks/toggl/time_entry_created",
        "payload": [
          {
            "name": "id",
            "type": "Integer",
            "selector": [
              "id"
            ],
            "meta": {
              "description": "Unique identifier for the time entry."
            }
          },
          {
            "name": "description",
            "type": "String",
            "selector": [
              "description"
            ],
            "meta": {
              "description": "Description of the time entry."
            }
          },
          {
            "name": "start",
            "type": "String",
            "selector": [
              "start"
            ],
            "meta": {
              "description": "Start time of the time entry in ISO 8601 format."
            }
          },
          {
            "name": "stop",
            "type": "String",
            "selector": [
              "stop"
            ],
            "meta": {
              "description": "Stop time of the time entry in ISO 8601 format."
            }
          },
          {
            "name": "duration",
            "type": "Integer",
            "selector": [
              "duration"
            ],
            "meta": {
              "description": "Duration of the time entry in seconds."
            }
          },
          {
            "name": "pid",
            "type": "Integer",
            "selector": [
              "pid"
            ],
            "meta": {
              "description": "Project ID associated with the time entry."
            }
          },
          {
            "name": "tid",
            "type": "Integer",
            "selector": [
              "tid"
            ],
            "meta": {
              "description": "Task ID associated with the time entry."
            }
          },
          {
            "name": "tags_0",
            "type": "String",
            "selector": [
              "tags",
              0
            ],
            "meta": {
              "description": "First tag associated with the time entry."
            },
            "multivalue": true
          }
        ]
      },
      {
        "event": "time_entry_updated",
        "path": "/webhooks/toggl/time_entry_updated",
        "payload": [
          {
            "name": "id",
            "type": "Integer",
            "selector": [
              "id"
            ],
            "meta": {
              "description": "Unique identifier for the time entry."
            }
          },
          {
            "name": "description",
            "type": "String",
            "selector": [
              "description"
            ],
            "meta": {
              "description": "Description of the time entry."
            }
          },
          {
            "name": "start",
            "type": "String",
            "selector": [
              "start"
            ],
            "meta": {
              "description": "Start time of the time entry in ISO 8601 format."
            }
          },
          {
            "name": "stop",
            "type": "String",
            "selector": [
              "stop"
            ],
            "meta": {
              "description": "Stop time of the time entry in ISO 8601 format."
            }
          },
          {
            "name": "duration",
            "type": "Integer",
            "selector": [
              "duration"
            ],
            "meta": {
              "description": "Duration of the time entry in seconds."
            }
          },
          {
            "name": "pid",
            "type": "Integer",
            "selector": [
              "pid"
            ],
            "meta": {
              "description": "Project ID associated with the time entry."
            }
          },
          {
            "name": "tid",
            "type": "Integer",
            "selector": [
              "tid"
            ],
            "meta": {
              "description": "Task ID associated with the time entry."
            }
          },
          {
            "name": "tags_0",
            "type": "String",
            "selector": [
              "tags",
              0
            ],
            "meta": {
              "description": "First tag associated with the time entry."
            },
            "multivalue": true
          }
        ]
      },
      {
        "event": "time_entry_deleted",
        "path": "/webhooks/toggl/time_entry_deleted",
        "payload": [
          {
            "name": "id",
            "type": "Integer",
            "selector": [
              "id"
            ],
            "meta": {
              "description": "Unique identifier for the time entry."
            }
          }
        ]
      }
    ]
  },
  {
    "handle": "projects",
    "meta": {
      "short": "Projects",
      "description": "Manage projects in Toggl Track."
    },
    "endpoint": {
      "value": "/api/v9/workspaces/{{workspace_id}}/projects"
    },
    "fields": [
      {
        "name": "id",
        "type": "Integer",
        "selector": [
          "id"
        ],
        "meta": {
          "description": "Unique identifier for the project."
        }
      },
      {
        "name": "name",
        "type": "String",
        "selector": [
          "name"
        ],
        "meta": {
          "description": "Name of the project."
        }
      },
      {
        "name": "workspace_id",
        "type": "Integer",
        "selector": [
          "workspace_id"
        ],
        "meta": {
          "description": "Workspace ID associated with the project."
        }
      },
      {
        "name": "is_private",
        "type": "Boolean",
        "selector": [
          "is_private"
        ],
        "meta": {
          "description": "Indicates if the project is private."
        }
      },
      {
        "name": "active",
        "type": "Boolean",
        "selector": [
          "active"
        ],
        "meta": {
          "description": "Indicates if the project is active."
        }
      }
    ],
    "operations": {
      "list": {
        "method": "GET",
        "path": {
          "value": ""
        },
        "headers": {
          "Content-Type": "application/json"
        }
      },
      "read": {
        "method": "GET",
        "path": {
          "value": "/{{id}}"
        },
        "headers": {
          "Content-Type": "application/json"
        }
      },
      "create": {
        "method": "POST",
        "path": {
          "value": ""
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "bodyTemplate": {
          "value": "{\"project\":{\"name\":\"{{name}}\",\"workspace_id\":{{workspace_id}},\"is_private\":{{is_private}},\"active\":{{active}}}}"
        }
      },
      "update": {
        "method": "PUT",
        "path": {
          "value": "/{{id}}"
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "bodyTemplate": {
          "value": "{\"project\":{\"name\":\"{{name}}\",\"is_private\":{{is_private}},\"active\":{{active}}}}"
        }
      },
      "delete": {
        "method": "DELETE",
        "path": {
          "value": "/{{id}}"
        },
        "headers": {
          "Content-Type": "application/json"
        }
      }
    },
    "webhooks": [
      {
        "event": "project_created",
        "path": "/webhooks/toggl/project_created",
        "payload": [
          {
            "name": "id",
            "type": "Integer",
            "selector": [
              "id"
            ],
            "meta": {
              "description": "Unique identifier for the project."
            }
          },
          {
            "name": "name",
            "type": "String",
            "selector": [
              "name"
            ],
            "meta": {
              "description": "Name of the project."
            }
          },
          {
            "name": "workspace_id",
            "type": "Integer",
            "selector": [
              "workspace_id"
            ],
            "meta": {
              "description": "Workspace ID associated with the project."
            }
          },
          {
            "name": "is_private",
            "type": "Boolean",
            "selector": [
              "is_private"
            ],
            "meta": {
              "description": "Indicates if the project is private."
            }
          },
          {
            "name": "active",
            "type": "Boolean",
            "selector": [
              "active"
            ],
            "meta": {
              "description": "Indicates if the project is active."
            }
          }
        ]
      },
      {
        "event": "project_updated",
        "path": "/webhooks/toggl/project_updated",
        "payload": [
          {
            "name": "id",
            "type": "Integer",
            "selector": [
              "id"
            ],
            "meta": {
              "description": "Unique identifier for the project."
            }
          },
          {
            "name": "name",
            "type": "String",
            "selector": [
              "name"
            ],
            "meta": {
              "description": "Name of the project."
            }
          },
          {
            "name": "is_private",
            "type": "Boolean",
            "selector": [
              "is_private"
            ],
            "meta": {
              "description": "Indicates if the project is private."
            }
          },
          {
            "name": "active",
            "type": "Boolean",
            "selector": [
              "active"
            ],
            "meta": {
              "description": "Indicates if the project is active."
            }
          }
        ]
      },
      {
        "event": "project_deleted",
        "path": "/webhooks/toggl/project_deleted",
        "payload": [
          {
            "name": "id",
            "type": "Integer",
            "selector": [
              "id"
            ],
            "meta": {
              "description": "Unique identifier for the project."
            }
          }
        ]
      }
    ]
  },
  {
    "handle": "workspaces",
    "meta": {
      "short": "Workspaces",
      "description": "Manage workspaces in Toggl Track."
    },
    "endpoint": {
      "value": "/api/v9/workspaces"
    },
    "fields": [
      {
        "name": "id",
        "type": "Integer",
        "selector": [
          "id"
        ],
        "meta": {
          "description": "Unique identifier for the workspace."
        }
      },
      {
        "name": "name",
        "type": "String",
        "selector": [
          "name"
        ],
        "meta": {
          "description": "Name of the workspace."
        }
      },
      {
        "name": "premium",
        "type": "Boolean",
        "selector": [
          "premium"
        ],
        "meta": {
          "description": "Indicates if the workspace is premium."
        }
      },
      {
        "name": "admin",
        "type": "Boolean",
        "selector": [
          "admin"
        ],
        "meta": {
          "description": "Indicates if the user is an admin of the workspace."
        }
      }
    ],
    "operations": {
      "list": {
        "method": "GET",
        "path": {
          "value": ""
        },
        "headers": {
          "Content-Type": "application/json"
        }
      },
      "read": {
        "method": "GET",
        "path": {
          "value": "/{{id}}"
        },
        "headers": {
          "Content-Type": "application/json"
        }
      }
    },
    "webhooks": [
      {
        "event": "workspace_created",
        "path": "/webhooks/toggl/workspace_created",
        "payload": [
          {
            "name": "id",
            "type": "Integer",
            "selector": [
              "id"
            ],
            "meta": {
              "description": "Unique identifier for the workspace."
            }
          },
          {
            "name": "name",
            "type": "String",
            "selector": [
              "name"
            ],
            "meta": {
              "description": "Name of the workspace."
            }
          },
          {
            "name": "premium",
            "type": "Boolean",
            "selector": [
              "premium"
            ],
            "meta": {
              "description": "Indicates if the workspace is premium."
            }
          },
          {
            "name": "admin",
            "type": "Boolean",
            "selector": [
              "admin"
            ],
            "meta": {
              "description": "Indicates if the user is an admin of the workspace."
            }
          }
        ]
      }
    ]
  },
  {
    "handle": "clients",
    "meta": {
      "short": "Clients",
      "description": "Manage clients in Toggl Track."
    },
    "endpoint": {
      "value": "/api/v9/workspaces/{{workspace_id}}/clients"
    },
    "fields": [
      {
        "name": "id",
        "type": "Integer",
        "selector": [
          "id"
        ],
        "meta": {
          "description": "Unique identifier for the client."
        }
      },
      {
        "name": "name",
        "type": "String",
        "selector": [
          "name"
        ],
        "meta": {
          "description": "Name of the client."
        }
      },
      {
        "name": "workspace_id",
        "type": "Integer",
        "selector": [
          "workspace_id"
        ],
        "meta": {
          "description": "Workspace ID."
        }
      },
      {
        "name": "notes",
        "type": "String",
        "selector": [
          "notes"
        ],
        "meta": {
          "description": "Notes for the client."
        }
      }
    ],
    "operations": {
      "list": {
        "method": "GET",
        "path": {
          "value": ""
        },
        "headers": {
          "Content-Type": "application/json"
        }
      },
      "read": {
        "method": "GET",
        "path": {
          "value": "/{{id}}"
        },
        "headers": {
          "Content-Type": "application/json"
        }
      },
      "create": {
        "method": "POST",
        "path": {
          "value": ""
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "bodyTemplate": {
          "value": "{\"client\":{\"name\":\"{{name}}\",\"notes\":\"{{notes}}\"}}"
        }
      },
      "update": {
        "method": "PUT",
        "path": {
          "value": "/{{id}}"
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "bodyTemplate": {
          "value": "{\"client\":{\"name\":\"{{name}}\",\"notes\":\"{{notes}}\"}}"
        }
      },
      "delete": {
        "method": "DELETE",
        "path": {
          "value": "/{{id}}"
        },
        "headers": {
          "Content-Type": "application/json"
        }
      }
    }
  },
  {
    "handle": "tasks",
    "meta": {
      "short": "Tasks",
      "description": "Manage tasks in Toggl Track."
    },
    "endpoint": {
      "value": "/api/v9/workspaces/{{workspace_id}}/projects/{{project_id}}/tasks"
    },
    "fields": [
      {
        "name": "id",
        "type": "Integer",
        "selector": [
          "id"
        ],
        "meta": {
          "description": "Unique identifier for the task."
        }
      },
      {
        "name": "name",
        "type": "String",
        "selector": [
          "name"
        ],
        "meta": {
          "description": "Name of the task."
        }
      },
      {
        "name": "project_id",
        "type": "Integer",
        "selector": [
          "project_id"
        ],
        "meta": {
          "description": "Project ID."
        }
      },
      {
        "name": "workspace_id",
        "type": "Integer",
        "selector": [
          "workspace_id"
        ],
        "meta": {
          "description": "Workspace ID."
        }
      },
      {
        "name": "active",
        "type": "Boolean",
        "selector": [
          "active"
        ],
        "meta": {
          "description": "Is active."
        }
      },
      {
        "name": "estimated_seconds",
        "type": "Integer",
        "selector": [
          "estimated_seconds"
        ],
        "meta": {
          "description": "Estimated seconds."
        }
      }
    ],
    "operations": {
      "list": {
        "method": "GET",
        "path": {
          "value": ""
        },
        "headers": {
          "Content-Type": "application/json"
        }
      },
      "read": {
        "method": "GET",
        "path": {
          "value": "/{{id}}"
        },
        "headers": {
          "Content-Type": "application/json"
        }
      },
      "create": {
        "method": "POST",
        "path": {
          "value": ""
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "bodyTemplate": {
          "value": "{\"name\":\"{{name}}\",\"active\":{{active}},\"estimated_seconds\":{{estimated_seconds}}}"
        }
      },
      "update": {
        "method": "PUT",
        "path": {
          "value": "/{{id}}"
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "bodyTemplate": {
          "value": "{\"name\":\"{{name}}\",\"active\":{{active}},\"estimated_seconds\":{{estimated_seconds}}}"
        }
      },
      "delete": {
        "method": "DELETE",
        "path": {
          "value": "/{{id}}"
        },
        "headers": {
          "Content-Type": "application/json"
        }
      }
    }
  },
  {
    "handle": "tags",
    "meta": {
      "short": "Tags",
      "description": "Manage tags in Toggl Track."
    },
    "endpoint": {
      "value": "/api/v9/workspaces/{{workspace_id}}/tags"
    },
    "fields": [
      {
        "name": "id",
        "type": "Integer",
        "selector": [
          "id"
        ],
        "meta": {
          "description": "Unique identifier for the tag."
        }
      },
      {
        "name": "name",
        "type": "String",
        "selector": [
          "name"
        ],
        "meta": {
          "description": "Name of the tag."
        }
      },
      {
        "name": "workspace_id",
        "type": "Integer",
        "selector": [
          "workspace_id"
        ],
        "meta": {
          "description": "Workspace ID."
        }
      }
    ],
    "operations": {
      "list": {
        "method": "GET",
        "path": {
          "value": ""
        },
        "headers": {
          "Content-Type": "application/json"
        }
      },
      "read": {
        "method": "GET",
        "path": {
          "value": "/{{id}}"
        },
        "headers": {
          "Content-Type": "application/json"
        }
      },
      "create": {
        "method": "POST",
        "path": {
          "value": ""
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "bodyTemplate": {
          "value": "{\"name\":\"{{name}}\"}"
        }
      },
      "update": {
        "method": "PUT",
        "path": {
          "value": "/{{id}}"
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "bodyTemplate": {
          "value": "{\"name\":\"{{name}}\"}"
        }
      },
      "delete": {
        "method": "DELETE",
        "path": {
          "value": "/{{id}}"
        },
        "headers": {
          "Content-Type": "application/json"
        }
      }
    }
  },
  {
    "handle": "project_users",
    "meta": {
      "short": "Project Users",
      "description": "Manage project users in Toggl Track."
    },
    "endpoint": {
      "value": "/api/v9/workspaces/{{workspace_id}}/projects/{{project_id}}/project_users"
    },
    "fields": [
      {
        "name": "id",
        "type": "Integer",
        "selector": [
          "id"
        ],
        "meta": {
          "description": "Unique identifier for the project user."
        }
      },
      {
        "name": "project_id",
        "type": "Integer",
        "selector": [
          "project_id"
        ],
        "meta": {
          "description": "Project ID."
        }
      },
      {
        "name": "user_id",
        "type": "Integer",
        "selector": [
          "user_id"
        ],
        "meta": {
          "description": "User ID."
        }
      },
      {
        "name": "rate",
        "type": "Float",
        "selector": [
          "rate"
        ],
        "meta": {
          "description": "Hourly rate."
        }
      }
    ],
    "operations": {
      "list": {
        "method": "GET",
        "path": {
          "value": ""
        },
        "headers": {
          "Content-Type": "application/json"
        }
      },
      "read": {
        "method": "GET",
        "path": {
          "value": "/{{id}}"
        },
        "headers": {
          "Content-Type": "application/json"
        }
      },
      "create": {
        "method": "POST",
        "path": {
          "value": ""
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "bodyTemplate": {
          "value": "{\"user_id\":{{user_id}},\"rate\":{{rate}}}"
        }
      },
      "update": {
        "method": "PUT",
        "path": {
          "value": "/{{id}}"
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "bodyTemplate": {
          "value": "{\"rate\":{{rate}}}"
        }
      },
      "delete": {
        "method": "DELETE",
        "path": {
          "value": "/{{id}}"
        },
        "headers": {
          "Content-Type": "application/json"
        }
      }
    }
  },
  {
    "handle": "workspace_users",
    "meta": {
      "short": "Workspace Users",
      "description": "Manage workspace users in Toggl Track."
    },
    "endpoint": {
      "value": "/api/v9/workspaces/{{workspace_id}}/workspace_users"
    },
    "fields": [
      {
        "name": "id",
        "type": "Integer",
        "selector": [
          "id"
        ],
        "meta": {
          "description": "Unique identifier for the workspace user."
        }
      },
      {
        "name": "workspace_id",
        "type": "Integer",
        "selector": [
          "workspace_id"
        ],
        "meta": {
          "description": "Workspace ID."
        }
      },
      {
        "name": "user_id",
        "type": "Integer",
        "selector": [
          "user_id"
        ],
        "meta": {
          "description": "User ID."
        }
      },
      {
        "name": "admin",
        "type": "Boolean",
        "selector": [
          "admin"
        ],
        "meta": {
          "description": "Is admin."
        }
      },
      {
        "name": "active",
        "type": "Boolean",
        "selector": [
          "active"
        ],
        "meta": {
          "description": "Is active."
        }
      }
    ],
    "operations": {
      "list": {
        "method": "GET",
        "path": {
          "value": ""
        },
        "headers": {
          "Content-Type": "application/json"
        }
      },
      "read": {
        "method": "GET",
        "path": {
          "value": "/{{id}}"
        },
        "headers": {
          "Content-Type": "application/json"
        }
      },
      "update": {
        "method": "PUT",
        "path": {
          "value": "/{{id}}"
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "bodyTemplate": {
          "value": "{\"admin\":{{admin}}}"
        }
      },
      "delete": {
        "method": "DELETE",
        "path": {
          "value": "/{{id}}"
        },
        "headers": {
          "Content-Type": "application/json"
        }
      }
    }
  },
  {
    "handle": "user_invitations",
    "meta": {
      "short": "User Invitations",
      "description": "Manage user invitations in Toggl Track."
    },
    "endpoint": {
      "value": "/api/v9/workspaces/{{workspace_id}}/invitations"
    },
    "fields": [
      {
        "name": "id",
        "type": "Integer",
        "selector": [
          "id"
        ],
        "meta": {
          "description": "Unique identifier for the invitation."
        }
      },
      {
        "name": "email",
        "type": "String",
        "selector": [
          "email"
        ],
        "meta": {
          "description": "Email address."
        }
      },
      {
        "name": "workspace_id",
        "type": "Integer",
        "selector": [
          "workspace_id"
        ],
        "meta": {
          "description": "Workspace ID."
        }
      },
      {
        "name": "admin",
        "type": "Boolean",
        "selector": [
          "admin"
        ],
        "meta": {
          "description": "Is admin."
        }
      }
    ],
    "operations": {
      "list": {
        "method": "GET",
        "path": {
          "value": ""
        },
        "headers": {
          "Content-Type": "application/json"
        }
      },
      "create": {
        "method": "POST",
        "path": {
          "value": ""
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "bodyTemplate": {
          "value": "{\"email\":\"{{email}}\",\"admin\":{{admin}}}"
        }
      },
      "delete": {
        "method": "DELETE",
        "path": {
          "value": "/{{id}}"
        },
        "headers": {
          "Content-Type": "application/json"
        }
      }
    }
  },
  {
    "handle": "users",
    "meta": {
      "short": "Users (Me)",
      "description": "Manage user profile in Toggl Track."
    },
    "endpoint": {
      "value": "/api/v9/me"
    },
    "fields": [
      {
        "name": "id",
        "type": "Integer",
        "selector": [
          "id"
        ],
        "meta": {
          "description": "Unique identifier for the user."
        }
      },
      {
        "name": "email",
        "type": "String",
        "selector": [
          "email"
        ],
        "meta": {
          "description": "Email address."
        }
      },
      {
        "name": "fullname",
        "type": "String",
        "selector": [
          "fullname"
        ],
        "meta": {
          "description": "Full name."
        }
      },
      {
        "name": "timezone",
        "type": "String",
        "selector": [
          "timezone"
        ],
        "meta": {
          "description": "Timezone."
        }
      }
    ],
    "operations": {
      "read": {
        "method": "GET",
        "path": {
          "value": ""
        },
        "headers": {
          "Content-Type": "application/json"
        }
      },
      "update": {
        "method": "PUT",
        "path": {
          "value": ""
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "bodyTemplate": {
          "value": "{\"fullname\":\"{{fullname}}\",\"email\":\"{{email}}\",\"timezone\":\"{{timezone}}\"}"
        }
      }
    }
  }
]
```

<p align="center"><a class="button primary" data-icon="square-caret-right">Try @Human</a><a class="button primary" data-icon="check">Buy @Human Subscription</a><a class="button primary" data-icon="comments">Join @Human Community</a></p>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.planetcrust.com/human-connections/toggl-track/toggl-track.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
