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

# Authentication

> How to authenticate with the Zenedu API

API v1 uses Bearer token authentication.

## Getting your token

Find your API token in the Zenedu dashboard: **Settings → Workspace → API & Webhooks**. Resetting the token there invalidates the previous one. Keep the token secret: it gives full access to your account.

## Using the token

Include the token in the `Authorization` header of every request:

```bash theme={null}
curl -X GET https://app.zenedu.io/api/v1/bots \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
```

<Warning>
  The `Accept: application/json` header is required for all API v1 requests. Requests without this header will be rejected.
</Warning>

## Pro features

Some endpoints require an active Pro subscription. These are marked with a **Pro** badge in the documentation. Calling a Pro endpoint without an active subscription returns a `403` error.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.