Get started in three steps
Make your first API call and upload a file.
Step 1: Get your API key
- Sign in at snipp.gg.
- Open Settings and find your API key.
- Copy the key and keep it secure. You use it in the
api-key header for every request.
Do not share your API key or commit it to version control. Use environment variables in production.
Step 2: Verify your setup
Test your API key by fetching your user data:
curl -X GET "https://api.snipp.gg/users/@me" \
-H "api-key: YOUR_API_KEY"
A successful response returns your user object with id, plus, enterprise, uploads, and other fields.
Step 3: Upload a file
Upload an image or video:
curl -X POST "https://api.snipp.gg/upload" \
-H "api-key: YOUR_API_KEY" \
-F "file=@/path/to/your/image.png"
The response includes a url field with the direct link to your uploaded file.
Next steps