Meraki API key authentication header
Short answer
A Meraki dashboard API requests authenticate with the header X-Cisco-Meraki-API-Key set to the raw API key value.
Question
Key Takeaways
Meraki dashboard REST API authentication uses the custom header X-Cisco-Meraki-API-Key carrying the raw key value, not a Bearer token, a bare API-Key header, or X-Auth-Token. Option A wins because Meraki issues static organization-scoped keys instead of OAuth session tokens, so no Authorization scheme or token exchange applies. Confusing it with Catalyst Center's API-Key header or OpenStack's X-Auth-Token yields a 401 on every request.
Expert Analysis
Meraki API uses the X-Cisco-Meraki-API-Key header for authentication.
The header name is the whole of this decision: every HTTP request Meraki's dashboard REST API accepts must carry a key named exactly X-Cisco-Meraki-API-Key, with the raw key value as the header value. Option A, X-Cisco-Meraki-API-Key: KEY, reproduces that pairing verbatim, so it is the only form that authenticates a call such as GET /networks/{networkId}/devices against api.meraki.com/api/v1.
Option B, Authorization: Bearer TOKEN, is the standard OAuth 2.0 bearer scheme and is what a Cisco Catalyst Center or DNA Center controller session uses after a ticket exchange; Meraki's API key is not issued through an OAuth flow, so no Bearer prefix ever appears on a Meraki request. Option C, API-Key: KEY, is the header used by Cisco Catalyst Center's REST API for its own key-based authentication, which makes it a plausible-looking distractor for anyone mixing up the two Cisco controller platforms. Option D, X-Auth-Token: TOKEN, is the token header used by OpenStack services such as Keystone; Meraki returns no session token from a login call, so there is nothing to place behind X-Auth-Token.
A mechanism this question relies on but never states: the key is a static credential sent on every request rather than a short-lived token obtained from an authentication endpoint. With X-Cisco-Meraki-API-Key, a Python script using requests simply sets the header once and reuses it across pagination loops over https://api.meraki.com/api/v1, with no refresh step; the value is passed in the clear inside the header of each TLS-protected call, which is why Meraki scopes keys to an organization and lets administrators restrict them to read-only access. Contrast that with Authorization: Bearer TOKEN, where the token expires and must be re-acquired, or with X-Auth-Token, which exists only after a credentials exchange.
Two practical checks confirm A. First, the header name is case-insensitive in HTTP but the spelling X-Cisco-Meraki-API-Key is the documented literal; writing API-Key (option C) yields a 401 because Meraki never reads a bare API-Key header. Second, the value must be the key string itself with no scheme prefix — appending Bearer to a Meraki key, as option B's format implies, also produces a 401.
For a network automation build on this blueprint, that header is what gets placed in a device-level script alongside Netmiko or RESTCONF work: authenticate to Meraki with X-Cisco-Meraki-API-Key, pull inventory or configuration state, then act on IOS XE devices. The wrong header never reaches the resource, so identifying the correct one is the gating step for every subsequent API call in the solution.
Exam Strategy
When a question asks for an authentication header, name the platform first and recall its credential model: OAuth or ticket-based controllers use Authorization: Bearer, while static-key platforms use a vendor-specific header. Eliminate options whose scheme implies a token you never obtained — Meraki never issues a session token, so both Bearer TOKEN and X-Auth-Token are impossible before you even compare spellings. Finally, check the literal header string character by character, since near-misses like API-Key instead of X-Cisco-Meraki-API-Key are the usual distractors.
Related Analysis
Practice All 300-435 Questions
Access 150 questions with complete answers and detailed explanations.
View Full 300-435 Practice Test →