> 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="https://1244787492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNDxbAdc00ce6bH5u1urh%2Fuploads%2Fueh9rYIWxIQ9ZlwgTuVb%2FScreenshot%202026-02-12%20at%203.33.31%E2%80%AFPM.png?alt=media&amp;token=d79f3969-2a86-46ac-bfcb-57dcae76e62e" alt="" width="563"><figcaption></figcaption></figure>

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

<figure><img src="https://1244787492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNDxbAdc00ce6bH5u1urh%2Fuploads%2F8mudMt4UtjMBo28iTc2K%2FScreenshot_2025-09-10_at_2_53_58%E2%80%AFPM.jpg?alt=media&amp;token=4a4cb905-4dac-4e7c-b724-3a8e9cc74950" 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="https://1244787492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNDxbAdc00ce6bH5u1urh%2Fuploads%2FmFIemj7J97zldMthySu2%2FScreenshot%202025-09-10%20at%203.12.42%E2%80%AFPM.png?alt=media&amp;token=d13ad111-03bd-4b0b-baa0-fe9782be71c5" 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="https://1244787492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNDxbAdc00ce6bH5u1urh%2Fuploads%2FNYxYdqE9DYkMhFkxqGBW%2FScreenshot_2025-09-10_at_3_20_27%E2%80%AFPM.jpg?alt=media&amp;token=b07d5931-70f0-4078-b6f0-f9b1e4a75cbb" 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
