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

# Chat API overview

> Authenticate and call the Promptify Chat API.

The **Promptify Chat API** exposes your configured assistant and model over a simple REST interface.

## Base URL

```text theme={null}
https://app.promptify.one
```

All paths in this reference are relative to the app’s base URL.

## Authentication

The Chat API uses Bearer tokens backed by Supabase auth:

* Obtain your **access token** from the **Deploy** page in the app.
* Send it on every request:

```http theme={null}
Authorization: Bearer <access_token>
Content-Type: application/json
```

If the token is missing or invalid you’ll receive a `401 UNAUTHORIZED` error with an `error.code` like `UNAUTHORIZED`.

## Main endpoints

* `POST /api/v1/chat` – send a user message and receive an assistant reply.
* `GET /api/v1/chat` – inspect API + model status (active model, fine‑tuning status, etc.).

You can explore the full OpenAPI schema in `api-reference/openapi.json` or via the automatically generated endpoint docs in this section.
