# Authentication

> Authenticate calls to the PDFluent hosted API with an API key.

> Coming soon. The hosted API is not live yet, and this page describes the planned service as of 16 November 2026. [Get notified](https://pdfluent.com/contact/?topic=hosted) when it opens.

Source: https://pdfluent.com/docs/api/authentication/

Every call carries an API key. Send it in the `x-api-key` header:

```sh
curl -sS -f -X POST "$PDFLUENT_API_URL/v1/info" \
  -H "x-api-key: $PDFLUENT_API_KEY" \
  -F file=@structured.pdf
```

A bearer token works as well: `Authorization: Bearer <your API key>`.

A missing or invalid key is answered with `401`. See [Errors](https://pdfluent.com/docs/api/errors/).

## Your region

The PDFluent API runs in the EU by default: Google Cloud `europe-west4`. Every account has a residency of `eu` (the default) or `us`. The gateway routes a call to the region of the account and never falls back from one region to the other. See [Data handling](https://pdfluent.com/docs/api/data-handling/).

## Keys and the console

The console is not open yet. API keys are created in the PDFluent console. A key belongs to one account and one balance.
