API keys
Lesson 13 of 20 · API.Micro
Identify the app that is calling, with a secret in a header.
"message": "Send your key in the X-API-Key header"
This version of the API only answers apps it knows. Without a key, every call returns 401.
Check yourself
Where should an API key go?
Do it in the browser: a real REST APIs tool, a short mission and instant feedback. No install.
Start this lesson — free