# API Keys

These keys ensure that the requests are coming from authorized applications or services and provide access to specific features and functionalities of the WhatsApp Business API.

<figure><img src="/files/FJ8b4FAxb1MHjahkyDYM" alt=""><figcaption></figcaption></figure>

## API Secret Key

An API secret key is a confidential piece of data used in conjunction with an API key to secure API interactions. It serves as a password-like credential that, when combined with the API key, verifies the identity of the requester and ensures that the API calls are coming from an authorized source. The API secret should be kept private and never exposed in client-side code or publicly accessible environments, as it is critical for maintaining the security of the API.

## Create New API Key

1. Navigate to the **'Integration'** section on your BizMagnets account and select **'API Keys'**.
2. Click on the option **'+Add New API Key'** to create a new tag.
3. Enter the name of the new API Key.

<figure><img src="/files/3cHeIVBNeRn62zUIi2bo" alt=""><figcaption></figcaption></figure>

4. Click on **'Submit'** and the new API Key will be created.

## **Edit API Keys** <a href="#edit-a-custom-field" id="edit-a-custom-field"></a>

Find the API Keys you want to edit in the list. Click the Edit icon. Make the necessary changes and click **'Submit'.**

<figure><img src="/files/yg2UyuTV2Naltkonk2yF" alt=""><figcaption></figcaption></figure>

## **Benefits of API Keys:**

1. **Authentication and Security:** API keys provide a secure way to authenticate and authorize applications that interact with the WhatsApp Business API.
2. **Access Control:** You can manage and control which applications or services can access your WhatsApp Business API by generating multiple API keys with specific permissions.
3. **Tracking and Monitoring:** API keys allow you to monitor and track the usage of the WhatsApp Business API by different applications or services, helping you manage API quotas and detect misuse.
4. **Ease of Integration:** API keys simplify the integration process by providing a straightforward way to authenticate API requests without the need for complex authentication protocols.
5. **Scalability:** Multiple API keys can be created for different teams, applications, or environments (e.g., development, staging, production), allowing for better scalability and management of API usage.

By managing API keys effectively, you can ensure secure, efficient, and organized access to the WhatsApp Business API, enhancing your application's communication capabilities with customers via WhatsApp.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bizmagnets.ai/additional-details/api-keys.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
