HomeGuidesAPI Reference
ChangelogHelp CenterCommunityContact Us
API Reference

Get Segment IDs for Location

🚧

This endpoint is in beta and subject to change.

A beta revision header (2026-10-15.pre) is required to use our beta APIs. Klaviyo APIs in beta are not intended for use in production. See our versioning and deprecation policy for more information.

Get the segments linked to a location.

A segment is linked to at most one physical location, so a location's segments are the ones that target it.

Segment details are read from the segments service and cached for five minutes, so a segment renamed moments ago may still report its old name.

Rate limits:
Burst: 10/s
Steady: 150/m

Scopes:
locations:read
segments:read

OpenAPI Spec

Path Params
string
required
Query Params
string

Page cursor

integer
1 to 100
Defaults to 25

Default: 25. Min: 1. Max: 100.

Headers
string
required
Defaults to 2026-10-15.pre

API endpoint revision (format: YYYY-MM-DD[.suffix])

Responses

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/vnd.api+json