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

# Authentication

> Authenticate Pubrio API requests using the `pubrio-api-key` header — setup, key management, and security best practices.

## API Key

For authentication, the `pubrio-api-key` header needs to be included. The header should contain the api key, for example a `a1b2c3d4e5f6g7h8` which represents your API key.

```
pubrio-api-key: a1b2c3d4e5f6g7h8
```

You need to create an API key to access the Pubrio API. To create an API key, you can do so by accessing the [Settings](https://dashboard.pubrio.com/#/settings/) section.

<Note>
  The API key already includes your workspace (profile) information, so you do not need to pass `profile_id` in your request body. The `profile_id` parameter is still accepted for backward compatibility but is no longer required.
</Note>
