> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fraudeg.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create your API key

> The scoring and identity credential, per environment, from the dashboard

> [!NOTE]
>
> This is done in the dashboard — there is no public endpoint for creating keys.

Each company has its own API keys. They are generated in the web app of your [environment](https://docs.fraudeg.com/en/entornos.md):

* Pre-official-integration: `https://sandbox.fraudeg.com`
* Production: `https://fraudeg.com`

A key from one environment does not authenticate in the other. The only surface that accepts API keys is:

* `POST /v1/transactions/analyze`, `/analyze/sandbox`, `/analyze/async`, and `/analyze/async/sandbox`
* `GET /v1/transactions/{id}` (without score) and `GET /v1/transactions/{id}/analysis`, by UUID
* `POST /v1/verifications`, `GET /v1/verifications`, `GET /v1/verifications/{id}`

Any other path called with that key responds `403` (`API keys are not permitted on this endpoint`).

## Steps

1. Sign in to the Fraudeg dashboard with your user, on your environment's host.
2. Go to your company's API keys section.
3. Generate the key, choosing its scopes, and save it — it is shown in full only once.

## Scopes

| Scope | What it allows |
| - | - |
| `TRANSACTIONS_WRITE` | The four analysis paths (synchronous and asynchronous), and reading a transaction (without score) and the [status of its analysis](https://docs.fraudeg.com/en/referencia/estado-analisis.md) by UUID. It does not open the list, the summary, or the events |
| `KYC_WRITE` | Creating verifications, and also reading them |
| `KYC_READ` | Listing and reading verifications; it cannot create |

If the same service scores and verifies, give it the scopes it needs. If a job only
reconciles identity, give it only `KYC_READ`.

## How to use it

```
X-Api-Key: <your_api_key>
```

Next step: [Make your first transaction](https://docs.fraudeg.com/en/integrar/primera-transaccion.md), or
[your first verification](https://docs.fraudeg.com/en/identidad/primera-verificacion.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.