Skip to main content

Authentication Overview

FileSpin supports three authentication methods. Choose the one that best fits your use case.

MethodHeaderBest For
API KeyX-FileSpin-Api-Key: {API_KEY}Server-to-server integration, backend services, scripts
JWT Bearer TokenAuthorization: Bearer {JWT}Web applications, single-page apps, interactive sessions

Choosing the Right Method

ConsiderationAPI KeyJWT
User interaction requiredNoYes (login)
Token lifetimeLong-lived24 hours
Scoped accessNo (full access)No (full access)
Refresh mechanismN/ARe-login
Best security modelServer-side onlyShort-lived, user-bound