---
title: "Search time events across requests and customers"
method: GET
path: "/time-events"
tags: ["Time tracking"]
---

# Search time events across requests and customers

`GET /time-events`

## Request

- Base URL: `https://helpspot.example.com/api/v2`
- URL: `https://helpspot.example.com/api/v2/time-events`
- Auth: one of:
  - HTTP bearer
  - HTTP basic

## Query parameters

- `customer_id` string
- `email` string, email
- `first_name` string
- `last_name` string
- `open` boolean
- `status_id` integer
- `mailbox_id` integer
- `opened_via` integer
- `category_id` integer
- `urgent` boolean
- `assigned_staff_id` integer
- `opened_by_staff_id` integer
- `custom_fields[]` string[]
- `start_time` integer
- `end_time` integer
- `order_by` string
- `direction` 'asc' | 'desc'

## Response `200`

Time event resource. See the Time tracking guide.

- object
  - `data` TimeEventSearchResult[], required
    - `id` integer
    - `request_id` integer
    - `staff_id` integer
    - `duration_seconds` integer
    - `billable` boolean
    - `created_at` string, date-time, nullable
    - `description` string, nullable
    - `customer_id` string, nullable
    - `first_name` string, nullable
    - `last_name` string, nullable
    - `email` string, nullable
    - `work_date` string, date, nullable

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `405`: Method Not Allowed
- `406`: Not Acceptable
- `413`: Content Too Large
- `422`: Validation error
- `429`: Too Many Requests
- `500`: Internal Server Error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/helpspot/apis/helpspot-api-v2.md) · [All operations](https://skmtc.dev/helpspot/apis/helpspot-api-v2/llms.txt) · [OpenAPI document](https://skmtc.dev/helpspot/apis/helpspot-api-v2/revisions/794dac0002c0?raw)
