Allows to retrieve a specific device by its ID.
Last updated 2 months ago
GET /v2/projects/{PROJECT_ID}/devices/{DEVICE_ID} HTTP/1.1 Host: api.qubitro.com Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
OK
{ "success": true, "action": "get device", "status": 200, "message": "Device retrieved successfully.", "data": { "id": "string", "name": "string", "description": "string", "brand": "string", "model": "string", "avatar": "https://static.qubitro.com/portal/device/avatar/default.png", "last_seen": "0001-01-01T00:00:00Z", "tags": [ "string" ], "device_credentials": { "device_id": "string", "device_token": "string" }, "metadata": { "key": "value" } } }