How to use API in powershell to fetch data from meraki dashboard

Vidya
Comes here often

How to use API in powershell to fetch data from meraki dashboard

Which url should I give in the powershell script,in  rest API call to get the data of Meraki dashboard

5 REPLIES 5
jdsilva
Kind of a big deal

Vidya
Comes here often

I have access to the dashboard , I have given a url something like

https://meraki.api.com/v0/organizations/organizationid/deviceStatuses

 

This url I gave in the code it worked ,

 

If I need to get the data of some other page in dashboard which url i should give , the url which is on top of the dashboard ? Or something else

jdsilva
Kind of a big deal

If you're making calls to the API you should always use api.meraki.com.

SoCalRacer
Kind of a big deal

The base URL should always be the same, but the rest of the URL would change depending on the API Endpoint/Call used not the page you are browsing the dashboard UI

SoCalRacer
Kind of a big deal

If you aren't too comfortable with the API or Powershell try using a Powershell module.

Get notified when there are additional replies to this discussion.