Loading...

GET /api/devices

The Net Domain Technologies 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. The list uses one unit from the user’s daily allowance, regardless of how many devices are returned.

FieldTypePresenceDescription
successBooleanIn the responseBooleanIn the responsetrue indicates that the operation succeeded.
devicesObject arrayOn successObject arrayOn successDevices visible to the user named by the token.
apiUsageIntegerOn successIntegerOn successUnits used by this request. The value is 1.
apiDailyUsageIntegerOn successIntegerOn successAPI units the user had used today before this request.
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 Net Domain Technologies.
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, "apiUsage": 1, "apiDailyUsage": 24, "devices": [ { "id": "{deviceId}", "name": "{deviceName}", "description": "{description}", "min": "{phone}", "tags": { "{tagName}": "{tagValue}" }, "expires": "2030-01-15T12:00:00Z" } ] }

Errors

If the user’s daily allowance is exhausted when the request starts, the API returns HTTP 400 with success set to false. Read the reason and reset time in error.

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": "Your user has reached its daily API request limit of 4000 requests (used 4000). The limit resets at 00:00 UTC." }
Index
Last modification: 2026-11-30 22:47:58