Guides

JWT Authentication

Authenticate API requests using JSON Web Token

📘

Note that FileSpin JWT has a default expiry 24 hours. Web Applications should handle expiry by taking user through the login process again to obtain a new JWT.

Replace {JWT} with the token from Login API response

curl -H "Authorization: Bearer {JWT}"

JSON Web Token (JWT) is an open standard (RFC 7519) for secure communication. You can use FileSpin JWT to create rich Web applications such as such as reactjs apps that run inside the web browser. The entire FileSpin API is available for use opening up the possibility to create custom web interfaces that suit your business needs.

Send API request with JWT in request header like:-

Authorization: Bearer {JWT}

Where {JWT} should be replaced with the token obtained via Login API.