---
title: "Get Place Segments"
method: GET
path: "/places/v1/segments"
tags: ["Places"]
---

# Get Place Segments

`GET /places/v1/segments`

## Request

- Base URL: `https://v3.api.hypertrack.com`
- URL: `https://v3.api.hypertrack.com/places/v1/segments`
- Auth: one of:
  - HTTP basic
  - HTTP bearer
- TypeScript: <https://skmtc.dev/hypertrack/apis/hypertrack-api/docs/places/v1/segments/get.ts> (a function with typed inputs; its response is checked against the schema)

Fetch segments from the place metadata that are associated with all metadata

## Query parameters

- `segment` string, required
- `prefix` string, nullable

## Response `200`

Successful response

- GetPlaceSegmentsResponse
  - `segments` string[], required: Array of place segments associated with the account
  - `truncated` boolean, required: Flag indicating if segments are truncated

## Other responses

- `400`: Validation error
- `401`: Authentication error

---

[API](https://skmtc.dev/hypertrack/apis/hypertrack-api.md) - [All operations](https://skmtc.dev/hypertrack/apis/hypertrack-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hypertrack/apis/hypertrack-api/revisions/389326c4c9c8?raw)
