Skip to Content
Assistant Core

Developer API

Call an assistant from your own backend over REST, Server-Sent Events, and WebSocket with a scoped API key.

The Developer API lets your backend chat with an assistant, upload files, read conversation history, and run voice sessions. An API key identifies the assistant; your backend sends an external_user_id that keeps conversations, files, and memory separate for each of your end users.

Developer API v1 is in Preview. The contract may change before general availability; breaking changes are listed in the changelog.

Who can use it

RequirementDetail
PlanEvery plan includes the Developer API, Free included. Plans differ only in rate limits.
RoleOnly the Assistant Owner can create and manage API keys in the Admin Panel.
BillingEvery chat and voice turn uses the assistant owner's credits.

Endpoints and scopes

The API has three groups of endpoints: chat responses and files, conversation history and feedback, and voice sessions. Each endpoint needs one scope on the API key.

How a request flows

  1. Your end user signs in to your application.
  2. Your backend maps that signed-in user to a stable external_user_id.
  3. Your backend calls the Developer API with an API key from its secret store.
  4. Your backend returns the JSON or forwards the SSE stream to the client. For voice, it returns only the short-lived session token and websocket_url.

The API key is a server-side secret. Never put it in a browser, mobile app, URL, source control, or logs. Derive external_user_id from your own sign-in session; never accept it from the client, or one user could read another user's conversations.

Choose an integration

GoalUse
Add a ready-made chat window to a websiteWeb Widget
Use the hosted chat and voice app on your own domainWeb App
Build your own UI, workflow, or backend automationDeveloper API (Chat API)
Build a voice client that captures and plays audio itselfVoice API

Last updated on