Skip to content

Webhooks overview

NuacemOne can POST JSON to an HTTPS endpoint on your side when something happens. There are two kinds:

Webhook Sent when Set up in the console
Workflow events A workflow run starts, changes status, completes, fails or is cancelled, or a step waits for a person. Settings → Developers → Workflow webhooks
Transcript delivery A conversation (call or chat) has ended and its transcript is ready. Settings → Transcript delivery, or an agent’s Transcript Webhook

Workflow webhooks are part of the Workflows API beta.

  • HTTPS POST with a JSON body. Your endpoint must use https:// on a public address. Private and internal addresses are refused.
  • Signed. Each request carries X-VoiceCX-Timestamp and X-VoiceCX-Signature. The signature is v1= followed by the hex HMAC-SHA256 of <timestamp>.<raw body>, keyed with the endpoint’s signing secret. Always check it. See Verifying signatures.
  • Retried. A delivery counts as successful only when your endpoint answers 2xx. Otherwise NuacemOne tries again with growing gaps, over about a day. Redirects are not followed.
  • At least once. You may get the same webhook more than once. Each one has a stable id you can deduplicate on.
  1. Read the raw request body before any JSON parsing. The signature is over those exact bytes.
  2. Check the signature and timestamp. Answer 401 if they are wrong.
  3. Store the webhook (or put it on a queue) and answer 2xx straight away. Do the slow work afterwards. Workflow webhooks time out after 10 seconds and transcript webhooks after 15.
  4. Deduplicate on the webhook’s id before acting on it.
  5. Do not rely on order. Use the timestamps in the payload if order matters.

Each workflow webhook endpoint and each transcript webhook destination has its own signing secret. Agents’ Transcript Webhooks share one signing secret per workspace. The console shows a secret once, when it is created, and lets you rotate it. Keep secrets in your secret manager, never in code.