Get a Geofence
client_id
string
required
The unique ID associated with your developer project.
ggeofence_id
string
required
oauth_token
string
required
The access token generated via your web application as described here.
v
string
required
The API version date as documented here
``200 200
object
meta
object
code
integer
Defaults to 0
requestId
string
notifications
array of objects
notifications
object
type
string
item
object
item object
response
object
geofence
object
geofence object
``400 400
curl --request GET \
--url https://api.foursquare.com/v2/apps/client_id/geofence/geofence_id \
--header 'accept: application/json'
{
"meta": {
"code": 200,
"requestId": "5cacda89f594df4b05c2444c"
},
"notifications": [
{
"type": "notificationTray",
"item": {
"unreadCount": 0
}
}
],
"response": {
"geofence": {
"type": "Venue",
"name": "au cheval",
"id": "5cacb43ed176e90025f69690",
"venueIds": [
"5c71d51689b06a002c6de87d"
],
"boundary": {
"radius": 120
},
"dwellTime": 2
}
}
}