post https://api.foursquare.com/v2/apps//geofences/add
Create the following types of geofences:
- Around a FSQ Venue
- Using a Custom Polygon
- Around a Lat/Long Coordinate
Response
Create the following types of geofences:
xxxxxxxxxx
curl --request POST \
--url https://api.foursquare.com/v2/apps/client_id/geofences/add \
--header 'accept: application/json'
xxxxxxxxxx
28}
{
"meta": {
"code": 200,
"requestId": "5caac6f5dd57977ccc9f0876"
},
"notifications": [
{
"type": "notificationTray",
"item": {
"unreadCount": 0
}
}
],
"response": {
"geofence": {
"type": "Venue",
"name": "My Deals and Offers",
"id": "5caac6f56e69af002502df37",
"venueIds": [
"3fd66200f964a520d0e41ee3"
],
"boundary": {
"radius": 100
},
"dwellTime": 2