Skip to main content
Once your assistant is configured and (optionally) fine‑tuned, the Deploy page helps you ship it as an API.

The Chat API endpoint

Promptify exposes a single public chat endpoint:
  • URL: /api/v1/chat
  • Methods:
    • POST – send a message and receive a reply
    • GET – check API + model status
  • Auth: Authorization: Bearer <access_token> using your Promptify user access token
The Deploy UI shows:
  • 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
For low‑level details, see the full Chat API reference.

Getting an access token

Promptify uses Supabase auth:
  1. Create an account or log in via the app.
  2. From the Deploy page, copy the access token shown in the “Your Access Token” field.
  3. Use it as a Bearer token in all API calls.
Never share this token publicly. It scopes to your user and controls access to your assistant and model.