Skip to main content

Clients

GET List clients​

https://focus.toggl.com/api/workspaces/{workspace_id}/clients

Returns a list of clients based on the provided workspace ID and filter params.

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

Parameters​

Path​

nametyperequireddescription
workspace_idintegertrueworkspace ID

Query​

nametyperequireddescription
pageintegerfalsepage number
per_pageintegerfalseresults per page
order_by[]stringfalseorder by
namestringfalsefilter clients by their names

Response​

200​

NameTypeDescription
dataArray of object-
pageinteger-
per_pageinteger-
data​
NameTypeDescription
activeboolean-
created_atstring-
currencystring-
deleted_atstring-
idinteger-
namestring-
toggl_user_idinteger-
updated_atstring-
workspace_idinteger-

400​

Invalid request

500​

Internal Server Error

POST Create a new client​

https://focus.toggl.com/api/workspaces/{workspace_id}/clients

Creates a new client with the provided name and workspace ID.

curl -X POST https://focus.toggl.com/api/workspaces/{workspace_id}/clients \
-H "Content-Type: application/json" \
-d '\{"currency":"string","name":"string"\}' \
-u <email>:<password>

Parameters​

Path​

nametyperequireddescription
workspace_idintegertrueworkspace ID

Body​

NameTypeDescription
currencystringCurrency is the client's optional default display currency (ISO 4217). Omitted or null means the client falls back to the workspace currency. On update (PUT) it is set directly, so send it to set/keep it or null to clear.
namestring-

Response​

201​

Client created successfully

400​

Invalid request

500​

Internal Server Error

GET Get a client by ID​

https://focus.toggl.com/api/workspaces/{workspace_id}/clients/{client_id}

Returns a client by the provided ID.

curl  https://focus.toggl.com/api/workspaces/{workspace_id}/clients/{client_id} \
-H "Content-Type: application/json" \
-u <email>:<password>

Parameters​

Path​

nametyperequireddescription
workspace_idintegertrueworkspace ID
client_idintegertrueclient ID

Response​

200​

NameTypeDescription
activeboolean-
created_atstring-
currencystring-
deleted_atstring-
idinteger-
namestring-
toggl_user_idinteger-
updated_atstring-
workspace_idinteger-

400​

Invalid request

404​

Client does not exist

500​

Internal Server Error

PUT Update client​

https://focus.toggl.com/api/workspaces/{workspace_id}/clients/{client_id}

Update an existing client

curl -X PUT https://focus.toggl.com/api/workspaces/{workspace_id}/clients/{client_id} \
-H "Content-Type: application/json" \
-d '\{"currency":"string","name":"string"\}'

Parameters​

Path​

nametyperequireddescription
workspace_idintegertrueworkspace ID
client_idintegertrueClient ID

Body​

NameTypeDescription
currencystringCurrency is the client's optional default display currency (ISO 4217). Omitted or null means the client falls back to the workspace currency. On update (PUT) it is set directly, so send it to set/keep it or null to clear.
namestring-

Response​

204​

No Content

400​

Invalid request

404​

Client does not exist

500​

Internal Server Error

DELETE Delete a client by ID​

https://focus.toggl.com/api/workspaces/{workspace_id}/clients/{client_id}

Deletes a client by the provided ID.

curl -X DELETE https://focus.toggl.com/api/workspaces/{workspace_id}/clients/{client_id} \
-H "Content-Type: application/json" \
-u <email>:<password>

Parameters​

Path​

nametyperequireddescription
workspace_idintegertrueworkspace ID
client_idintegertrueclient ID

Response​

204​

No Content

400​

Invalid request

404​

Client does not exist

500​

Internal Server Error

PATCH Restore a client by ID​

https://focus.toggl.com/api/workspaces/{workspace_id}/clients/{client_id}/restore

Restores a client by the provided ID.

curl -X PATCH https://focus.toggl.com/api/workspaces/{workspace_id}/clients/{client_id}/restore \
-H "Content-Type: application/json" \
-u <email>:<password>

Parameters​

Path​

nametyperequireddescription
workspace_idintegertrueworkspace ID
client_idintegertrueclient ID

Response​

204​

No Content

400​

Invalid request

404​

Client does not exist

500​

Internal Server Error

© 2026 Toggl. All rights reserved.