> ## 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.

# API v1

> Zenedu REST API for managing bots, subscribers, products, funnels, offers, and orders

## Base URL

All API v1 endpoints use the following base URL:

```
https://app.zenedu.io/api/v1
```

## Authentication

API v1 uses Bearer token authentication. Include your token in 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.
</Warning>

Find your API token in the Zenedu dashboard: **Settings → Workspace → API & Webhooks**. You can view and copy it there at any time. Resetting the token invalidates the previous one.

## Pro endpoints

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

## Pagination

List endpoints return paginated responses with `data`, `links`, and `meta` fields. Use the `per_page` query parameter to control page size (default: 30).

## Available resources

<CardGroup cols={2}>
  <Card title="User" icon="user" href="/api-reference/user/me">
    Get your profile
  </Card>

  <Card title="Bots" icon="robot" href="/api-reference/bots/list">
    List your bots
  </Card>

  <Card title="Subscribers" icon="users" href="/api-reference/subscribers/list">
    Manage bot subscribers
  </Card>

  <Card title="Orders" icon="receipt" href="/api-reference/orders/list">
    View orders
  </Card>

  <Card title="Products" icon="box" href="/api-reference/products/list">
    List products
  </Card>

  <Card title="Funnels" icon="filter" href="/api-reference/funnels/list">
    List funnels
  </Card>

  <Card title="Offers" icon="tag" href="/api-reference/offers/list">
    List offers
  </Card>

  <Card title="Links" icon="link" href="/api-reference/links/offer-link">
    Generate payment and invite links
  </Card>
</CardGroup>


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