Quick Start / Authentication
Every request needs the base URL and an API key.
Base URL
text
https://www.morphinglabs.com/api/v1The x-api-key header
Every request requires an x-api-key header carrying your site's API key.
http
x-api-key: ask_your_api_key_hereYou'll find your site's API key on its detail page in the dashboard.
Authentication errors
- 401 Unauthorized —
{"error":"Missing x-api-key header"}— nox-api-keyheader was sent. - 401 Unauthorized —
{"error":"Invalid API key"}— the key doesn't match any site.
Example request
bash
curl -H "x-api-key: ask_your_api_key_here" \
https://www.morphinglabs.com/api/v1/articles