API Secret Keys are the easiest way to get started with the Filerobot API.
As their name states, API Secret Keys should be kept secret and used for server-to-server communication to manage files in Filerobot. API Secret Keys should not be used for the Filerobot plugins, integrated in a front-end application: Filerobot Media Asset Widget (FMAW), Uploader Widget, Image Editor and 360° Spin plugin.
Create API Secret Key:
You can create API Secret Keys and define permissions for them through the Create new key button.
In the Filerobot Admin panel navigate to Developers > API Secret Keys and click on the Create new key:
Give a description and select the Permissions that the API Secret Key will have. You can choose between multiple permissions as described in the Filerobot documentation.
Once the API Secret Key is saved, you can review/edit its Permissions, rename or revoke it from the list:
You can use the API Secret Key in order to Upload, List and Download assets from the Filerobot store by using the Filerobot APIs.
How to make your first API call?
The key is passed as part the X-Filerobot-Key
HTTP header in every API request, for example:
Copy-paste the cURL request in your Terminal or click on the API Explorer tab to see the API in action.
cURL example:
curl --request GET \ --url 'https://api.filerobot.com/fdocs/v4/files?' \ --header 'X-Filerobot-Key: 19692813e7364ef8ad6a6504d50a12ca' \ --header 'Content-Type: application/json'
If you have any questions or issues, please feel free to contact our Software Engineer and mention the following details:
-
- Token
- Short description of the issue (including URLs, screenshot, short video if available)
- Steps to reproduce the issue.
Comments
Please sign in to leave a comment.