> For the complete documentation index, see [llms.txt](https://viewzenlabsug.gitbook.io/userguides/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://viewzenlabsug.gitbook.io/userguides/viewzen-accounts/api-keys.md).

# API Keys

**API Keys** in **ViewZen** provide secure access to the platform’s resources across products, enabling seamless integration with external applications. These keys act as authentication tokens that allow developers to interact with ViewZen APIs without requiring manual login credentials.

### Key Features

* **Secure Authentication** – Ensures only authorized users and systems can access ViewZen resources. Once an API key is generated and provided, it cannot be viewed or retrieved again.
* **Permission-Based Access** – API keys can have different permissions, limiting access to specific resource and to specific types of access (i.e., create, view, edit and delete).
* **Easy Integration** – Enables third-party applications, custom portals, and other applications to connect with the ViewZen platform.
* **Revocation** – Users can disable keys to maintain security.
* **Expiry Date -** An expiry date an be set for any key.

### Permissions

API Keys can be provided Create, View, Edit and Delete Permissions on the following resources

| Product / Application | Resource                                           |
| --------------------- | -------------------------------------------------- |
| ViewZen Accounts      | Tenant, Usergroups, Users                          |
| Appverse              | Forms, Form Allocation, Form Data and Form Library |
| ViewZen Analytics     | Connectors, Dashbaords, Datasets, Pipelines        |

<figure><img src="https://2529980633-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK8cCKBpIeUsWEwOw3Fbj%2Fuploads%2FeZVv3z7kWR01PAesHuiZ%2FAPI%20Keys.jpg?alt=media&amp;token=fe45da85-549d-484a-ae3f-c15e2d1028f5" alt=""><figcaption><p>API Keys</p></figcaption></figure>

{% hint style="info" %}
**Lost the API Key**

If you lose your API key, it cannot be recovered. In such cases, disable the lost key and generate a new one to use..
{% endhint %}

{% hint style="info" %}
**Purpose driven API Keys**

Create separate API Keys for specific purposes. Always limit permissions to restrict access to intended purposes alone.
{% endhint %}
