Geofences
Geofence management
Fetch a list of Geofences
Without params, it returns a list of Geofences the user has access to
Parameters
allbooleanqueryCan only be used by admins or managers to fetch all entities
userIdintegerqueryStandard users can use this only with their own userId
deviceIdintegerqueryStandard users can use this only with _deviceId_s, they have access to
groupIdintegerqueryStandard users can use this only with _groupId_s, they have access to
refreshbooleanquerylimitintegerqueryLimit the number of returned results
offsetintegerqueryOffset for pagination
keywordstringquerySearch keyword filter
Response
OK
Unauthorized
Authorization
BasicAuthhttp (basic)ApiKeyhttp (bearer)Create a Geofence
Body
idinteger<int64>Unique identifier for the geofence
namestringHuman-readable name shown in lists and maps
descriptionstringDetails about the geofence for display in the UI
areastringGeofence area definition encoded as a WKT string
calendarIdinteger<int64>Calendar identifier limiting when the geofence is active
attributesobjectCustom key-value pairs for integrations or UI overrides
Response
Authorization
BasicAuthhttp (basic)ApiKeyhttp (bearer)Fetch a Geofence
Parameters
idintegerrequiredpathResponse
Authorization
BasicAuthhttp (basic)ApiKeyhttp (bearer)Update a Geofence
Body
idinteger<int64>Unique identifier for the geofence
namestringHuman-readable name shown in lists and maps
descriptionstringDetails about the geofence for display in the UI
areastringGeofence area definition encoded as a WKT string
calendarIdinteger<int64>Calendar identifier limiting when the geofence is active
attributesobjectCustom key-value pairs for integrations or UI overrides
Parameters
idintegerrequiredpathResponse
Authorization
BasicAuthhttp (basic)ApiKeyhttp (bearer)Delete a Geofence
Parameters
idintegerrequiredpathResponse
No Content
Unauthorized
Authorization
BasicAuthhttp (basic)ApiKeyhttp (bearer)