Shape gradient

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
Copy
Coppied
1curl https://api.Lumino.com/v1/articles \ 
2  -H "Authorization: Bearer YOUR_API_KEY"

Authentication Errors

If your request fails authentication, the API will return a401 Unauthorizedstatus.
json
Copy
Coppied
1{
2   "error": "unauthorized",
3   "message": "Invalid API key provided.",
4   "code": 401
5}
Page BackgroundPage Background