Obtaining an API key, Caching and Security

Obtaining an API key

New API keys can be generated in the System settings in your RecMan account
System settings → Database → API → Create.

You will need to be a system administrator to view or create an API key.

Once created, you will need to add access for your API key, decide which modules it should have access to, and specify which operations are allowed.

📝 Always limit your access to only contain the modules and operations you need. Especially if you share your API key with external developers.

Caching

One solution to restrict the number of requests (loads) per day is to download the JSON file and timestamp it. A script can check the timestamp periodically, and once the timestamp exceeds a set limit, the system fetches a new file.

Security

Our API does not support "Access-Control-Allow-Origin". As this would basically mean that any client-side operation would expose your API key, we have decided not to enable this feature.

Was this article helpful?
0 out of 0 found this helpful