API Key Authentication
API Keys provide a simple, long-lived credential for programmatic access. They are ideal when your backend service needs to call the FileSpin API without user interaction.
curl -H "X-FileSpin-Api-Key:{API_KEY}" \
https://app.filespin.io/api/v1/assets
Send API requests with the API Key in the HTTP header:
X-FileSpin-Api-Key:{API_KEY}
Where {API_KEY} should be replaced with your API Key.
When to use:
- Backend services and cron jobs
- Server-to-server integrations
- Scenarios where a user is not present and API key can be used securely
How to obtain: Get the API Key from the FileSpin Dashboard under Settings → API Keys.
tip
API Keys do not expire automatically, but can be revoked at any time from the Dashboard.