Request Example

🚧

Special note about the ID

Note that the "id" is the "nodeId" often times this is the BLE Mac address of the end device, see example below.

var request = require("request");

var options = { method: 'GET',
  url: 'https://api.echolo.io/v1/device/CC:11:88:EE:11:DD',
  headers: 
   { token: 'token',
     'app-id': 'app-id' } };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
Language
Authorization
Header
Click Try It! to start a request and see the response here!