Skip to content

Get user geofences

GET
/users/id/geofences

Parameters

Path Parameters

id*

user id

Typestring
Required

Query Parameters

filter

JSON Filter object

Typestring

Responses

Request was successful
JSON
[
null
]

Samples

cURL
curl -X GET https://api.lightbug.cloud/api/users/id/geofences
JavaScript
fetch("https://api.lightbug.cloud/api/users/id/geofences")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("https://api.lightbug.cloud/api/users/id/geofences");
Python
import requests
response = requests.get("https://api.lightbug.cloud/api/users/id/geofences")
print(response.json())