---
title: "List restrictions"
method: POST
path: "/v3/time-entry-restriction/list"
tags: ["[v3] Time Entry Restriction"]
---

# List restrictions

`POST /v3/time-entry-restriction/list`

List all time entry restriction filtered by given params. An additional setting must be enabled for this endpoint to work - please contact support if you would like us to enable it.

## Request body

- object
  - `restrictionType` 'customPeriod'
  - `restrictedEntityType` 'group'
  - `restrictedEntityId` integer
  - `page` integer — default 1
  - `limit` number — default 10
  - `restrictionData` object — You have to specify restrictionType to set additional filters
    - `fromEndDate` string — only in ``customPeriod`` restrictionType
    - `toEndDate` string — only in ``customPeriod`` restrictionType

## Response `200`

OK

- object
  - `data` object[]
    - `id` integer
    - `restrictionType` string
    - `restrictedEntityType` string
    - `restrictedEntityId` integer
    - `rootGroupId` integer
    - `endDate` string
    - `getRestrictionApplyOffset` integer
  - `pagination` object
    - `page` integer
    - `limit` integer
    - `total` integer

## Other responses

- `403` — The authenticated OAuth2 access token or PAT does not contain any scope accepted by the endpoint.

---

[API](https://skmtc.net/timecamp/apis/timecamp-api.md) · [All operations](https://skmtc.net/timecamp/apis/timecamp-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/timecamp/timecamp-api/revisions/c7e9d1f9cf61/schema)
