HomeGuidesAPI Reference
ChangelogHelp CenterCommunityContact Us
API Reference

Get Client Geofences

Get all geofences in an account.

Returns a paginated list of all geofences for the specified company.
This is the GA API endpoint designed for mobile SDK consumption.
No authentication required.

Returns a maximum of 100 results per page (default 20).

This API supports filtering via header instead of query param. Provide
X-Klaviyo-API-Filters header to filter geofences. We don't use regular
query param filters here because lat and long are sensitive information.

Supported filters:

  • lat (equals) - Latitude coordinate for distance-based sorting
  • lng (equals) - Longitude coordinate for distance-based sorting

When both lat and lng are provided, geofences are returned sorted by
distance from the specified coordinates (closest first).

Example filter header:
X-Klaviyo-API-Filters: and(equals(lat,40.7128),equals(lng,-74.0060))

Rate limits:
Burst: 3/s
Steady: 60/m

Query Params
string
required

Your Public API Key / Site ID. See this article for more details.

fields[geofence]
array of strings
fields[geofence]
integer
1 to 100
Defaults to 20

Default: 20. Min: 1. Max: 100.

Headers
string

Supported filters:

  • lat (equals) - Latitude coordinate for distance-based sorting
  • lng (equals) - Longitude coordinate for distance-based sorting

When both lat and lng are provided, geofences are returned sorted by
distance from the specified coordinates (closest first).

string
required
Defaults to 2026-04-15

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

Responses

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