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

# Introduction

> Quick start for calling the Anam REST API directly.

All endpoints are served under:

```
https://api.anam.ai/v1
```

## Get an API key

Create a key from the [API keys page](https://lab.anam.ai/api-keys) in the Lab. See [Get your API key](/javascript-sdk/api-key) for the full walkthrough. Keep the key on your server. Never ship it to a browser or mobile app.

## Authenticate requests

Every request takes a bearer token in the `Authorization` header:

```bash theme={"system"}
curl https://api.anam.ai/v1/personas \
  -H "Authorization: Bearer $ANAM_API_KEY"
```

## Connecting clients

Clients don't use your API key. Your backend creates a short-lived session token with [`POST /v1/auth/session-token`](/api-reference/sessions/create-session-token) and hands it to the client, which uses it to open a WebRTC stream. See [Authentication](/javascript-sdk/authentication) for a worked server example.

## Conventions

* Request and response bodies are JSON. Field names are `camelCase`.
* List endpoints accept `page` and `perPage` query parameters and return `{ data: [...], meta: { total, currentPage, perPage, lastPage, prev, next } }`.
