How to manage API keys

Zenskar allows you to create API keys that can be used for authentication. A few scenarios where API key can be used for authentication are listed below:

  • You can authenticate an API request to Zenskar by adding API key to the x-api-key request header.
  • Third-party software such as Salesforce require Zenskar's API key for integration.

Create an API key

  1. In the side panel, click on the drop-up menu with your name.
  1. Click on the Settings option on the drop-up menu.
  2. On the Settings page, navigate to the API Keys tab.
  3. Click on the + CREATE API KEY button.
  4. Enter a descriptive name for the key and click on the GENERATE API KEY button.
Fig. 1: Create new API key

Fig. 1: Create a new API key.

  1. Click on the Copy button. Save the API key somewhere safe. The API key cannot be viewed or copied after this step.
Fig. 2: Copy the newly created API key.

Fig. 2: Copy the newly created API key.

Delete an API key

  1. In the side panel, click on the drop-up menu with your name.
  2. Click on the Settings option on the drop-up menu.
  3. On the Settings page, navigate to the API Keys tab.
  4. Click on the kebab menu on the row containing the API key you wish to delete, and select the Delete option.