curl --request POST \
--url https://app.unitedlogistics.com.do/api/v1/pois \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"fleet_id": 1029,
"name": "Cliente Altice – Bávaro",
"description": "Punto de entrega cliente Altice zona este",
"geometry_type": "circle",
"latitude": 18.6792,
"longitude": -68.4014,
"geofence_radius_meters": 250,
"tags": [
"cliente",
"distribución-este"
]
}
'{
"data": {
"id": 481,
"org_id": "d87f7281-ea19-45cd-b6fd-d8eb9e310da1",
"fleet_id": 1029,
"name": "Cliente Altice – Bávaro",
"description": "Punto de entrega cliente Altice zona este",
"latitude": 18.6792,
"longitude": -68.4014,
"image_url": null,
"geometry_type": "circle",
"geofence_radius_meters": 250,
"polygon_coordinates": null,
"tags": [
"cliente",
"distribución-este"
],
"created_at": "2025-09-15T13:00:00.000Z",
"updated_at": "2026-04-22T18:45:11.221Z"
}
}{
"error": {
"code": "bad_request",
"message": "Invalid POI payload.",
"details": {
"fieldErrors": {
"geofence_radius_meters": [
"geofence_radius_meters es requerido para geocercas circulares"
]
}
}
}
}{
"error": {
"code": "unauthorized",
"message": "API key missing or invalid."
}
}{
"error": {
"code": "forbidden",
"message": "La flota no está asignada a tu organización."
}
}{
"error": {
"code": "not_found",
"message": "La flota especificada no existe."
}
}{
"error": {
"code": "too_many_requests",
"message": "Rate limit exceeded."
}
}Create a point of interest
Creates a circle (default) or polygon POI for your organization. The fleet must be owned by or assigned to your org. For circles, latitude, longitude and geofence_radius_meters (10-1000) are required. For polygons, polygon_coordinates with at least 3 [lat, lng] vertices is required; latitude/longitude will be set to the polygon centroid automatically.
curl --request POST \
--url https://app.unitedlogistics.com.do/api/v1/pois \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"fleet_id": 1029,
"name": "Cliente Altice – Bávaro",
"description": "Punto de entrega cliente Altice zona este",
"geometry_type": "circle",
"latitude": 18.6792,
"longitude": -68.4014,
"geofence_radius_meters": 250,
"tags": [
"cliente",
"distribución-este"
]
}
'{
"data": {
"id": 481,
"org_id": "d87f7281-ea19-45cd-b6fd-d8eb9e310da1",
"fleet_id": 1029,
"name": "Cliente Altice – Bávaro",
"description": "Punto de entrega cliente Altice zona este",
"latitude": 18.6792,
"longitude": -68.4014,
"image_url": null,
"geometry_type": "circle",
"geofence_radius_meters": 250,
"polygon_coordinates": null,
"tags": [
"cliente",
"distribución-este"
],
"created_at": "2025-09-15T13:00:00.000Z",
"updated_at": "2026-04-22T18:45:11.221Z"
}
}{
"error": {
"code": "bad_request",
"message": "Invalid POI payload.",
"details": {
"fieldErrors": {
"geofence_radius_meters": [
"geofence_radius_meters es requerido para geocercas circulares"
]
}
}
}
}{
"error": {
"code": "unauthorized",
"message": "API key missing or invalid."
}
}{
"error": {
"code": "forbidden",
"message": "La flota no está asignada a tu organización."
}
}{
"error": {
"code": "not_found",
"message": "La flota especificada no existe."
}
}{
"error": {
"code": "too_many_requests",
"message": "Rate limit exceeded."
}
}Authorizations
Authorization: Bearer ulk__. Cree la clave en Configuración → API.
Body
Fleet (provider account) this POI is scoped to.
1029
Human-readable name.
1 - 255"Cliente Altice – Bávaro"
Free-form description.
2000"Punto de entrega cliente Altice zona este"
Public image URL (typically Supabase storage poi-images bucket).
null
circle for radius-based geofences, polygon for arbitrary shapes.
circle, polygon "circle"
Required for circle. For polygon, derived from centroid if omitted.
-90 <= x <= 9018.6792
Required for circle. For polygon, derived from centroid if omitted.
-180 <= x <= 180-68.4014
Required for circle. 10–1000 meters. null for polygons.
10 <= x <= 1000250
Required for polygon. At least 3 [lat, lng] vertices; the polygon is closed automatically.
3 - 500 elementsShow child attributes
Show child attributes
[
[18.5012, -69.9305],
[18.5012, -69.929],
[18.5, -69.929],
[18.5, -69.9305]
]
User-defined tags for filtering and reports.
321 - 64["cliente", "distribución-este"]
Response
Created
Show child attributes
Show child attributes
