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.
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 a specific trackable device.
Endpoint
POST /v1/trackables/{trackable_id}/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
- A trackable must have location data available before a geofence can be created for it
- Geofences require a name, latitude, longitude, and radius