Skip to main content

Upload Geofences Async

POST 

/api/v1/geofences/upload

Upload geofences from a file (asynchronous).

This endpoint queues a background job to process geofence imports from various file formats:

  • GeoJSON (.geojson, .json) - Standard geospatial format
  • KML (.kml) - Google Earth format
  • GPX (.gpx) - GPS track format (converted to polygon buffers)

The file must first be uploaded using the storage API to get a file_id. All imported geofences can optionally be assigned to a group.

Returns a job ID to track the import progress.

Request

Responses

Accepted