Build on the Verse platform
One API key unlocks the whole stack: AI chat and research, text-to-speech, translation, vision, Versona characters with 3D models, workflow automation, and a relay that lets your code drive the Verse desktop app. Every call is encrypted with your secret and metered in tokens.
Quick Start
Get your keys
Sign in, open your account's Developer Settings, and generate an API key + secret pair. The secret is shown once — store it safely.
Encrypt the payload
Build the service's JSON body, encrypt it with your API secret, and wrap it in the request envelope with your key.
Call the endpoint
POST to any /api/Verse/* service. The response returns your result plus the tokens remaining on your account.
Authentication
Verse API endpoints authenticate with an API key and an encrypted payload instead of a bearer header: the body of every service call is a JSON object encrypted with your API secret. The server looks up your key, decrypts with the paired secret, runs the service, and deducts the service's token cost from your balance.
- Generate credentials in Developer Settings — one active key + secret pair per app.
- Serialize the service parameters to JSON (each endpoint's payload is documented below).
- Encrypt that JSON string with your API secret and place it in
payload. - Send the envelope — the server validates the key, decrypts, and executes.
- Read
RemainingTokensfrom the response to track your spend.
{
"payload": "<service JSON, encrypted with your API secret>",
"ApiKey": "<your API key>"
}
AI Services
Core intelligence endpoints. All are POST, all use the encrypted envelope, all deduct tokens per call. Click an endpoint to expand it.
Versona API
Versonas are AI characters with a personality, a voice, a knowledge base, and a 3D GLB avatar. These endpoints let your app list a user's Versonas, chat with them (optionally with audio), and download their models for rendering.
Workflows API
Workflows are visual automations built in the Verse workflow editor (~150 node types, ~100 integrations). From the API you can enumerate them, inspect one, and trigger a run programmatically.
Webhook Triggers
Any workflow with a Webhook trigger node gets its own secret URL. Hitting it starts the workflow with your request's method, path, headers, query, and body as trigger input — the standard way to connect outside systems to Verse automations.
Versona Desktop Relay
The relay pairs the Verse desktop app with the server so workflows and scripts can drive a machine:
run an agent, call a tool, execute code, chat with a local Versona. Your program enqueues commands;
the desktop app long-polls, executes, and posts results. Desktop-side calls authenticate with
X-Api-Key + X-Api-Secret headers; enqueue/result calls use your signed-in
session (Bearer JWT).
Responses & Errors
{
"RemainingTokens": 95,
"ServiceResponse": { /* service-specific result */ }
}
{
"error": "Error description",
"code": 400
}
| Status | Meaning |
|---|---|
| 200 | Success — result in ServiceResponse, balance in RemainingTokens. |
| 400 | Malformed envelope or payload that fails decryption / validation. |
| 401 | Unknown or inactive API key. |
| 402 / 403 | Insufficient token balance for the requested service. |
| 429 | Rate limited — back off and retry. |
| 500 | Service error — safe to retry idempotent calls. |
Desktop App Kit
Build apps that run inside the Verse desktop. An app is a tiny package — a manifest, one script, and an icon — created with the Verse Desktop App Dev VS Code extension, which scaffolds projects, previews them in desktop and mobile frames, validates the manifest, and packages a ZIP ready for the App Store.
manifest.json
Name, semver version, description, entry script, icon, category, optional size and price.
index.js
Plain JavaScript, one file. Declares initApp(appWindow) — your app's entry point. No modules, no Node APIs.
icon.png
128×128 icon. Optional extras: style.css, README.md.
// index.js — the whole app function initApp(appWindow) { appWindow.setTitle('Hello Verse'); appWindow.setContent('<h2>Hello from my first Verse app</h2>'); // appWindow API: setContent(html), getContentElement(), // setTitle(), close() — plus resize()/maximize()/minimize() // when running on desktop. }
vinit, vcard, vbutton, and vfetch.App Store
Packaged apps upload to the Verse App Store and become installable on every user's desktop. Store endpoints use your signed-in session (Bearer JWT).