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

# Authentication

> Haiper uses API keys to authenticate API calls. No username and password needed.


<Note>
  You need to top up certain amount to access the Haiper APIs.
</Note>

## Getting your API key

Get an API key from [https://haiper.ai/haiper-api](https://haiper.ai/haiper-api), and use the key as Bearer token in the HTTP header to call any of the APIs.

## Example

All API endpoints are authenticated using Bearer tokens and picked up from the specification file.

```shell theme={null}
curl --request GET \
  --url http://api.haiper.ai/path-of-the-api \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer <token>' \
```
