---
title: "Get workspace time entry constraints"
method: GET
path: "/workspaces/{workspace_id}/time_entry_constraints"
tags: ["workspaces", "time_entry_constraints"]
---

# Get workspace time entry constraints

`GET /workspaces/{workspace_id}/time_entry_constraints`

## Request

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

Get the time entry constraints for a given workspace.

## Path parameters

- `workspace_id` integer, required

## Response `200`

Successful operation.

- ModelsTimeEntryConstraints
  - `description_present` boolean
  - `project_present` boolean
  - `tag_present` boolean
  - `task_present` boolean
  - `time_entry_constraints_enabled` boolean

## Other responses

- `400`: Workspace not found
- `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)
