1. Create an Account
Sign up at stashfyle.com using your email or GitHub.
2. Get Your API Key
- Go to the API Keys page in your dashboard
- Click Create API Key
- Choose Secret Key for server-side use
- Copy your key—you won’t see it again!
Keep your secret key safe. Never expose it in client-side code or commit it to version control.
3. Upload Your First File
curl -X POST https://api.stashfyle.com/v1/upload \
-H "Authorization: Bearer sk_live_your_key_here" \
-F "file=@/path/to/photo.jpg"
4. View Your Files
Check your uploaded files in the Files dashboard, or list them via API:
curl https://api.stashfyle.com/v1/files \
-H "Authorization: Bearer sk_live_your_key_here"
What’s Next?