SDKs
Everything the SDKs do is plain HTTPS against the API: any language can call it. The SDKs save you the plumbing: types for every operation and object, retries that are always safe, paging, typed errors and webhook verification. Their types are generated from the same OpenAPI document as the reference, so they always match it.
| Package | For | Install |
|---|---|---|
| @zentiq/node | Your server: every API operation, typed, with retries, paging and webhook verification | npm install @zentiq/node@^1 |
| zentiq | Your server, in Python 3.9+: every operation, standard library only | pip install "zentiq>=1,<2"Coming to PyPI as 1.0.0. |
| @zentiq/client | The browser: join a live session with the token your server started | npm install @zentiq/client@^1 |
| @zentiq/react | React: an embedded portal and a live session as components | npm install @zentiq/react@^1 @zentiq/client@^1 |
| @zentiq/mcp | AI assistants on your own machine: the API as MCP tools, over stdio | npx -y @zentiq/mcp@^1 |
Which one#
On your server, use Node or Python. They hold the API key, so they never belong in a browser.
In the browser, the browser SDK joins a live session with the token your server started. The React components wrap it, and can also embed a portal for your signed-in users.
For an AI assistant running on your own machine, the MCP server hands it the API as tools.
What they all do#
Every operation is a method named after its operation id: createPersona in Node, create_persona in Python. The reference shows each operation's name, with a call in both.
They retry for you, carefully. A 429 waits the pause it asks for. No answer, 502, 503 and 504 are retried with a growing pause, twice by default, but only where a retry can't do anything twice: reads, updates, deletes, and the creating calls that take an Idempotency-Key. The SDK sends that key itself, the same one on each retry.
Every request sends Zentiq-Version: 2026-10-01, whatever contract the key is on. paginate walks a list for you. Errors come as one class per kind of failure, each with code, status, message, param, details and the requestId. And verifyWebhook checks a delivery's signature and timestamp, then gives you the event, typed by its type.
The SDKs' versions follow the contract: 1.x speaks 2026-10-01. A later contract that changes something incompatibly comes with a new major version.