Stashy has two auth layers: Google OAuth for the web dashboard and API keys for programmatic access.Documentation Index
Fetch the complete documentation index at: https://docs.stashy.sh/llms.txt
Use this file to discover all available pages before exploring further.
Google OAuth
Users sign in at/ via Google. After login, the dashboard lets you manage API keys.
Setup
- Go to Google Cloud Console → Credentials
- Create an OAuth 2.0 Client ID (Web application)
- Set the authorized redirect URI to
{HOSTNAME}/auth/google/callback - Set
GOOGLE_CLIENT_IDandGOOGLE_CLIENT_SECRET
Domain Restrictions
Restrict sign-in to specific email domains:API Keys
All/v1/* endpoints require a Bearer token.
Generate a Key
Sign in to the dashboard and click “Create API Key”. The full key is shown once — store it securely.Usage
Management Endpoints
| Method | Path | Description |
|---|---|---|
POST | /auth/keys | Create a new API key |
GET | /auth/keys | List your API keys |
DELETE | /auth/keys/{id} | Revoke an API key |
File Access
Files are private by default — accessible only to logged-in users at/{id}. Use Publish to make a file public. See File Access for details.