Skip to main content
GET
/
devices
/
{deviceId}
cURL
curl --request GET \
  --url https://api.electra.systems/v1/public/devices/{deviceId} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Device info retrieved",
  "data": {
    "name": "<string>",
    "alias": "<string>",
    "deviceId": "<string>",
    "description": "<string>",
    "type": "<string>",
    "status": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "meta": {
      "band": "<string>"
    },
    "privacy": "<string>",
    "installation": "<string>",
    "latestData": {
      "status": 1,
      "createdAt": "2023-11-07T05:31:56Z"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

deviceId
string
required

The device ID or alias

Response

Device info retrieved

message
string

Response message

Example:

"Device info retrieved"

data
object