Older names
NuacemOne was earlier called VoiceCX. The SDKs and widgets from that time keep working as they are, so you do not have to change existing pages or servers. New features are added only to the current names, so use those for new work.
| Older name | Still works for | Current name |
|---|---|---|
https://studio.nuacem.dev/sdk/vcx-sdk.js (global VoiceCX, version 1.x) |
Pages that already embed it | nuacemone.js |
VoiceCX global |
Code written against vcx-sdk.js |
NuacemOne. nuacemone.js also sets VoiceCX when it is free. |
vcx-workflows.js (new Workflows({ key, baseUrl })) |
Node server code that already uses it | NuacemOne.client({ key, workflows }).workflows |
Python import voicecx (VoiceCX, Workflows, VoiceCXError) |
Existing Python code | import nuacemone (NuacemOne, Workflows, NuacemOneError) |
https://studio.nuacem.dev/widget/vcx-chat.js |
Pages that already embed the chat-only widget | nuacemone-widget.js |
https://studio.nuacem.dev/widget/vcx-voice.js |
Pages that already embed the call-only button | nuacemone-widget.js |
Also unchanged:
- The headers
X-VoiceCX-Key,X-VoiceCX-TimestampandX-VoiceCX-Signature. - The key prefixes
vcx_pk_andvcx_sk_.
The 1.x JavaScript entry points
Section titled “The 1.x JavaScript entry points”nuacemone.js still accepts the 1.x calls, so you can swap the file without changing code:
const chat = NuacemOne.chat({ key: 'vcx_pk_xxxxxxxx', agent: 'agt_xxxx', gateway: 'https://api.nuacem.dev/voice-gw' });const call = await NuacemOne.startCall({ key: 'vcx_pk_xxxxxxxx', agent: 'agt_xxxx', gateway: 'https://api.nuacem.dev/voice-gw' });Use useCase: 'uc_xxxx' instead of agent to reach a use case.
The older widgets
Section titled “The older widgets”vcx-chat.js and vcx-voice.js take data-key, data-agent (or data-use-case) and data-gateway, plus their own look attributes such as data-title, data-color and data-position. They do not read the chat window design you publish in the console. To get the published design, rich messages and voice and chat in one window, replace them with one nuacemone-widget.js tag.