Zentiq API
A Zentiq avatar is someone your users talk to, live, by voice or by typing. It has a face, a voice and whatever you taught it. The API is how your own software runs all of that. Anything you can do in the console, your server can do with a key: make avatars and portals, add people, start conversations, read the results, collect what website visitors leave behind.
Try the key first. This call answers with your organization and what the key is allowed to do:
curl https://app.zentiqai.com/v1/me -H "Authorization: Bearer $ZENTIQ_API_KEY"| The basics | |
|---|---|
| Base address | https://app.zentiqai.com/v1 |
| Authentication | An organization API key, sent as Authorization: Bearer zq_live_…, from your server only |
| Format | JSON both ways. A success looks like { "data": …, "error": null, "requestId": … }, an error like { "error": { "code", "message" } } |
| Contract | 2026-10-01. Every key is pinned to a dated contract: see Versions |
| Plans | API access comes with Monthly and Pay as you go (and Enterprise). Free has no API |
Pick a starting point#
Most integrations look like one of the guides. Find yours and follow it from the top.
- An avatar on your website, with visitors' requests landing with your team. To paste it into Shopify, Wix, Squarespace, WordPress or Webflow, see Install the widget.
- Sales training and results: a team practices with an avatar and the scores go to your HR or learning system.
- Screening from your ATS, for job applicants.
- A tutor in your app for signed-in students, with guardian consent.
- A duo role-play, two avatars in one conversation.
- Website leads to your CRM: leads, booking requests and hand-offs.
- A multilingual assistant that answers people in their own language.
- Live sessions and Bring your own brain, when the avatar lives inside your own app and you decide what it says.
How the pieces fit#
Your server holds the key. It builds personas and portals, adds people, starts live sessions and reads results. The key never goes to a browser or into an app someone can download.
The browser gets a token instead. When a page needs a live avatar, your server starts a session and passes the browser a short-lived token for it. The browser joins with the browser SDK.
Zentiq tells you when something happens. Webhooks announce new leads, released results, screened candidates and more. Treat each one as a nudge: your server then fetches the details with the API, and the privacy rules apply to that request like any other.
Quickstart#
Three steps to a live avatar in your page. The full quickstart explains each one.
- Make a key. In the Zentiq console, open More → API Keys and choose Create a key. You see it once, so copy it straight into your server's settings.
Start a session on your server, with a persona you made in the console or through the API:
server.tsasync function startSession(userId: string) { const token = await zentiq.createSessionToken( { personaId: process.env.ZENTIQ_PERSONA_ID ?? "", identity: userId }, { idempotencyKey: `start-${userId}-${Date.now()}` }, ); // { sessionId, sessionToken, url, room, persona, disclosure, cc }: hand all of it to the browser. return token; }Join it from the browser. Show the AI disclosure, and end the session when the person leaves:
browser.tsimport { joinSession, type SessionToken } from "@zentiq/client"; const token = (await fetch("/zentiq/session", { method: "POST" }).then((r) => r.json())) as SessionToken; // People must know they are talking to an AI: show the persona's words for the whole session. const disclosure = document.querySelector<HTMLElement>("#disclosure"); if (disclosure && token.disclosure?.required) disclosure.textContent = token.disclosure.text; const session = await joinSession(token, { video: document.querySelector<HTMLVideoElement>("#avatar")!, onTranscript: (t) => { if (t.final) console.log(t.role === "user" ? "You" : t.speaker ?? token.persona.name, t.text); }, onSpeaking: (who) => document.body.setAttribute("data-speaking", who), });
After that#
Keys and scopes shows how to give each integration only what it needs. Every request follows the same rules for errors, limits and paging and retries. The API reference lists every operation, built from the OpenAPI document. There are SDKs for Node, Python, the browser and React, and an MCP server for AI assistants.