Loading...

GET /api/groups/{groupId}

A device group brings trackers together under one name so you can work with them as a set. For example, you could put the vehicles on your northern delivery route in a group called “North deliveries”, filter the map to show those vehicles, or assign the group to a sub-user who needs to track them.

Use this request to check which vehicles belong to a saved group. Get its ID from the group list. The response includes the name, the description if one was saved, and the device IDs. You can use those IDs to check whether a van already belongs to “North deliveries” before you change the membership.

Request Details

GET /api/groups/{groupId}

The example identifiers are fictional. Use the identifiers returned by your account’s list for the resource you want to look up or change.

Request Parameters

Path parameters

ParameterTypeRequiredDescription
groupIdStringRequiredStringYesPublic identifier of the saved group. Copy the grp-… value from the group list.

Authentication Required

Send the access token in the Authorization: Bearer <token> header. See Authentication.

You need access to Groups. An administrator, including an administrator sub-user, can read the account’s groups. Other authorized users can read their own groups.

Example Request

GET /api/groups/{groupId} HTTP/1.1 Host: api.plaspy.com Authorization: Bearer {token}

Response Parameters

devices contains tracker IDs. creation and lastModified show when the group was created and last modified in the requesting user’s time zone.

FieldTypePresenceDescription
idStringAlwaysStringAlwaysPublic group ID with the grp- prefix.
nameStringAlwaysStringAlwaysName of the group or special access option.
descriptionStringWhen setStringWhen setGroup description, when set.
devicesString arrayAlwaysString arrayAlwaysIDs of the trackers assigned to the group.
creationDate-timeWhen setDate-timeWhen setCreation time in the requesting user’s time zone.
lastModifiedDate-timeWhen setDate-timeWhen setLast modification time in the requesting user’s time zone.
apiUsageIntegerAlwaysIntegerAlwaysUnits charged for this request.
apiDailyUsageIntegerAlwaysIntegerAlwaysDaily usage before the units for this request are added.

Example HTTP 200 response

{ "id": "grp-JkLmNZpQvW", "name": "City deliveries", "description": "City routes", "devices": [ "123456789012345" ], "creation": "2027-01-08T09:15:00", "lastModified": "2027-01-10T13:30:00", "apiUsage": 1, "apiDailyUsage": 24 }

Errors

FieldTypePresenceDescription
successBooleanDepends on the errorBooleanDepends on the errorIn the operation errors shown here, the value is false.
errorStringDepends on the errorStringDepends on the errorMessage explaining why the request was rejected.
  • HTTP 401 if a valid Bearer token is missing.
  • HTTP 400 if the ID is recognized but the group does not exist among those you can manage. HTTP 404 if the route or ID is unrecognized.
  • HTTP 403 if the user lacks the required permission. The reason appears in error.

Example error

{ "success": false, "error": "The group was not found." }
Index
Questions?

We answer all support request within 24 business hours approximately, If you have a question that needs an immediate resolution, please contact us by other way.

We answer you in business hours, as soon as possible. We are located in Bogotá, Colombia, time zone (GMT-5).

Last modification: 2026-11-30 11:00:09