Skip to main content

SavedViews

GET List saved views

https://focus.toggl.com/api/workspaces/{workspace_id}/saved-views

Get all saved views for the authenticated user with optional filtering and ordering

curl  https://focus.toggl.com/api/workspaces/{workspace_id}/saved-views \
-H "Content-Type: application/json"

Parameters

Path

nametyperequireddescription
workspace_idintegertrueWorkspace ID

Query

nametyperequireddescription
namestringfalseFilter saved views by name (partial match)
typestringfalseFilter saved views by type
order_bystringfalseOrder by field

Response

200

NameTypeDescription
itemsArray of object-
items
NameTypeDescription
created_atstring-
deleted_atstring-
idinteger-
namestring-
paramsobject-
pinnedboolean-
toggl_user_idinteger-
typestring-
updated_atstring-
workspace_idinteger-
params

400

Bad Request

500

Internal Server Error

POST Create a new saved view

https://focus.toggl.com/api/workspaces/{workspace_id}/saved-views

Create a new saved view for the authenticated user

curl -X POST https://focus.toggl.com/api/workspaces/{workspace_id}/saved-views \
-H "Content-Type: application/json" \
-d '\{"name":"string","params":\{\},"pinned":"boolean","type":"string"\}'

Parameters

Path

nametyperequireddescription
workspace_idintegertrueWorkspace ID

Body

NameTypeDescription
namestring-
paramsobject-
pinnedboolean-
typestring-
params

Response

201

Created

400

Bad Request

500

Internal Server Error

GET Get a saved view

https://focus.toggl.com/api/workspaces/{workspace_id}/saved-views/{id}

Retrieve a single saved view by ID for the authenticated user

curl  https://focus.toggl.com/api/workspaces/{workspace_id}/saved-views/{id} \
-H "Content-Type: application/json"

Parameters

Path

nametyperequireddescription
workspace_idintegertrueWorkspace ID
idintegertrueSaved view ID

Response

200

NameTypeDescription
created_atstring-
deleted_atstring-
idinteger-
namestring-
paramsobject-
pinnedboolean-
toggl_user_idinteger-
typestring-
updated_atstring-
workspace_idinteger-
params

404

Not Found

500

Internal Server Error

DELETE Delete a saved view

https://focus.toggl.com/api/workspaces/{workspace_id}/saved-views/{id}

Delete an existing saved view for the authenticated user

curl -X DELETE https://focus.toggl.com/api/workspaces/{workspace_id}/saved-views/{id} \
-H "Content-Type: application/json"

Parameters

Path

nametyperequireddescription
workspace_idintegertrueWorkspace ID
idintegertrueSaved view ID

Response

204

No Content

404

Not Found

500

Internal Server Error

PATCH Update a saved view

https://focus.toggl.com/api/workspaces/{workspace_id}/saved-views/{id}

Update an existing saved view for the authenticated user

curl -X PATCH https://focus.toggl.com/api/workspaces/{workspace_id}/saved-views/{id} \
-H "Content-Type: application/json" \
-d '\{"name":"string","params":\{\},"pinned":"boolean","type":"string"\}'

Parameters

Path

nametyperequireddescription
workspace_idintegertrueWorkspace ID
idintegertrueSaved view ID

Body

NameTypeDescription
namestring-
paramsobject-
pinnedboolean-
typestring-
params

Response

200

NameTypeDescription
created_atstring-
deleted_atstring-
idinteger-
namestring-
paramsobject-
pinnedboolean-
toggl_user_idinteger-
typestring-
updated_atstring-
workspace_idinteger-
params

400

Bad Request

404

Not Found

500

Internal Server Error

© 2026 Toggl. All rights reserved.