> For the complete documentation index, see [llms.txt](https://noctaly-bot.gitbook.io/noctaly-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://noctaly-bot.gitbook.io/noctaly-api/getting-started/authentication.md).

# Authentication

The Noctaly API uses keys to authenticate requests.

An API key is linked to a single server, and a server can only have one key.

To authenticate a request, provide the API key in the Authorization header.

```bash
curl -H "Authorization: <your_api_key>" https://noctaly.com/api/v1/guilds/{guildIdID}/users/{userID}/level-profile
```
