Retrieve a list of all the configured geofences of a device.
Successful operation
Bad request error
Unauthorized error
Forbidden error
Not found error
Internal server error
curl -i -X GET \ https://api-prod.surfsight.net/v2/devices/:imei/geofences \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "data": [
- {
- "lat": 32.0598671,
- "lon": 34.7827316,
- "radius": 200,
- "name": "My geofence 1",
- "id": 3
}
]
}