Version: 1.0.0
Authentication API - Introduction
FileSpin supports three authentication methods:
- JWT Bearer Token - Obtain via
POST /api/v1/login, pass asAuthorization: Bearer <token>. Default expiry: 24 hours. - API Key - Pass as
X-FileSpin-Api-Keyheader. Recommended for server-to-server integration. - OAuth2 - Standard OAuth2 authorization code flow for third-party integrations.
Authentication
- HTTP: Bearer Auth
- API Key: ApiKeyAuth
JWT token obtained from POST /api/v1/login
Security Scheme Type: | http |
|---|---|
HTTP Authorization Scheme: | bearer |
Bearer format: | JWT |
API key for programmatic access
Security Scheme Type: | apiKey |
|---|---|
Header parameter name: | X-FileSpin-Api-Key |