Overview
YourX-API-KEY gives full access to your SlowNet account via the API.Treat it like a password: keep it secret, keep it safe.
Storing your API key
Locally (dev environment)
Use a.env file (with something like dotenv) so your key isn’t hard-coded in scripts.
✅ Never commit your.envto Git.
Add it to your.gitignore.
In CI/CD (GitHub Actions)
Store it as a secret in your repo settings under Settings → Secrets and variables → Actions. Then reference it in your workflow:Rotating your API key
If you think your key might have been leaked, you’ll want to rotate it:- Delete the old key (or use the dashboard’s rotate feature when available).
- Create a new one and update your
.envor CI/CD secrets.
Authentication
This endpoint requires an API key. You can retrieve an API key from your dashboard. Include it in theX-API-KEY header: