Authentication
The Lumino API uses API keys to authenticate requests. You can view and manage your API keys in the Lumino Dashboard.
API Keys
Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.

Security Warning
Never commit your API keys to version control. Use environment variables to keep your secrets safe.
Bearer Token
Authentication is handled via theAuthorizationheader using the Bearer token scheme.
Bash

Coppied
curl https://api.Lumino.com/v1/articles \
-H "Authorization: Bearer YOUR_API_KEY"


Authentication Errors
If your request fails authentication, the API will return a401 Unauthorizedstatus.
json

Coppied
{
"error": "unauthorized",
"message": "Invalid API key provided.",
"code": 401
}

