Articles on: CMS

Generating Public API Keys

Getting Started



In this documentation, you will learn only how to generate Public API Keys in Dorik CMS.

Basically, Dorik’s "API Keys’" feature allows users to connect with other applications (e.g. Zapier, Pabbly, Make, etc.) on the web from where users can maintain their resources without coming back to their Dorik website. The endpoints created can allow any authenticated user/platform to perform create, read, update, and delete (CRUD) actions.

However, for now, Public API Key can be used to fetch data from your CMS collections, collection items, and collection fields as a beta service.


How to Generate Public API Keys in Dorik CMS



Follow the steps below accordingly to learn how to create Public API keys —

- Go to CMS Dashboard
- Click on Settings
- Go to API Keys
- Click on + Generate Key to generate a new API Key
- Give a name under the Key name field and click on Generate
- And your API key is generated
- Copy the API Key and use it (The generated API Key will only be available once)

The GIF below shows the whole process being demonstrated visually ⬇️

Go to CMS Dashboard & click on Settings




Go to API Keys & click on it





Click on + Generate Key to generate a new API Key





Give a name under the Key name field and click on Generate





Here is your Public API key under Your Key field. You can now copy and use it.




💡 After copying the API key, you can Paste it on the `request header` of your third-party platforms. By the way, the generated API Key will only be available once. But you can generate a new API key. And to do this, you need just to delete the previous one and follow the above-mentioned steps.


To see the whole process of Generating API key at a glance, refer to the GIF below —




Related Article



To know more details about Public API keys, read the developer documentation given below —

Generate API Keys | dorik-api

Updated on: 22/01/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!