Create Proximity Segment Definition
POSThttps://a.klaviyo.com/api/proximity-segment-definitions
Build a segment definition that targets profiles near a location.
Nothing is created or stored. Pass the returned name and definition to POST /api/segments, then link the result with POST /api/locations/{id}/relationships/segments.
The definition matches on the location's postal code and country, so a location missing either cannot produce one.
- Revision header
revision: 2026-10-15.prerequired- Scopes
locations:readsegments:read- Rate limits
- Burst:
10/sSteady:150/m
Query parameters
For more information please visit API overview
Headers
API endpoint revision (format: YYYY-MM-DD[.suffix])
2026-10-15.pre
Request body
Content type: application/vnd.api+jsonrequired
Show 3 fields
Responses
200Success
Content type: application/vnd.api+json
Show 4 fields
Identifier of the location this definition was seeded from.
Show 1 field
4XXClient Error
Content type: application/vnd.api+json
5XXServer Error
Content type: application/vnd.api+json