Use cases
Your fleet produces data every minute: where the vehicles are, when they enter a site, how many kilometres they travel. With the API you bring it where you already work — your back-office system, your transport system, the management dashboard — without retyping anything.
This page has two parts: what you can do today, with examples that were actually run, and what is coming, with no dates. Every example is also in the Postman collection: import it, paste your key and press Send.
Available today
Section titled “Available today”1. Customers and sites from your system become areas, with no duplicates
Section titled “1. Customers and sites from your system become areas, with no duplicates”What you get. Every customer, site or depot you already have on file also exists on the fleet map, always up to date. Nobody redraws them by hand and nobody creates them twice.
- For each site you call a single route with the code you already use in your system.
- If the area does not exist it is created, if it exists it is updated: you can rerun the sync every night.
- For many sites at once there is the GeoJSON import, with a dry run that saves nothing.
curl -X PUT "https://api.gpsitalia.com/api/v3/areas/by-external-id/SEDE-002" \ -H "X-API-Key: $GPSITALIA_API_KEY" -H "Content-Type: application/json" \ -d '{"name":"Sede cliente 002","type":"point","center":{"lat":45.47,"lng":9.2}}'{ "data": { "id": 658, "name": "Sede cliente 002", "color": "#3b82f6", "type": "point", "center": { "lat": 45.47, "lng": 9.2 }, "radius_m": 50, "buffer_m": null, "points": [], "external_id": "SEDE-002", "dwell_seconds": 0, "metrics": { "area_m2": 7854, "perimeter_m": 314, "length_m": null }, "bounds": { "south": 45.4695503, "west": 9.1993588, "north": 45.4704497, "east": 9.2006412 }, "created_at": "2026-11-18T00:56:40.808Z" }, "meta": { "upsert": "created" }}The first time it answers 201 with "upsert": "created"; later calls answer 200 with "updated". Routes: PUT /areas/by-external-id/{externalId}, GET /areas?external_id=, POST /areas/import.
2. Entering an area opens a job, leaving closes it
Section titled “2. Entering an area opens a job, leaving closes it”What you get. Arrival and departure times at a site, a customer or the depot land in your system on their own: no phone calls to the driver, no handwritten times.
- Create the area (case 1). With
dwell_secondsan entry only counts after a minimum stay, so driving past the gate opens nothing. - In the app open Automations, create a new automation that fires on entering or leaving the area and add the Webhook action. Without this rule nothing is delivered.
- Register your address under API & Webhooks: you will receive a signed
POSTwith typegeofence_entryorgeofence_exit.
If you would rather ask than be called, the same events can be read like this:
curl "https://api.gpsitalia.com/api/v3/events?type=geofence&limit=20" -H "X-API-Key: $GPSITALIA_API_KEY"{ "data": [ { "id": "3758", "type": "geofence", "message": "Furgone 1 è entrato in Deposito", "device_imei": "352093081452312", "data": { "event": "entry", "areaId": 656 }, "read": false, "occurred_at": "2026-11-18T00:44:40.027Z" } ], "meta": { "pagination": { "limit": 20, "offset": 0, "count": 1 } }}Routes and events: GET /events, GET /areas/{id}/events, GET /areas/{id}/contains; webhooks geofence_entry, geofence_exit — see Webhooks.
3. Your fleet inside your own system
Section titled “3. Your fleet inside your own system”What you get. Planners see where the vehicles are in the same program where they assign jobs, without opening another window.
- One call returns every device with its status (moving, parked, offline) and latest position.
- Repeat the call as often as you need, within the limits: 120 requests per minute.
- With groups you show each department only its own vehicles.
curl "https://api.gpsitalia.com/api/v3/devices?limit=50" -H "X-API-Key: $GPSITALIA_API_KEY"{ "data": [ { "id": "352093081452312", "imei": "352093081452312", "name": "Furgone 1", "plate": "AB123CD", "device_model": "FMC920", "odometer_km": null, "status": "parked", "ingest_profile": null, "groups": ["Nord"], "location": { "latitude": 45.4642, "longitude": 9.19, "speed_kmh": 0, "recorded_at": "2026-11-18T00:53:40.018Z" }, "updated_at": "2026-11-18T00:54:40.005Z" } ], "meta": { "pagination": { "limit": 50, "offset": 0, "count": 1 } }}Routes: GET /devices, GET /devices/{imei}, GET /devices/{imei}/location, GET /groups.
4. The vehicle nearest to an address
Section titled “4. The vehicle nearest to an address”What you get. When an urgent pickup or a call-out comes in, the system immediately suggests who to send.
curl "https://api.gpsitalia.com/api/v3/devices/nearest?lat=45.4642&lng=9.19&limit=3&max_km=50" -H "X-API-Key: $GPSITALIA_API_KEY"The response is the list of devices ordered by distance, with distance_km. Distance is straight-line ("distance": "straight_line_km"), not the road route.
5. Alerts in your own channels: messaging, tickets, control room
Section titled “5. Alerts in your own channels: messaging, tickets, control room”What you get. An overspeed, a tamper alert or movement outside working hours land where your team already looks, and can open a ticket on their own.
- In the app create an automation with the Webhook action for the alert you care about (speed, tamper, movement, prolonged stop, vehicle battery, RFID read, input value…).
- Your service receives the
POST, verifies the signature and forwards it wherever you want. - Alternatively read
GET /events: it contains every alert of the account, including those that do not go through an automation.
Every delivery is signed, is retried if your service does not answer, and may arrive more than once: discard duplicates using the event id. Details in Delivery & retries.
6. Mileage and routes for payroll, rental and maintenance
Section titled “6. Mileage and routes for payroll, rental and maintenance”What you get. Each vehicle’s odometer and the points travelled in a period, to use for expenses, rental invoicing or service schedules.
curl "https://api.gpsitalia.com/api/v3/devices/352093081452312/history?from=2026-11-17T00:00:00Z&to=2026-11-18T00:00:00Z&limit=1000" \ -H "X-API-Key: $GPSITALIA_API_KEY"Today: odometer_km in the device detail, position history (up to 1000 points per call, period depending on your plan) and the daily_km_threshold webhook when a vehicle exceeds a daily mileage threshold. Usage hours and ready-made trips are among the things coming.
7. The status of sent commands
Section titled “7. The status of sent commands”You can read a device’s command queue (GET /devices/{imei}/commands), for example to show that a lock was requested. It is read-only: commands to vehicles are sent from the app.
Try them with Postman
Section titled “Try them with Postman”The collection has one folder per case above, with requests in the right order, plus a folder with every route. It is generated from the API’s OpenAPI description, so it always matches what the server does.
- Create a key in the app, under Settings → Modules → API & Webhooks, with only the permissions you need. The key is shown once: copy it right away.
- In Postman import both files: collection and environment.
- Select the “GPS Italia API” environment and paste the key into the
api_keyvariable. Do not save it in the collection and do not share it. - Open a request and press Send. Start with the request that lists all devices with status and position.
In requests with an identifier (an IMEI, an area or group id) replace the sample value with one of yours: you will find it in the response of the corresponding list.
Trying webhooks
Section titled “Trying webhooks”- Prepare an
https://address that records incoming requests (a test service of yours). - In the app, under API & Webhooks, create the webhook with that address and copy the signing secret, shown once.
- Send the test event from the webhook detail: a
POSTwith"type": "ping"arrives. - Verify the signature over the raw body as described in Signature & security. In the app’s delivery log you see the outcome and can resend a failed delivery.
Coming
Section titled “Coming”These features are not available today. They are in progress or planned, with no date: do not build on them until they appear in the route documentation.
| What | What it is for |
|---|---|
| Usage hours | Working hours of platforms, forklifts and machinery, for rental and servicing |
| Trips and stops | Start, end, distance and duration of each trip, ready-made |
| Keys limited to groups or single devices, with expiry | A portal for your end customer who sees only their own vehicles. Today a key sees the whole fleet of the account: keep it on your server only and filter yourself. |
| Fleet positions “changed since” | Updating a map without downloading everything again |
| Estimated time of arrival by road | Telling the recipient when the vehicle arrives. Today you have entry into the area around the recipient and the straight-line distance. |
| Drivers and assignments | Knowing who drives which vehicle |
| More webhook events | Ignition on and off, device offline, power cut, SOS, without going through an automation |
| Webhooks managed with an API key | Creating and editing webhooks from your code. Today they are managed in the app. |
| Maintenance, fines, inspections, fuel, RFID | Bringing deadlines and costs into your systems |
| Group filter on the device list | Today: GET /groups/{id}/devices |