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

# Development

> Test and integrate the Promptify Chat API.

This guide helps you quickly test the **Promptify Chat API** and integrate it into your app.

## 1) Get your access token

1. Open the Promptify app at `https://app.promptify.one`.
2. Go to **Deploy**.
3. Copy the **access token** from the “Your Access Token” field.

## 2) Send your first request

Use `POST /api/v1/chat`:

```bash theme={null}
export PROMPTIFY_ACCESS_TOKEN="paste-your-token-here"

curl -X POST https://app.promptify.one/api/v1/chat \
  -H "Authorization: Bearer $PROMPTIFY_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "message": "Say hello and tell me what you can do."
  }'
```

## 3) Interpret the response

On success, the API returns:

* `reply` — assistant response text
* `model` — the model used (base or fine‑tuned)
* `isFineTuned` — whether a fine‑tuned model is active
* `usage` — token counts
* `latencyMs` — request latency

## 4) Iterate with the playground

If you want a quick UI to test requests, open the [API playground](/docs/api-reference/playground).
