> For the complete documentation index, see [llms.txt](https://docs.didomi.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.didomi.io/fr/parametres-de-lorganisation-et-du-compte/cles-api/creer-une-nouvelle-cle-api-privee.md).

# Créer une nouvelle clé API privée

{% hint style="success" %}
**Type d'accès :** Paramètres de l'organisation - Éditeur
{% endhint %}

Les clés API privées sont générées par votre organisation et permettent à vos applications back-end d'accéder à l'API Didomi. Dans cet article, nous expliquerons comment générer une nouvelle clé API privée.

{% hint style="info" %}
[Cliquez ici](https://developers.didomi.io/api-and-platform/introduction) pour en savoir plus sur les API Didomi.
{% endhint %}

Cliquez sur **Mon organisation** et sélectionnez **Clé API privée** dans le menu déroulant.&#x20;

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

Cliquez sur **Ajouter une nouvelle clé API privée**.

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

Confirmez la décision de créer une nouvelle clé API privée dans la fenêtre modale et cliquez **Générer une nouvelle clé**.

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

La fenêtre modale suivante affichera la clé API et le secret de la clé API.

{% hint style="warning" %}
**Remarque** : C'est la seule fois où le secret de la clé API sera révélé.&#x20;
{% endhint %}

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.didomi.io/fr/parametres-de-lorganisation-et-du-compte/cles-api/creer-une-nouvelle-cle-api-privee.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
