Webhooks How-To Guide
Webhooks let external systems receive real-time notifications when interactions start or end. They are useful for billing, activity tracking, transcript ingestion, analytics, and any workflow that needs to react as interactions happen.
Prepare the destination endpoint URL that should receive webhook notifications.
Prepare any hashing or signing details required by the receiving system.
Open the webhook configuration area and create a new webhook configuration.

Choose the Event Type: On Interaction Start or Interaction End
Choose the target Scope:
Agent: Use when only one agent should send webhook events to the destination.
Tenant: Use when events for a whole tenant should be sent to the destination.
Tenant and descendants: Use for events for a tenant and all sub-tenants underneath it.
Select the target agent or tenant depending on the scope chosen.
Enter the destination URL for the receiving system, adding hashing or signing details if required.
Optionally preview the webhook payload, and click Create to finalise the webhook configuration.

After the configuration is created, deploy or use agents as normal. No prompt changes are required. The backend picks up the relevant webhook configuration automatically.
Monitor Activity by opening the webhook configuration from the list to review the webhook status is active, check how many notifications have been sent and review success and failure counts, errors, and latency.
Here you can also edit or deactivate the configuration if the destination changes or notifications should stop.

Webhook notifications can include agent ID and tenant ID.
The interaction ID is included so the receiving system can retrieve related data, such as transcripts, through the API.
The payload can include event timing such as started or ended information, depending on the event.
The payload can include session type and usage information such as build units or call duration.
Collected interaction data can be included, such as details captured during a conversation.
Caller ID and called ID may be included where available.
Webhook payloads may include collected data and customer identifiers, so each destination should be reviewed for privacy, security, and data protection requirements before enabling.
Use hashing or signing where available so the receiving system can verify that webhook notifications are genuine.
Send webhook data only to systems that are authorised to receive it.
If multiple webhook rules match the same interaction, notifications can be sent to multiple destinations.
No webhook is received: Confirm the webhook is active, the target type matches the interaction, and the destination URL is correct.
Events are missing for sub-tenants: Check whether Tenant and descendants should be selected instead of a single tenant target.
Failures are shown: Review the error details, destination availability, and hashing or signing configuration.
Transcript cannot be retrieved: Confirm the receiving system is using the interaction ID from the webhook and has an API key with the required transcript scope.
Every webhook includes a cryptographic signature so the receiving system can confirm the request genuinely came from the platform and was not forged. The signature is an HMAC-SHA256 digest, delivered as a hash field inside the JSON body of the webhook — not in an HTTP header.
Verification only works if the webhook destination is configured with a shared secret, which is provisioned for you and should be kept confidential. If no shared secret is configured for a destination, the hash field is omitted from the payload and there is nothing to verify.
How the signature is computed:
|) character, in this exact order: {secret}|{interaction_id}|{owner_tenant_id}|{agent_id}.hash field.How to verify a received webhook:
interaction_id, owner_tenant_id and agent_id from the payload.hash field using a constant-time comparison (never a plain ==, to avoid leaking information through timing differences). A match confirms the webhook is authentic.Example (Python):
import hmac, hashlib
def verify(payload: dict, secret: str) -> bool:
canonical = f"{secret}|{payload['interaction_id']}|{payload['owner_tenant_id']}|{payload['agent_id']}"
expected = hmac.new(secret.encode(), canonical.encode(), hashlib.sha256).hexdigest()
return hmac.compare_digest(expected, payload.get("hash", ""))
Example (Node.js):
const crypto = require("crypto");
function verify(payload, secret) {
const canonical = `${secret}|${payload.interaction_id}|${payload.owner_tenant_id}|${payload.agent_id}`;
const expected = crypto.createHmac("sha256", secret).update(canonical).digest("hex");
const a = Buffer.from(expected);
const b = Buffer.from(payload.hash || "");
return a.length === b.length && crypto.timingSafeEqual(a, b);
}
FAQ
The hash field is missing from my webhook — why? The destination isn't configured with a shared secret. Without one there's no signature to include; contact your provider to provision one if verification is needed.
The signature doesn't match — what should I check? Confirm the fields are joined in the exact order {secret}|{interaction_id}|{owner_tenant_id}|{agent_id}, that the correct shared secret is being used, and that the HMAC output is hex-encoded (not base64) before comparison.