Configure API Key

Before you begin:

  • API key is required. In order to get your Cisco Meraki API key, you must first ensure that API access is enabled for your specific organization. It is a two-step process: enabling the feature globally, and then generating the key for your specific user profile. Refer to the Cisco Meraki Dashboard documentation

Enable API Access

Before a key can be generated, the Organization Administrator must allow API connections.

  1. Log into the Meraki Dashboard.

  2. Navigate to Organization > Configure > Settings.

  3. Scroll down to the Dashboard API access section.

  4. Check the box labeled Enable access to the Cisco Meraki Dashboard API.

  5. Click Save Changes.

Generate Your Personal API Key

API keys are tied to individual administrator accounts. If you have "Read-only" or "Full" admin rights, you can generate a key.

  1. In the top-right corner of the dashboard, click your account's email address.

  2. Select My Profile.

  3. Scroll down to the API access section.

  4. Click the Generate new API key button.

    Note: A pop-up appears with your hex-string key. Copy this immediately. For security reasons, Meraki never shows you this specific string again once you close the window.

  5. Click Done.

API Authentication

All API requests must be sent over HTTPS to api.meraki.com. To ensure your authentication is successful, verify the following technical requirements:

  • API Enabled: Must be checked in Organization > Settings.

  • HTTPS Only: Plain HTTP (Port 80) requests are rejected.

  • Request Header: "Authorization" : "Bearer " + api_key.