Get Segments for Location
GEThttps://a.klaviyo.com/api/locations/{id}/segments
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.
- Revision header
revision: 2026-10-15.prerequired- Scopes
locations:readsegments:read- Rate limits
- Burst:
10/sSteady:150/m
Path parameters
Query parameters
For more information please visit API overview
Page cursor
Default: 25. Min: 1. Max: 100.
Enter a whole number. Until you do, the example request uses the example value.
Headers
API endpoint revision (format: YYYY-MM-DD[.suffix])
2026-10-15.pre
Responses
200Success
Content type: application/vnd.api+json
Show 4 fields
Primary key that uniquely identifies this segment.
Show 5 fields
Name of the segment.
The segment's conditions, in the same format the segments API uses. Pass this back unchanged when creating a segment through
POST /api/segments.Date and time when the segment was created, in ISO 8601 format.
Date and time when the segment was last updated, in ISO 8601 format.
Date and time when this segment was linked to the location, in ISO 8601 format.
Show 1 field
4XXClient Error
Content type: application/vnd.api+json
5XXServer Error
Content type: application/vnd.api+json