---
title: "Get workspace preferences"
method: POST
path: "/workspaces/{workspace_id}/preferences"
tags: ["preferences"]
---

# Get workspace preferences

`POST /workspaces/{workspace_id}/preferences`

## Request

- Base URL: `https://localhost:8080/api/v9`
- URL: `https://localhost:8080/api/v9/workspaces/{workspace_id}/preferences`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/toggl/apis/toggl-api/docs/workspaces/:workspace_id/preferences/post.ts> (a function with typed inputs; its response is checked against the schema)

Get the preferences for a given workspace.

## Path parameters

- `workspace_id` integer, required

## Request body

- ModelsWorkspacePreferences
  - `annual-master-campaign-2018` string: Legacy field
  - `hide_start_end_times` boolean: This workspace works with duration only time entries
  - `inc_tos_accepted_at` string: Time of acceptance of the terms of service
  - `inc_tos_accepted_by` integer: User ID who accepted the terms of service
  - `initial_pricing_plan` integer: Pricing plan ID
  - `january-2018-campaign` boolean: Legacy field
  - `master_signup` boolean: Legacy field
  - `report_locked_at` string: Date on which "Lock Time Entries" feature was enabled
  - `single_sign_on` boolean: Whether SSO is enabled for this workspace
  - `sso_requested_at` string: Date on which SSO was requested

## Response `200`

Successful operation.

- ModelsLogo
  - `logo` string

## Other responses

- `400`: Possible error messages: * Workspace not found * The field is not writable * Admin permissions required
- `403`: User does not have access to this resource.
- `500`: Internal Server Error

---

[API](https://skmtc.dev/toggl/apis/toggl-api.md) - [All operations](https://skmtc.dev/toggl/apis/toggl-api/llms.txt) - [OpenAPI document](https://skmtc.dev/toggl/apis/toggl-api/revisions/3085aee16990?raw)
