Follow these instructions to get personal access to the API.
1. Log in to the Flume Customer Portal
First, click this link to go to the portal: Customer Portal
Log in using your username and password.
2. Generate your access tokens
Go to the Settings page, and scroll down to the bottom. Click on the "Generate API Client" button.
Your credentials should now be displayed. You can always access them again in the Settings page on the portal.
3. Authenticating with the API
Use your access token by passing it in a Bearer Authorization header like this:
Authorization: Bearer YOUR_KEY_HERE
Most routes require the JWT access token to be present to return a result.
Using the client provided by the online Portal will only permit the user who requested the client to access the API.
If you access token expires, it must be refreshed with the refresh token.
This can be done through the Refresh Access Token route.
Important: Once you have a new access token, delete your old access token. This is for security purposes, because the old token is not automatically invalidated, and will continue to work until it expires.