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

OpenAPI Spec

Options

Company Id
Your Public API Key / Site ID. See this article for more details.
Set Fields[geofence]
Enable to set the optional field Fields[geofence]
Fields[geofence]
For more information please visit https://developers.klaviyo.com/en/v2026-07-15/reference/api-overview#sparse-fieldsets
Set Page[cursor]
Enable to set the optional field Page[cursor]
Page[cursor]
For more information please visit https://developers.klaviyo.com/en/v2026-07-15/reference/api-overview#pagination
Set Page[size]
Enable to set the optional field Page[size]
Page[size]
Default: 20. Min: 1. Max: 100.
Set X Klaviyo API Filters
Enable to set the optional field X Klaviyo API Filters
X Klaviyo API Filters

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).

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

Specify how the response should be mapped to the table output. The following formats are available:

Structured Table: Returns a parsed table with data split into rows and columns.

  • Type:
  • Id: Primary key that uniquely identifies this geofence. Generated by the system.
  • Attributes:
  • Links:

Raw Response: Returns the raw response in a single row with the following columns:

  • body: Response body
  • status: HTTP status code

Input Ports

Icon
Configuration data.

Output Ports

Icon
Result of the request depending on the selected Result Format.
Icon
Configuration data (this is the same as the input port; it is provided as passthrough for sequentially chaining nodes to declutter your workflow connections).

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

  • No workflows found

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.