1. Home
  2. API
  3. Import geofences from KML
  1. Home
  2. Fleet Management
  3. Import geofences from KML

Import geofences from KML

Using the Fleet Management API it’s possible to import geofences using KML data. This article will show you how.

POST /api/geofence
{
  "color": "string",
  "kml": "string",
}

Make sure the KML string is properly escaped, for example by using below converter:

https://www.freeformatter.com/json-escape.html

For now the following data types are supported:

  • LineString
  • Polygon
Updated on January 28, 2025

Related Articles

Leave a Comment