---
title: "Get timesheets"
method: GET
path: "/workspaces/{workspace_id}/timesheets"
tags: ["approvals", "workspaces"]
---

# Get timesheets

`GET /workspaces/{workspace_id}/timesheets`

## Request

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

Get timesheets applying various filters.

## Path parameters

- `workspace_id` integer, required

## Query parameters

- `member_ids` integer
- `approver_ids` integer
- `timesheet_setup_ids` integer
- `statuses` integer
- `before` integer
- `after` integer
- `page` integer
- `per_page` integer
- `sort_field` string
- `sort_order` string

## Response `200`

Successful operation.

- TimesheetsGetPaginatedResponse[]
  - `data` TimesheetsAPITimesheet[]
    - `approved_or_rejected_at` string
    - `approved_or_rejected_id` integer
    - `approved_or_rejected_name` string
    - `approver_id` integer
    - `approver_name` string
    - `end_date` string
    - `member_id` integer
    - `member_name` string
    - `period_editable` boolean
    - `period_end` string
    - `period_locked` boolean
    - `period_start` string
    - `periodicity` string
    - `rejection_comment` string
    - `reminder_day` string
    - `reminder_sent_at` string
    - `reminder_time` string
    - `start_date` string
    - `status` string
    - `submitted_at` string
    - `timesheet_setup_id` integer
    - `working_hours_in_minutes` integer
    - `workspace_id` integer
  - `page` integer
  - `per_page` integer
  - `total_count` integer

## Other responses

- `400`: Possible error messages: * Workspace not found * Invalid ID * Invalid date * Invalid status
- `402`: Approvals are a premium feature
- `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)
