Skip to content

Groups

Groups are the ones you organize in the app (by site, department, customer, vehicle type). The API lets you read them: list, detail and the devices in each. Required permission: read_groups.

Field Type Notes
id string Stable group identifier: grp_ followed by 32 hex digits. Treat it as opaque.
name string Group name
device_count integer Devices in the group your account has access to
created_at, updated_at string ISO 8601 UTC

List of your groups, cursor-paginated.

Query Notes
limit 1–200, default 50 (out-of-range values are clamped)
cursor the meta.next_cursor value of the previous page
Finestra del terminale
curl "https://api.gpsitalia.com/api/v3/groups?limit=2" \
-H "X-API-Key: $GPSITALIA_API_KEY"
{
"data": [
{ "id": "grp_2b2ebfd1cbf048e881dac6fa5961719d", "name": "Nord", "device_count": 2, "created_at": "2026-11-18T09:00:00.000Z", "updated_at": "2026-11-18T09:00:00.000Z" },
{ "id": "grp_7c1d09a4e5f64b0c9d3a6e8f12ab34cd", "name": "Piattaforme", "device_count": 1, "created_at": "2026-11-18T09:05:00.000Z", "updated_at": "2026-11-18T09:05:00.000Z" }
],
"meta": { "pagination": { "limit": 2, "count": 2 }, "next_cursor": "grp_7c1d09a4e5f64b0c9d3a6e8f12ab34cd", "total": 3 }
}

For the next page repeat the request with cursor=<next_cursor>. When next_cursor is null you are done. total is the count of all your groups. The order is stable but carries no meaning (neither alphabetical nor by date): sort client-side if you need to.

One group. 404 NOT_FOUND if it does not exist or belongs to another customer (the two cases are indistinguishable); 400 BAD_REQUEST if the identifier is not shaped grp_….

The devices in the group, ordered by IMEI. Query: limit (1–200, default 50), offset.

{
"data": [
{ "imei": "352093081452312", "name": "Furgone 1", "plate": "AB123CD" },
{ "imei": "352093081452313", "name": "Furgone 2", "plate": null }
],
"meta": { "pagination": { "limit": 50, "offset": 0, "count": 2 }, "total": 2 }
}

For a device’s status and position use GET /api/v3/devices/{imei}. A device your account no longer has access to does not appear, even if it is still in the group.

Creating, renaming and deleting groups and moving devices is done in the app: via the API groups are read-only. There is no group filter on /api/v3/devices yet.