Skip to main content

Documentation Index

Fetch the complete documentation index at: https://stashfyle.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

1. Create an Account

Sign up at stashfyle.com using your email or GitHub.

2. Get Your API Key

  1. Go to the API Keys page in your dashboard
  2. Click Create API Key
  3. Choose Secret Key for server-side use
  4. 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?

Authentication

Learn about API key types and security best practices.

Upload Options

Explore folders, private files, and auto-expiring uploads.

Rate Limits

Understand request limits for your plan.

Error Handling

Handle errors gracefully in your application.