All requests to the Snippex API must include a valid API key in the Authorization header.
Getting a key
- Sign in at snipex.dev/dashboard
- Click New key
- Give it a name and click Create
- Copy the full key — it’s only shown once
Keys are prefixed with snx_.
Using your key
Pass it as a Bearer token in every request:
Example:
Security best practices
Never expose your API key in client-side code, public repositories, or logs.
- Store keys in environment variables, not hardcoded in source code
- Use one key per application or environment (staging vs. production)
- Rotate keys immediately if you suspect they’ve been compromised — delete the old one from the dashboard and create a new one
- On the server side, pass requests through a backend proxy rather than calling Snippex directly from the browser
Errors