Authentication

All FlashBox API endpoints support the JWT authentication protocol.

To start sending authenticated HTTP requests you will need to use your JWT authorization token which is sent to you.

Since you have a valid token you need to add it as an HTTP header to every HTTP request you send to the FlashBox API.

GET https://sandbox-api.flashbox.co/api/v2/<ENDPOINT> HTTP/1.1
Authorization: Bearer <JWT_TOKEN>
Host: sandbox-api.flashbox.co

Your JWT token will have a long expiration time, although that duration could be decreased in the future. Note that your token will not be expired until you request a new one.

Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9..........