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

# Authentication

> Authenticate Replied API requests with an API key.

Replied uses an API key in the submit URL.

```http theme={null}
POST https://www.replied.dk/api/v1/submit/YOUR_API_KEY
```

## API key rules

* Create one key per website or integration.
* Rotate keys after staff or vendor changes.
* Remove unused keys.
* Use allowed domains when you want origin checks.

## Origin checks

If a key has allowed domains, Replied accepts browser submissions only from those origins.

```text theme={null}
https://example.com
https://www.example.com
```

Include the protocol. Do not enter only `example.com`.

## Avoid breaking

Preserve API key validation, rate limits, and origin checks when editing submit flows.
