elisra27
11/05/2025, 7:38 PMAI Evy
11/05/2025, 7:38 PMAI Evy
11/05/2025, 7:38 PMAI Evy
11/05/2025, 7:38 PMAI Evy
11/05/2025, 7:38 PMelisra27
11/05/2025, 8:05 PMAI Evy
11/05/2025, 8:05 PMAI Evy
11/05/2025, 8:05 PMAI Evy
11/05/2025, 8:06 PMfrom_number or to_number in the webhook payload [(1) ]() [(2) ]() . However, this is the opposite direction from what you're describing.
For calls that you initiate (outbound from your perspective, inbound to Retell) , you would need to specify the agent when making the call through the API. The inbound webhook documentation specifically states it "does not apply for dial to sip calls, as you can provide call specific information when you register the phone call" [(1) ]() .
So to route to different agents based on domain when your system calls Retell AI, you would need to:
1. Determine the appropriate agent ID in your system based on the domain
2. Specify that agent ID when initiating the call via API
The inbound webhook won't help in this scenario since it's designed for the opposite call direction.AI Evy
11/05/2025, 8:06 PM