---
title: "Lists all visible time bookings"
method: GET
path: "/time_bookings.json"
tags: ["Time bookings"]
---

# Lists all visible time bookings

`GET /time_bookings.json`

## Response `200`

time bookings found

- TimeBookingIndexResponse
  - `count` integer
  - `offset` integer
  - `limit` integer
  - `records` TimeBooking[]
    - `id` integer
    - `start` string, date-time
    - `stop` string, date-time
    - `time_log_id` integer
    - `time_entry_id` integer
    - `time_entry` TimeEntry
      - `id` integer
      - `author_id` integer
      - `user_id` integer
      - `project_id` integer, nullable
      - `issue_id` integer, nullable
      - `hours` string
      - `activity_id` integer
      - `comments` string, nullable
      - `spent_on` string, date
      - `tyear` integer
      - `tmonth` integer
      - `tweek` integer
      - `created_on` string, date-time
      - `updated_on` string, date-time
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `401` — missing or wrong api key
- `403` — insufficient permissions

## Changes

> 4 revisions in range; 1 could not be searched.

- **2017-07-21** (v1) `7805e8118edd` — 1 breaking
  - removed the media type `application/json` for the response with the status `200`

[Change history](https://skmtc.dev/hicknhack-software/apis/hourglass-api/changes/time_bookings.json/get.md)

---

[API](https://skmtc.dev/hicknhack-software/apis/hourglass-api.md) · [All operations](https://skmtc.dev/hicknhack-software/apis/hourglass-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hicknhack-software/hourglass-api/revisions/42cc6d20ab5d/schema)
