Geofencing
Set up and manage geofences for your trackable devices with the AirPinpoint API.
Beta Feature: Geofencing is currently in beta and available only for business users. Updated: 2025-01-09 - Added support for multiple airtags and devices in a geofence.
Geofencing
The Geofencing endpoints allow you to create, manage, and monitor geofences for your trackable devices.
List Geofences
Retrieve a list of all geofences.
Endpoint
GET /v1/geofences
Query Parameters
skip
: Number of items to skip (for pagination, default: 0)limit
: Maximum number of items to return (1-100, default: 20)trackable_id
: Optional ID to filter geofences for a specific trackable
Example Request
Example Response
Create a Geofence
Create a new geofence for multiple trackable devices of the same type.
Endpoint
POST /v1/geofences
Request Body
Example Request
Example Response
Delete a Geofence
Remove a geofence.
Endpoint
DELETE /v1/geofences/{geofence_id}
Example Request
Example Response
Limitations
- Geofencing is currently in beta and available only for business users
- Each user is limited to 10 geofences during the beta period
- All trackables in a geofence must be of the same type (airtag, device, or beacon)
- A trackable must have location data available before it can be added to a geofence
- Geofences require a name, latitude, longitude, and radius
- Multiple trackables can be added to a single geofence