The Chat API endpoint
Promptify exposes a single public chat endpoint:- URL:
/api/v1/chat - Methods:
POST– send a message and receive a replyGET– check API + model status
- Auth:
Authorization: Bearer <access_token>using your Promptify user access token
- Current API status (via
GET /api/v1/chat) - The model currently used by the API (base vs fine‑tuned)
- A Playground form that POSTs to
/api/v1/chat - Copy‑paste code snippets for cURL, Python, and JavaScript
Getting an access token
Promptify uses Supabase auth:- Create an account or log in via the app.
- From the Deploy page, copy the access token shown in the “Your Access Token” field.
- Use it as a Bearer token in all API calls.

