Loading...

GET /api/devices

The Plaspy device list shows which trackers the API user can see. If you are planning tomorrow’s delivery routes, you can use the names to let the team choose a vehicle in your application.

Each entry in devices has an id. Keep the selected vehicle’s identifier to look up its details or retrieve its last known location.

Request details

GET /api/devices

Request parameters

Send the request without path parameters, query parameters or a body.

Authentication required

Obtain an access token and send it in the Authorization header with the Bearer prefix.

Example request

For {api-host}, use the HTTPS host listed in the REST API reference. Replace the other values in braces with those for your integration.

GET /api/devices HTTP/1.1 Host: {api-host} Authorization: Bearer {token}

Response fields

If the user has no visible devices, devices is an empty list. This request does not return usage counters.

FieldTypePresenceDescription
successBooleanIn the responseBooleanIn the responsetrue indicates that the operation succeeded.
devicesObject arrayOn successObject arrayOn successDevices visible to the user named by the token.
errorStringOn errorStringOn errorReason given when the operation returns an error.

Device fields

FieldTypePresenceDescription
idStringIn the responseStringIn the responseTracker identifier. Use it as deviceId in requests for this device.
nameStringWhen availableStringWhen availableDevice name in Plaspy.
descriptionStringWhen availableStringWhen availableDescription saved in the device record.
minStringWhen availableStringWhen availablePhone number associated with the device.
tagsObjectWhen availableObjectWhen availableDevice tags as pairs of text keys and values.
expiresDate-timeWhen availableDate-timeWhen availableDevice expiry date and time.

Example HTTP 200 response

{ "success": true, "devices": [ { "id": "{deviceId}", "name": "{deviceName}", "description": "{description}", "min": "{phone}", "tags": { "{tagName}": "{tagValue}" }, "expires": "2030-01-15T12:00:00Z" } ] }

Errors

If the list returns HTTP 400, read the reason in error before repeating the request.

For HTTP 401, check the token and its expiry time. For HTTP 403, check whether the user can access the map. For HTTP 500, try again later.

Example error structure

{ "success": false, "error": "{error}" }
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:47:24