Skip to main content

API key authentication

All Snipp API endpoints require authentication. Send your API key in the api-key header with every request.
api-key: YOUR_API_KEY

Example

curl -X GET "https://api.snipp.gg/users/@me" \
  -H "api-key: your-api-key-here"

Where to find your API key

  1. Sign in at snipp.gg.
  2. Go to Settings.
  3. Copy your API key from the API section.

Security best practices

  • Never expose your API key in client-side code or public repositories.
  • Use environment variables in production: process.env.SNIPP_API_KEY.
  • Rotate your key if you suspect it has been compromised.
  • Use keys with limited permissions when available. Some keys have upload access; others do not.

Error responses

StatusCause
401Missing api-key header
401Invalid or expired API key
403Account suspended or insufficient permissions