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
- 202
- 400
- 401
- 429
- 500
- 501
- 502
- 503
- 504
Accepted
Bad Request
Unauthorized
Too Many Requests
Internal Server Error
Not Implemented
Bad Gateway
Service Unavailable
Gateway Timeout