Skip to main content
All requests to the Snippex API must include a valid API key in the Authorization header.

Getting a key

  1. Sign in at snipex.dev/dashboard
  2. Click New key
  3. Give it a name and click Create
  4. 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