Skip to main content

Working

GET Get working hours for organization user

https://focus.toggl.com/api/organizations/{organization_id}/workinghours/users/{user_id}

Returns working hours for organization user

curl  https://focus.toggl.com/api/organizations/{organization_id}/workinghours/users/{user_id} \
-H "Content-Type: application/json" \
-u <email>:<password>

Parameters

Path

nametyperequireddescription
organization_idintegertrueOrganization ID
user_idintegertrueUser ID

Response

200

NameTypeDescription
itemsArray of object-
items
NameTypeDescription
created_atstring-
external_entity_idinteger-
external_entity_typestring-
organization_idinteger-
starting_hoursnumber-
updated_atstring-
user_idinteger-
weekdayinteger-
working_hour_idinteger-
working_hoursnumber-

400

Invalid year

403

Forbidden

500

Internal Server Error

PUT Update working hours for the specified user

https://focus.toggl.com/api/organizations/{organization_id}/workinghours/users/{user_id}

Updates working hours for the specified user

curl -X PUT https://focus.toggl.com/api/organizations/{organization_id}/workinghours/users/{user_id} \
-H "Content-Type: application/json" \
-d '[\{"weekday":"integer","working_hour_id":"integer","working_hours":"number"\}]' \
-u <email>:<password>

Parameters

Path

nametyperequireddescription
organization_idintegertrueOrganization ID
user_idintegertrueUser ID

Body

NameTypeDescription
itemsArray of object-
items
NameTypeDescription
weekdayinteger-
working_hour_idinteger-
working_hoursnumber-

Response

200

NameTypeDescription
itemsArray of object-
items
NameTypeDescription
created_atstring-
external_entity_idinteger-
external_entity_typestring-
organization_idinteger-
starting_hoursnumber-
updated_atstring-
user_idinteger-
weekdayinteger-
working_hour_idinteger-
working_hoursnumber-

400

Invalid year

403

Forbidden

500

Internal Server Error

POST Create working hours for the specified user

https://focus.toggl.com/api/organizations/{organization_id}/workinghours/users/{user_id}

Creates working hours for the specified user

curl -X POST https://focus.toggl.com/api/organizations/{organization_id}/workinghours/users/{user_id} \
-H "Content-Type: application/json" \
-d '[\{"weekday":"integer","working_hours":"number"\}]' \
-u <email>:<password>

Parameters

Path

nametyperequireddescription
organization_idintegertrueOrganization ID
user_idintegertrueUser ID

Body

NameTypeDescription
itemsArray of object-
items
NameTypeDescription
weekdayinteger-
working_hoursnumber-

Response

200

NameTypeDescription
itemsArray of object-
items
NameTypeDescription
created_atstring-
external_entity_idinteger-
external_entity_typestring-
organization_idinteger-
starting_hoursnumber-
updated_atstring-
user_idinteger-
weekdayinteger-
working_hour_idinteger-
working_hoursnumber-

400

Invalid year

403

Forbidden

500

Internal Server Error

DELETE Delete working hours for the specified user

https://focus.toggl.com/api/organizations/{organization_id}/workinghours/users/{user_id}

Deletes working hours for the specified user

curl -X DELETE https://focus.toggl.com/api/organizations/{organization_id}/workinghours/users/{user_id} \
-H "Content-Type: application/json" \
-d '[\{\}]' \
-u <email>:<password>

Parameters

Path

nametyperequireddescription
organization_idintegertrueOrganization ID
user_idintegertrueUser ID

Body

NameTypeDescription
itemsArray of integer-

Response

204

No Content

400

Invalid year

403

Forbidden

500

Internal Server Error

GET Get working hours for organization resouce/ghost

https://focus.toggl.com/api/organizations/{organization_id}/{workspace_id}/workinghours/ghosts/{ghost_id}

Returns working hours for organization resource/ghost

curl  https://focus.toggl.com/api/organizations/{organization_id}/{workspace_id}/workinghours/ghosts/{ghost_id} \
-H "Content-Type: application/json" \
-u <email>:<password>

Parameters

Path

nametyperequireddescription
organization_idintegertrueOrganization ID
workspace_idintegertrueWorkspace ID
ghost_idintegertrueGhost ID

Response

200

NameTypeDescription
itemsArray of object-
items
NameTypeDescription
created_atstring-
external_entity_idinteger-
external_entity_typestring-
organization_idinteger-
starting_hoursnumber-
updated_atstring-
user_idinteger-
weekdayinteger-
working_hour_idinteger-
working_hoursnumber-

400

Invalid year

403

Forbidden

500

Internal Server Error

PUT Update working hours for the specified ghost

https://focus.toggl.com/api/organizations/{organization_id}/{workspace_id}/workinghours/ghosts/{ghost_id}

Updates working hours for the specified ghost

curl -X PUT https://focus.toggl.com/api/organizations/{organization_id}/{workspace_id}/workinghours/ghosts/{ghost_id} \
-H "Content-Type: application/json" \
-d '[\{"weekday":"integer","working_hour_id":"integer","working_hours":"number"\}]' \
-u <email>:<password>

Parameters

Path

nametyperequireddescription
organization_idintegertrueOrganization ID
workspace_idintegertrueWorkspace ID
ghost_idintegertrueGhost ID

Body

NameTypeDescription
itemsArray of object-
items
NameTypeDescription
weekdayinteger-
working_hour_idinteger-
working_hoursnumber-

Response

200

NameTypeDescription
itemsArray of object-
items
NameTypeDescription
created_atstring-
external_entity_idinteger-
external_entity_typestring-
organization_idinteger-
starting_hoursnumber-
updated_atstring-
user_idinteger-
weekdayinteger-
working_hour_idinteger-
working_hoursnumber-

400

Invalid year

403

Forbidden

500

Internal Server Error

POST Create working hours for the specified ghost

https://focus.toggl.com/api/organizations/{organization_id}/{workspace_id}/workinghours/ghosts/{ghost_id}

Creates working hours for the specified ghost

curl -X POST https://focus.toggl.com/api/organizations/{organization_id}/{workspace_id}/workinghours/ghosts/{ghost_id} \
-H "Content-Type: application/json" \
-d '[\{"weekday":"integer","working_hours":"number"\}]' \
-u <email>:<password>

Parameters

Path

nametyperequireddescription
organization_idintegertrueOrganization ID
workspace_idintegertrueWorkspace ID
ghost_idintegertrueGhost ID

Body

NameTypeDescription
itemsArray of object-
items
NameTypeDescription
weekdayinteger-
working_hoursnumber-

Response

200

NameTypeDescription
itemsArray of object-
items
NameTypeDescription
created_atstring-
external_entity_idinteger-
external_entity_typestring-
organization_idinteger-
starting_hoursnumber-
updated_atstring-
user_idinteger-
weekdayinteger-
working_hour_idinteger-
working_hoursnumber-

400

Invalid year

403

Forbidden

500

Internal Server Error

DELETE Delete working hours for the specified ghost

https://focus.toggl.com/api/organizations/{organization_id}/{workspace_id}/workinghours/ghosts/{ghost_id}

Deletes working hours for the specified ghost

curl -X DELETE https://focus.toggl.com/api/organizations/{organization_id}/{workspace_id}/workinghours/ghosts/{ghost_id} \
-H "Content-Type: application/json" \
-d '[\{\}]' \
-u <email>:<password>

Parameters

Path

nametyperequireddescription
organization_idintegertrueOrganization ID
workspace_idintegertrueWorkspace ID
ghost_idintegertrueGhost ID

Body

NameTypeDescription
itemsArray of integer-

Response

204

No Content

400

Invalid year

403

Forbidden

500

Internal Server Error

© 2026 Toggl. All rights reserved.