Initial Meraki API setup for learning

D3G7
New here

Initial Meraki API setup for learning

Hi all, I am new to APIs in general and am studying for the Devnet exam. I am going around in circles trying to get the Meraki api working.

 

1. The first step of the Meraki documentation and videos I have seen are to enable the api on the Meraki dashboard (https://dashboard.meraki.com/) using "Organization-->Settings". I don't see this option, there is a new webpage which doesn't have it and either does the old webpage. Can someone confirm if they can see it and then I can tell if it's something related to my login account.

 

2. I cannot get the Postman Meraki collection version 1 to import into Postman, I get a generic error and I opened a case with Postman.

 

3. Most introductory tutorials specify to use the X-Meraki-API-Key and this does not exist in the header section of the postman version I am using.

 

Any help is appreciated, thanks.

4 Replies 4
DarrenOC
Kind of a big deal
Kind of a big deal

Hi @D3G7 ,

 

Sounds like you don’t have full Admin rights.

 

Its definitely under Org > Settings

 

C6FF4D00-B397-4BC5-AB19-436CE4C2AD86.png

Darren OConnor | doconnor@resalire.co.uk
https://www.linkedin.com/in/darrenoconnor/

I'm not an employee of Cisco/Meraki. My posts are based on Meraki best practice and what has worked for me in the field.
DarrenOC
Kind of a big deal
Kind of a big deal

Dashboard API access at the bottom.

 

currently out walking the dogs so will have a look at 2 and 3 later

Darren OConnor | doconnor@resalire.co.uk
https://www.linkedin.com/in/darrenoconnor/

I'm not an employee of Cisco/Meraki. My posts are based on Meraki best practice and what has worked for me in the field.
Ryan_Miles
Meraki Employee
Meraki Employee

Are you trying to use postman for mac or windows? And you're getting it from here correct? In the past I've seen some weirdness with the run in postman button not working/importing the collection. I've found changing the URL to the direct link fixes it.

 

The postman collection uses the value {{apiKey}}. So, you can create a variable with that same name in your environment. The environment is shown in the upper right dropdown in postman. The collection will create an enviroment called Dashboard API v1 - Public DEMO. I originally created a copy of that long ago and gave it a custom name and I only use my custom version.

Ryan

If you found this post helpful, please give it Kudos. If my answer solves your problem please click Accept as Solution so others can benefit from it.
AutomationDude
Building a reputation

I made a course for API newbies if you wanna check it out:

https://go.boundlessdigital.com/meraki-api-with-python-course/registration

 

Get notified when there are additional replies to this discussion.