---
title: "List saved segments for a user"
method: GET
path: "/users/{user_id}/saved_segments"
tags: ["Users"]
---

# List saved segments for a user

`GET /users/{user_id}/saved_segments`

## Request

- Base URL: `https://api.streamtime.net/v2`
- URL: `https://api.streamtime.net/v2/users/{user_id}/saved_segments`
- Auth: HTTP bearer

Returns saved segments visible to the specified user.

## Path parameters

- `user_id` integer, required

## Query parameters

- `saved_segment_type_ids` integer[]

## Response `200`

Saved segments fetched successfully.

- SavedSegment[]
  - `id` integer, nullable: Saved segment ID
  - `userId` integer: User ID who owns the segment
  - `savedSegmentType` SavedSegmentType: Type of a saved segment.
    - `id` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14: Saved Segment Type ID (1=Grouped Logged Time, 2=Jobs, 3=Logged Expenses, 4=Quotes, 5=Invoices, 6=Schedule, 7=WIP, 8=Billing, 9=Companies, 10=Contacts, 11=Users, 12=Logged Time, 13=Reporting, 14=Job Groups)
    - `name` string
  - `name` string: Segment name
  - `value` string: Segment value or query (serialized)

---

[API](https://skmtc.dev/streamtime/apis/public-api.md) · [All operations](https://skmtc.dev/streamtime/apis/public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/streamtime/apis/public-api/revisions/cda8d1405534?raw)
