Skip to content

API keys

Your website, apps and servers identify themselves to NuacemOne with an API key, sent in the X-VoiceCX-Key header. Organisation admins create keys in Settings → Developers → API Keys.

Publishable key Secret key
Looks like vcx_pk_… vcx_sk_…
Use it in Web pages and mobile apps (the website widget, the browser SDK) Your servers only
Works from Only the websites you list for the key Your servers
Can Start chats and web calls with published agents and use cases Everything a publishable key can, plus the Workflows API

A key can be limited to some agents. Keys only reach published agents and use cases, never drafts.

  1. Open Settings → Developers → API Keys and choose New Key.
  2. Pick Publishable or Secret and give it a name you’ll recognise, such as website-prod.
  3. For a publishable key, list the websites that may use it, for example https://www.example.com.
  4. Optionally, limit the key to some agents.
  5. Copy the key. It is shown only once. Keep a secret key in your secret manager or environment, not in code.

Create the new key, deploy it, check traffic is working, then revoke the old one. Revoking takes effect straight away.

If your users are signed in on your site, the widget and the API can tell the agent who they are. Your server signs the user’s id with your workspace’s identity secret. See Authentication.