# Create new private API key

{% hint style="success" %}
**Access Type:** Organization Settings - Editor
{% endhint %}

Private API keys are generated by your organization and enable your back-end applications to access the Didomi API. In this article, we will cover how to generate a new private API key.

{% hint style="info" %}
[Click here](https://developers.didomi.io/api-and-platform/introduction) to learn more about Didomi APIs.
{% endhint %}

Click **My Organization** and select **Private API key** from the drop-down menu.&#x20;

<figure><img src="/files/M0mnr3lBoYGN28VeAKjY" alt="" width="563"><figcaption></figcaption></figure>

Click **Add a new Private API Key**.

<figure><img src="/files/c2JJnWo6Kwoq6FMHNyDA" alt="" width="563"><figcaption></figcaption></figure>

Confirm the decision to create a new private API key in the modal and click **Generate a new key**.

<figure><img src="/files/mCyizUMQzLekXhkhqr5w" alt="" width="358"><figcaption></figcaption></figure>

The subsequent modal will display the API key and API Key Secret.

{% hint style="warning" %}
**Note**: This is the only time the API Key Secret will be revealed.&#x20;
{% endhint %}

<figure><img src="/files/3UG2Pw3mrgT189jyZMQ3" alt="" width="375"><figcaption></figcaption></figure>


---

# 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.didomi.io/organization-and-account-settings/api-keys/create-new-private-api-key.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.
