Skip to main content

Task-groups

GET Gets tasks in groups

https://focus.toggl.com/api/organizations/{organization_id}/workspaces/{workspace_id}/tasks/groups/{group}

Gets tasks in groups depending on name

curl  https://focus.toggl.com/api/organizations/{organization_id}/workspaces/{workspace_id}/tasks/groups/{group} \
-H "Content-Type: application/json" \
-u <email>:<password>

Parameters

Path

nametyperequireddescription
organization_idintegertrueorganization ID
workspace_idintegertrueworkspace ID
groupstringtruegroup name

Query

nametyperequireddescription
source[]stringfalsefilter by sources
prioritystringfalsefilter by priority
status_id[]integerfalsefilter by statuses
project_id[]integerfalsefilter by project IDs
client_id[]integerfalsefilter by client IDs
assignee_user_id[]integerfalsefilter by assignee user IDs
tag_id[]integerfalsefilter by tag IDs
team_id[]integerfalsefilter by team IDs (resolves to member user IDs)
group_id[]integerfalsefilter by group IDs
creator_id[]integerfalsefilter in by creator IDs
namestringfalsefilter in by task name
start_datestringfalsefilter tasks overlapping date range (start). Used with end_date to find tasks where task.start_date <= end_date AND task.end_date >= start_date
end_datestringfalsefilter tasks overlapping date range (end). Used with start_date to find tasks where task.start_date <= end_date AND task.end_date >= start_date
start_date_fromstringfalse[LEGACY] use start_date instead
start_date_tostringfalse[LEGACY] use start_date instead
end_date_fromstringfalse[LEGACY] use end_date instead
end_date_tostringfalse[LEGACY] use end_date instead
privatebooleanfalsefilter by project privacy (true for private, false for public)
exclude_emptybooleanfalsefilter groups with no tasks
include_ghostsbooleanfalseinclude ghost assignees in tasks, available for /users only
min_daysintegerfalsefilters tasks with a minimum number of days. based on start_date and end_date
pageintegerfalsepage number
per_pageintegerfalseresults per page
order_by[]stringfalseorder by

Response

200

Tasks grouped by type

NameTypeDescription
dataArray of object-
pageinteger-
per_pageinteger-
data
NameTypeDescription
idintegerThe ID of one of the entities: projects/users determined by Type.
tasksArray of objectThe tasks that belong to the group.
typestringType determines what kind of group this is, and what table to look for based on ID.
tasks
NameTypeDescription
assignee_ghost_idsArray of integer-
assignee_user_idsArray of integer-
clientobject-
colorstring-
created_atstring-
end_datestringWhen a task ends
estimated_minsintegerEstimated minutes of the task
idintegerThe task's ID
maskedbooleanMasked indicates the task belongs to a private project the user doesn't have access to. When true, sensitive fields (Name, Client) are nulled.
namestringName of the task
privateboolean-
projectobject-
project_idintegerProject ID fo the task
sourcestring-
start_datestringWhen a task starts
status_idintegerStatus ID of the task
weightintegerThe weight of a task in the timeline. This is not unique, and one or more tasks may have the same weight as long as their dates do not conflict.
client
NameTypeDescription
idinteger-
namestring-
project
NameTypeDescription
colorstring-
idinteger-
namestring-
permissionsArray of string-
privateboolean-
rateobject-
rate
NameTypeDescription
billableboolean-
currencystring-
end_atstring-
has_more_ratesboolean-
hourly_ratenumber-
project_colorstring-
project_created_atstring-
project_idinteger-
project_namestring-
project_rate_idinteger-
start_atstring-
workspace_rate_idinteger-

400

Invalid request

403

Insufficient permissions

500

Internal Server Error

PATCH Updates task groups and their entries' weights/parent group

https://focus.toggl.com/api/organizations/{organization_id}/workspaces/{workspace_id}/tasks/groups/{group}

Updates task groups and their entries' weights/parent group

curl -X PATCH https://focus.toggl.com/api/organizations/{organization_id}/workspaces/{workspace_id}/tasks/groups/{group} \
-H "Content-Type: application/json" \
-d '[\{"end_date":"string","id":"integer","op":"string","source_group_id":"integer","start_date":"string","target_group_id":"integer","weight":"integer"\}]' \
-u <email>:<password>

Parameters

Path

nametyperequireddescription
organization_idintegertrueorganization ID
workspace_idintegertrueworkspace ID
groupstringtruegroup type

Body

NameTypeDescription
itemsArray of object-
items
NameTypeDescription
end_datestring-
idinteger-
opstring-
source_group_idinteger-
start_datestring-
target_group_idinteger-
weightinteger-

Response

200

OK

400

Invalid request

403

Insufficient permissions

500

Internal Server Error

© 2026 Toggl. All rights reserved.