# API References

**URL:** https://community.toggl.com/c/tech-discussions/api/21.md?page=2

[Latest](https://community.toggl.com/latest.md) · [Categories](https://community.toggl.com/categories.md) · [Tags](https://community.toggl.com/tags.md)

**Page:** 3

---

## ["Workspaces" Endpoints - POST Create a new workspace](https://community.toggl.com/t/workspaces-endpoints-post-create-a-new-workspace/336)

<div class="topic-metadata">

**Author:** [@Support](https://community.toggl.com/u/Support)\
**Replies:** 0\
**Last updated:** [December 2, 2024, 12:19pm UTC](https://community.toggl.com/t/workspaces-endpoints-post-create-a-new-workspace/336 "2024-12-02T12:19:06Z")

</div>

https://api.track.toggl.com/api/v9/organizations/{organization\_id}/workspaces Create a workspace within an existing organization. cURL Go Ruby JavaScript Python Rust extern crate tokio;extern crate serde\_json;use req…

---

## [“Groups” Endpoints - DELETE Remove project group](https://community.toggl.com/t/groups-endpoints-delete-remove-project-group/335)

<div class="topic-metadata">

**Author:** [@Support](https://community.toggl.com/u/Support)\
**Replies:** 0\
**Last updated:** [December 2, 2024, 12:18pm UTC](https://community.toggl.com/t/groups-endpoints-delete-remove-project-group/335 "2024-12-02T12:18:03Z")

</div>

https://api.track.toggl.com/api/v9/workspaces/{workspace\_id}/project\_groups/{project\_group\_id} Remove project group for a given workspace. cURL Go Ruby JavaScript Python Rust extern crate tokio;extern crate serde\_jso…

---

## [“Groups” Endpoints - POST Adds group to project](https://community.toggl.com/t/groups-endpoints-post-adds-group-to-project/334)

<div class="topic-metadata">

**Author:** [@Support](https://community.toggl.com/u/Support)\
**Replies:** 0\
**Last updated:** [December 2, 2024, 12:17pm UTC](https://community.toggl.com/t/groups-endpoints-post-adds-group-to-project/334 "2024-12-02T12:17:31Z")

</div>

https://api.track.toggl.com/api/v9/workspaces/{workspace\_id}/project\_groups Adds group to project for given workspace. cURL Go Ruby JavaScript Python Rust extern crate tokio;extern crate serde\_json;use reqwest::{Clie…

---

## [“Groups” Endpoints - GET Get workspace project groups](https://community.toggl.com/t/groups-endpoints-get-get-workspace-project-groups/333)

<div class="topic-metadata">

**Author:** [@Support](https://community.toggl.com/u/Support)\
**Replies:** 0\
**Last updated:** [December 2, 2024, 12:16pm UTC](https://community.toggl.com/t/groups-endpoints-get-get-workspace-project-groups/333 "2024-12-02T12:16:30Z")

</div>

https://api.track.toggl.com/api/v9/workspaces/{workspace\_id}/project\_groups Get project groups for given workspace. cURL Go Ruby JavaScript Python Rust extern crate tokio;extern crate serde\_json;use reqwest::{Client}…

---

## [“Groups” Endpoints - GET List of groups in a workspace within an organization with user assignments](https://community.toggl.com/t/groups-endpoints-get-list-of-groups-in-a-workspace-within-an-organization-with-user-assignments/332)

<div class="topic-metadata">

**Author:** [@Support](https://community.toggl.com/u/Support)\
**Replies:** 0\
**Last updated:** [December 2, 2024, 12:15pm UTC](https://community.toggl.com/t/groups-endpoints-get-list-of-groups-in-a-workspace-within-an-organization-with-user-assignments/332 "2024-12-02T12:15:52Z")

</div>

https://api.track.toggl.com/api/v9/organizations/{organization\_id}/workspaces/{workspace\_id}/groups Returns list of groups in a workspace based on set of url parameters. List is sorted by name. cURL Go Ruby JavaScript …

---

## [“Groups” Endpoints - DELETE Deletes group](https://community.toggl.com/t/groups-endpoints-delete-deletes-group/330)

<div class="topic-metadata">

**Author:** [@Support](https://community.toggl.com/u/Support)\
**Replies:** 0\
**Last updated:** [December 2, 2024, 12:14pm UTC](https://community.toggl.com/t/groups-endpoints-delete-deletes-group/330 "2024-12-02T12:14:04Z")

</div>

https://api.track.toggl.com/api/v9/organizations/{organization\_id}/groups/{group\_id} Deletes a group from the specified organization cURL Go Ruby JavaScript Python Rust extern crate tokio;extern crate serde\_json;use …

---

## [“Groups” Endpoints - PUT Edit group](https://community.toggl.com/t/groups-endpoints-put-edit-group/329)

<div class="topic-metadata">

**Author:** [@Support](https://community.toggl.com/u/Support)\
**Replies:** 0\
**Last updated:** [December 2, 2024, 12:13pm UTC](https://community.toggl.com/t/groups-endpoints-put-edit-group/329 "2024-12-02T12:13:09Z")

</div>

https://api.track.toggl.com/api/v9/organizations/{organization\_id}/groups/{group\_id} Edits a group in the specified organization cURL Go Ruby JavaScript Python Rust extern crate tokio;extern crate serde\_json;use reqw…

---

## [“Groups” Endpoints - POST Create group](https://community.toggl.com/t/groups-endpoints-post-create-group/328)

<div class="topic-metadata">

**Author:** [@Support](https://community.toggl.com/u/Support)\
**Replies:** 0\
**Last updated:** [December 2, 2024, 12:12pm UTC](https://community.toggl.com/t/groups-endpoints-post-create-group/328 "2024-12-02T12:12:29Z")

</div>

https://api.track.toggl.com/api/v9/organizations/{organization\_id}/groups Creates a group in the specified organization cURL Go Ruby JavaScript Python Rust extern crate tokio;extern crate serde\_json;use reqwest::{Cli…

---

## ["Groups" Endpoints - GET List user groups in and organization with user and workspace assignments](https://community.toggl.com/t/groups-endpoints-get-list-user-groups-in-and-organization-with-user-and-workspace-assignments/327)

<div class="topic-metadata">

**Author:** [@Support](https://community.toggl.com/u/Support)\
**Replies:** 0\
**Last updated:** [December 2, 2024, 12:01pm UTC](https://community.toggl.com/t/groups-endpoints-get-list-user-groups-in-and-organization-with-user-and-workspace-assignments/327 "2024-12-02T12:01:09Z")

</div>

https://api.track.toggl.com/api/v9/organizations/{organization\_id}/groups Returns list of groups in organization based on set of url parameters. List is sorted by name. cURL Go Ruby JavaScript Python Rust extern crat…

---

## [“Invitations” Endpoints - POST Creates a new invitation for the user](https://community.toggl.com/t/invitations-endpoints-post-creates-a-new-invitation-for-the-user/326)

<div class="topic-metadata">

**Author:** [@Support](https://community.toggl.com/u/Support)\
**Replies:** 0\
**Last updated:** [December 2, 2024, 11:59am UTC](https://community.toggl.com/t/invitations-endpoints-post-creates-a-new-invitation-for-the-user/326 "2024-12-02T11:59:47Z")

</div>

https://api.track.toggl.com/api/v9/organizations/{organization\_id}/invitations Creates a new invitation for the user. cURL Go Ruby JavaScript Python Rust extern crate tokio;extern crate serde\_json;use reqwest::{Clien…

---

## [“Invitations” Endpoints - POST Rejects invitation](https://community.toggl.com/t/invitations-endpoints-post-rejects-invitation/325)

<div class="topic-metadata">

**Author:** [@Support](https://community.toggl.com/u/Support)\
**Replies:** 0\
**Last updated:** [December 2, 2024, 11:58am UTC](https://community.toggl.com/t/invitations-endpoints-post-rejects-invitation/325 "2024-12-02T11:58:27Z")

</div>

https://api.track.toggl.com/api/v9/organizations/invitations/{invitation\_code}/reject User connected with invitation is marked as deleted. cURL Go Ruby JavaScript Python Rust extern crate tokio;extern crate serde\_jso…

---

## ["Invitations" Endpoints - POST Accepts invitation](https://community.toggl.com/t/invitations-endpoints-post-accepts-invitation/324)

<div class="topic-metadata">

**Author:** [@Support](https://community.toggl.com/u/Support)\
**Replies:** 0\
**Last updated:** [December 2, 2024, 11:57am UTC](https://community.toggl.com/t/invitations-endpoints-post-accepts-invitation/324 "2024-12-02T11:57:39Z")

</div>

https://api.track.toggl.com/api/v9/organizations/invitations/{invitation\_code}/accept User connected with invitation is marked as joined, email is sent to the inviter. cURL Go Ruby JavaScript Python Rust extern crate…

---

## [“Organizations” Endpoint - PUT Change assignments of users within a workspace](https://community.toggl.com/t/organizations-endpoint-put-change-assignments-of-users-within-a-workspace/323)

<div class="topic-metadata">

**Author:** [@Support](https://community.toggl.com/u/Support)\
**Replies:** 0\
**Last updated:** [December 2, 2024, 11:56am UTC](https://community.toggl.com/t/organizations-endpoint-put-change-assignments-of-users-within-a-workspace/323 "2024-12-02T11:56:25Z")

</div>

https://api.track.toggl.com/api/v9/organizations/{organization\_id}/workspaces/{workspace\_id}/assignments Assign or remove users to/from a workspace or to/from groups belonging to said workspace. cURL Go Ruby JavaScrip…

---

## [“Organizations” Endpoint - GET Statistics for all workspaces in the organization](https://community.toggl.com/t/organizations-endpoint-get-statistics-for-all-workspaces-in-the-organization/322)

<div class="topic-metadata">

**Author:** [@Support](https://community.toggl.com/u/Support)\
**Replies:** 0\
**Last updated:** [December 2, 2024, 11:55am UTC](https://community.toggl.com/t/organizations-endpoint-get-statistics-for-all-workspaces-in-the-organization/322 "2024-12-02T11:55:40Z")

</div>

https://api.track.toggl.com/api/v9/organizations/{organization\_id}/workspaces/statistics Returns map indexed by workspace ID where each map element contains workspace admins list, members count and groups count. cURL G…

---

## [“Organizations” Endpoint - PUT Changes a single organization-user](https://community.toggl.com/t/organizations-endpoint-put-changes-a-single-organization-user/321)

<div class="topic-metadata">

**Author:** [@Support](https://community.toggl.com/u/Support)\
**Replies:** 0\
**Last updated:** [December 2, 2024, 11:54am UTC](https://community.toggl.com/t/organizations-endpoint-put-changes-a-single-organization-user/321 "2024-12-02T11:54:49Z")

</div>

https://api.track.toggl.com/api/v9/organizations/{organization\_id}/users/{organization\_user\_id} Changes a single organization-user. Can affect the following values: cURL Go Ruby JavaScript Python Rust extern crate to…

---

## [“Time entries” Endpoints - GET a time entry by ID](https://community.toggl.com/t/time-entries-endpoints-get-a-time-entry-by-id/184)

<div class="topic-metadata">

**Author:** [@Support](https://community.toggl.com/u/Support)\
**Replies:** 2\
**Last updated:** [November 28, 2024, 10:00am UTC](https://community.toggl.com/t/time-entries-endpoints-get-a-time-entry-by-id/184 "2024-11-28T10:00:00Z")

</div>

https://api.track.toggl.com/api/v9/me/time\_entries/{time\_entry\_id} Load time entry by ID that is accessible by the current user. cURL Go Ruby JavaScript Python Rust extern crate tokio;extern crate serde\_json;use reqw…

---

## [“Organizations” Endpoint - DELETE Leave an organization](https://community.toggl.com/t/organizations-endpoint-delete-leave-an-organization/203)

<div class="topic-metadata">

**Author:** [@Support](https://community.toggl.com/u/Support)\
**Replies:** 0\
**Last updated:** [November 22, 2024, 2:36pm UTC](https://community.toggl.com/t/organizations-endpoint-delete-leave-an-organization/203 "2024-11-22T14:36:20Z")

</div>

https://api.track.toggl.com/api/v9/organizations/{organization\_id}/users/leave Leaves organization, effectively delete user account in org and delete organization if it is last user cURL Go Ruby JavaScript Python Rust …

---

## [“Organizations” Endpoint - PATCH Bulk update users in an organization](https://community.toggl.com/t/organizations-endpoint-patch-bulk-update-users-in-an-organization/202)

<div class="topic-metadata">

**Author:** [@Support](https://community.toggl.com/u/Support)\
**Replies:** 0\
**Last updated:** [November 22, 2024, 2:31pm UTC](https://community.toggl.com/t/organizations-endpoint-patch-bulk-update-users-in-an-organization/202 "2024-11-22T14:31:25Z")

</div>

https://api.track.toggl.com/api/v9/organizations/{organization\_id}/users Apply changes in bulk to users in an organization (currently deletion only). cURL Go Ruby JavaScript Python Rust extern crate tokio;extern crat…

---

## [“Organizations” Endpoint - GET List of users in organization](https://community.toggl.com/t/organizations-endpoint-get-list-of-users-in-organization/201)

<div class="topic-metadata">

**Author:** [@Support](https://community.toggl.com/u/Support)\
**Replies:** 0\
**Last updated:** [November 22, 2024, 2:28pm UTC](https://community.toggl.com/t/organizations-endpoint-get-list-of-users-in-organization/201 "2024-11-22T14:28:34Z")

</div>

https://api.track.toggl.com/api/v9/organizations/{organization\_id}/users Returns list of users in organization based on set of url parameters: Result is paginated. Pagination params are returned in headers cURL Go Rub…

---

## [“Organizations” Endpoint - PUT Updates an existing organization](https://community.toggl.com/t/organizations-endpoint-put-updates-an-existing-organization/200)

<div class="topic-metadata">

**Author:** [@Support](https://community.toggl.com/u/Support)\
**Replies:** 0\
**Last updated:** [November 22, 2024, 2:27pm UTC](https://community.toggl.com/t/organizations-endpoint-put-updates-an-existing-organization/200 "2024-11-22T14:27:06Z")

</div>

https://api.track.toggl.com/api/v9/organizations/{organization\_id} Updates an existing organization cURL Go Ruby JavaScript Python Rust extern crate tokio;extern crate serde\_json;use reqwest::{Client};use reqwest::he…

---

## ["Organizations" Endpoint - POST Create a new organization](https://community.toggl.com/t/organizations-endpoint-post-create-a-new-organization/198)

<div class="topic-metadata">

**Author:** [@Support](https://community.toggl.com/u/Support)\
**Replies:** 0\
**Last updated:** [November 22, 2024, 2:22pm UTC](https://community.toggl.com/t/organizations-endpoint-post-create-a-new-organization/198 "2024-11-22T14:22:14Z")

</div>

https://api.track.toggl.com/api/v9/organizations Creates a new organization with a single workspace and assigns current user as the organization owner cURL Go Ruby JavaScript Python Rust extern crate tokio;extern cra…

---

## [“Time entries” Endpoints - PATCH Stop Time Entry](https://community.toggl.com/t/time-entries-endpoints-patch-stop-time-entry/189)

<div class="topic-metadata">

**Author:** [@Support](https://community.toggl.com/u/Support)\
**Replies:** 0\
**Last updated:** [November 21, 2024, 1:03pm UTC](https://community.toggl.com/t/time-entries-endpoints-patch-stop-time-entry/189 "2024-11-21T13:03:22Z")

</div>

https://api.track.toggl.com/api/v9/workspaces/{workspace\_id}/time\_entries/{time\_entry\_id}/stop Stops a workspace time entry. cURL Go Ruby JavaScript Python Rust extern crate tokio;extern crate serde\_json;use reqwest:…

---

## [“Time entries” Endpoints - DELETE Time Entries](https://community.toggl.com/t/time-entries-endpoints-delete-time-entries/188)

<div class="topic-metadata">

**Author:** [@Support](https://community.toggl.com/u/Support)\
**Replies:** 0\
**Last updated:** [November 21, 2024, 1:02pm UTC](https://community.toggl.com/t/time-entries-endpoints-delete-time-entries/188 "2024-11-21T13:02:26Z")

</div>

https://api.track.toggl.com/api/v9/workspaces/{workspace\_id}/time\_entries/{time\_entry\_id} Deletes a workspace time entry. cURL Go Ruby JavaScript Python Rust extern crate tokio;extern crate serde\_json;use reqwest::{C…

---

## [“Time entries” Endpoints - PUT Time Entries](https://community.toggl.com/t/time-entries-endpoints-put-time-entries/187)

<div class="topic-metadata">

**Author:** [@Support](https://community.toggl.com/u/Support)\
**Replies:** 0\
**Last updated:** [November 21, 2024, 1:00pm UTC](https://community.toggl.com/t/time-entries-endpoints-put-time-entries/187 "2024-11-21T13:00:59Z")

</div>

https://api.track.toggl.com/api/v9/workspaces/{workspace\_id}/time\_entries/{time\_entry\_id} Updates a workspace time entry. cURL Go Ruby JavaScript Python Rust extern crate tokio;extern crate serde\_json;use reqwest::{C…

---

## [“Time entries” Endpoints - PATCH Bulk editing time entries](https://community.toggl.com/t/time-entries-endpoints-patch-bulk-editing-time-entries/186)

<div class="topic-metadata">

**Author:** [@Support](https://community.toggl.com/u/Support)\
**Replies:** 0\
**Last updated:** [November 21, 2024, 12:59pm UTC](https://community.toggl.com/t/time-entries-endpoints-patch-bulk-editing-time-entries/186 "2024-11-21T12:59:48Z")

</div>

https://api.track.toggl.com/api/v9/workspaces/{workspace\_id}/time\_entries/{time\_entry\_ids} In short: RFC 6902 - JavaScript Object Notation (JSON) Patch and RFC 6901 - JavaScript Object Notation (JSON) Pointer with some …

---

## [“Time entries” Endpoints - POST Time Entries](https://community.toggl.com/t/time-entries-endpoints-post-time-entries/185)

<div class="topic-metadata">

**Author:** [@Support](https://community.toggl.com/u/Support)\
**Replies:** 0\
**Last updated:** [November 21, 2024, 12:58pm UTC](https://community.toggl.com/t/time-entries-endpoints-post-time-entries/185 "2024-11-21T12:58:00Z")

</div>

https://api.track.toggl.com/api/v9/workspaces/{workspace\_id}/time\_entries Creates a new workspace Time Entry. cURL Go Ruby JavaScript Python Rust extern crate tokio;extern crate serde\_json;use reqwest::{Client};use r…

---

## [“Time entries” Endpoints - GET current time entry](https://community.toggl.com/t/time-entries-endpoints-get-current-time-entry/183)

<div class="topic-metadata">

**Author:** [@Support](https://community.toggl.com/u/Support)\
**Replies:** 0\
**Last updated:** [November 21, 2024, 12:55pm UTC](https://community.toggl.com/t/time-entries-endpoints-get-current-time-entry/183 "2024-11-21T12:55:33Z")

</div>

https://api.track.toggl.com/api/v9/me/time\_entries/current Load running time entry for user ID. cURL Go Ruby JavaScript Python Rust extern crate tokio;extern crate serde\_json;use reqwest::{Client};use reqwest::header…

---

## [Authentication - POST ResetToken](https://community.toggl.com/t/authentication-post-resettoken/181)

<div class="topic-metadata">

**Author:** [@Support](https://community.toggl.com/u/Support)\
**Replies:** 0\
**Last updated:** [November 21, 2024, 12:52pm UTC](https://community.toggl.com/t/authentication-post-resettoken/181 "2024-11-21T12:52:13Z")

</div>

https://api.track.toggl.com/api/v9/me/reset\_token Resets API token for the current user. cURL Go Ruby JavaScript Python Rust extern crate tokio;extern crate serde\_json;use reqwest::{Client};use reqwest::header::{CONT…

---

## [“Preferences” Endpoints - POST update workspace preferences](https://community.toggl.com/t/preferences-endpoints-post-update-workspace-preferences/180)

<div class="topic-metadata">

**Author:** [@Support](https://community.toggl.com/u/Support)\
**Replies:** 0\
**Last updated:** [November 21, 2024, 12:49pm UTC](https://community.toggl.com/t/preferences-endpoints-post-update-workspace-preferences/180 "2024-11-21T12:49:31Z")

</div>

https://api.track.toggl.com/api/v9/workspaces/{workspace\_id}/preferences Update the preferences for a given workspace. cURL Go Ruby JavaScript Python Rust extern crate tokio;extern crate serde\_json;use reqwest::{Clie…

---

## [“Preferences” Endpoints - GET workspace preferences](https://community.toggl.com/t/preferences-endpoints-get-workspace-preferences/179)

<div class="topic-metadata">

**Author:** [@Support](https://community.toggl.com/u/Support)\
**Replies:** 0\
**Last updated:** [November 21, 2024, 12:46pm UTC](https://community.toggl.com/t/preferences-endpoints-get-workspace-preferences/179 "2024-11-21T12:46:07Z")

</div>

https://api.track.toggl.com/api/v9/workspaces/{workspace\_id}/preferences Get the preferences for a given workspace. cURL Go Ruby JavaScript Python Rust extern crate tokio;extern crate serde\_json;use reqwest::{Client}…

[Previous page](https://community.toggl.com/c/tech-discussions/api/21.md?page=1)

[Next page](https://community.toggl.com/c/tech-discussions/api/21.md?page=3)
