How to set up DAM API Secret Key

API Secret Keys are the easiest way to get started with the DAM API.

As their name states, API Secret Keys should be kept secret and used for server-to-server communication to manage files in DAM. API Secret Keys should not be used for the DAM plugins, integrated in a front-end application: DAM Media Asset Widget (FMAW), Uploader WidgetImage 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 DAM Admin panel navigate to Access > API Keys and click on the Create new key:

Give a description and select the Permissions that the API Key will have. You can choose between multiple permissions as described in the DAM documentation.

Once the API Secret Key is saved, you can review/edit its Permissions, rename or revoke it from the list:

Screenshot_2021-09-30_at_16.55.41.png

You can use the API Secret Key in order to Upload, Listing and Download assets from the Filerobot store by using the DAM 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.
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.