By using the following link I have got the network id. Thanks to the community.
https://community.cisco.com/t5/mobility-discussions/meraki-dashboard-api-confusion/m-p/3458242?start...
I have been trying to implement the Meraki API using the following code in Jquery and display the data on the console. As soon as I try to see the console it gives me 404 error. I have double checked the API Key as well as the network id and the header request. Still getting error. Request to get help ASAP.
var settings = {
"async": true,
"crossDomain": true,
"url": "https://api.meraki.com/api/v0/networks/'networkid'/bluetoothClients?perPage=20",
"method": "GET",
"headers": {
"X-Cisco-Meraki-API-Key": ""
}
}
$.ajax(settings).done(function (response) {
console.log(response);
});