# Learn About the Geofences API

### **API Usage**

Learn about how to use the API including authentication, rate limits and more.

- [Authentication](https://docs.foursquare.com/developer/reference/v2-authentication)
- [Versioning](https://docs.foursquare.com/developer/reference/v2-versioning)
- [View All](https://docs.foursquare.com/developer/reference/geofence-api-usage)

# Endpoints

### **[Get a Geofence](https://docs.foursquare.com/developer/reference/get-a-geofence)**

Get a geofence referenced by its geofence_id.

### **[Get All Geofences](https://docs.foursquare.com/developer/reference/get-all-geofences)**

Gets all created geofences created within your FSQ Developer Project.

### **[Add a Geofence](https://docs.foursquare.com/developer/reference/add-a-geofence)**

Create the following types of geofences: Around a FSQ Venue, using a Custom Polygon, around a Lat/Long Coordinate.

### **[Add Bulk Geofences](https://docs.foursquare.com/developer/reference/add-bulk-geofences)**

Bulk add up to 1000 geofence objects at the same time.

### **[Update a Geofence](https://docs.foursquare.com/developer/reference/update-a-geofence)**

Update a geofence referenced by its geofenceId.

### **[Delete a Geofence](https://docs.foursquare.com/developer/reference/delete-a-geofence)**

Delete a geofence referenced by its geofenceId.

### **[Delete Bulk Geofences](https://docs.foursquare.com/developer/reference/delete-bulk-geofence)**

Bulk delete up to 100 geofences (by its geofenceId) at the same time.

### **[Clear All Geofences](https://docs.foursquare.com/developer/reference/clear-all-geofences)**

Clears all created geofences.
