Skip to main content

Overview

Inbound routing connects a phone number to a voice agent so that incoming calls are automatically handled by that agent. Setup differs depending on whether you manage your own Twilio account (BYOT) or use Kejue’s platform-managed numbers.

Prerequisites

  1. A phone number registered in Kejue with is_inbound enabled
  2. An active voice config (agent) attached to a persona

Setting Up Inbound Routing

1. Configure inbound routing

If the voice config hasn’t been deployed yet, the system will auto-deploy it before configuring routing.

2. Handle the response based on your provisioning mode

The response includes a webhook_url and the status is immediately approved:
Next step: Set the webhook_url as the Voice URL (HTTP POST) on your Twilio phone number.

How Inbound Calls Work

For BYOT, the webhook URL you configure on your Twilio number is:

Removing Inbound Routing