https://retellai.com/?utm_source=discord&utm_medium=seo logo
Where do I find Inbound Voice URL
# ❓・ai-evy-support
f
@AI Evy Where do I find Inbound Voice URL
a
Thanks for tagging me @fiery_papaya_33507. I'll look through relevant sources and get back to you shortly.
### Answer Based on the documentation, the "Inbound Voice URL" you're referring to is likely the
inbound_webhook_url
parameter that can be configured for phone numbers [(1) ]() [(2) ]() . You can set this URL when creating or updating a phone number. Here's how to configure it: When creating a phone number:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneNumberResponse = await client.phoneNumber.create() ;
[(2) ]() When updating an existing phone number:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneNumberResponse = await client.phoneNumber.update('+14157774444', {
 inbound_agent_id: 'oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD',
 nickname: 'Frontdesk Number',
 outbound_agent_id: 'oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD',
}) ;
[(1) ]() The
inbound_webhook_url
field allows you to send a webhook for inbound calls, where you can override agent id, set dynamic variables and other fields specific to that call [(3) ]() [(2) ]() . This URL would be included in the request body when creating or updating phone numbers.
​ To learn more, see the sources I considered: [[1] Update Phone Number](https://docs.retellai.com/api-references/update-phone-number) [[2] Create Phone Number](https://docs.retellai.com/api-references/create-phone-number) [[3] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
f
@AI Evy If I had to "Copy the Inbound Voice URL" Where would I get that from on Retell? When I click "add an inbound webhook" it is empty
a
Thanks for the follow-up, @fiery_papaya_33507. I'll get back to you soon.
### Answer Based on the documentation, the inbound webhook URL is something you provide to Retell AI, not something you copy from Retell AI [(1) ]() . The inbound webhook URL should be your own endpoint where you want to receive webhook notifications when inbound calls are received . When you see an empty field for "add an inbound webhook," you need to enter your own webhook URL that Retell AI will POST to . According to the documentation, the inbound webhook URL is configured at the phone number level [(2) ]() [(3) ]() . You can set the
inbound_webhook_url
when configuring your phone number [(2) ]() . This URL should point to your server endpoint that can handle the webhook payload [(1) ]() . The webhook will send a POST request to your endpoint with a payload containing information like
agent_id
,
from_number
, and
to_number
. Your endpoint needs to respond with a JSON response containing fields like
override_agent_id
,
dynamic_variables
, or
metadata
if you want to customize the call handling . If you don't have a webhook endpoint set up yet, you'll need to create one on your server infrastructure before you can configure the inbound webhook URL in Retell AI.
​ To learn more, see the sources I considered: [[1] Inbound call webhook](https://docs.retellai.com/features/inbound-call-webhook) [[2] List Phone Numbers](https://docs.retellai.com/api-references/list-phone-numbers) [[3] inbound webhook](https://discord.com/channels/1186424376300679209/1389576588118720634) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
f
@AI Evy How do I find the voice URL or inbound voice URL
a
Thanks for the follow-up, @fiery_papaya_33507. I'll get back to you soon.
### Answer Based on the documentation, there isn't a "voice URL" or "inbound voice URL" that you copy from Retell AI [(1) ]() [(2) ]() [(3) ]() . The
inbound_webhook_url
is something you provide to Retell AI, not something you retrieve from the platform [(1) ]() [(2) ]() . Here's how you can view and manage the inbound webhook URL for your phone numbers: To view an existing phone number's webhook URL:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneNumberResponse = await client.phoneNumber.retrieve('+14157774444') ;
console.log(phoneNumberResponse.inbound_agent_id) ;
[(3) ]() To set or update the inbound webhook URL:
Copy code
javascript
{
 "phone_number": "+14157774444",
 "termination_uri": "someuri.pstn.twilio.com",
 "sip_trunk_auth_username": "username",
 "sip_trunk_auth_password": "123456",
 "inbound_agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
 "outbound_agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
 "inbound_agent_version": 1,
 "outbound_agent_version": 1,
 "area_code": 415,
 "nickname": "Frontdesk Number",
 "inbound_webhook_url": "<https://example.com/inbound-webhook%22>
}
[(1) ]() The
inbound_webhook_url
field allows you to send a webhook for inbound calls, where you can override agent id, set dynamic variables and other fields specific to that call [(1) ]() [(2) ]() . You need to provide your own webhook endpoint URL that Retell AI will POST to when inbound calls are received. In the dashboard, you can navigate to the Phone Numbers section and configure the inbound webhook URL in the phone number settings [(4) ]() .
​ To learn more, see the sources I considered: [[1] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) [[2] Update Phone Number](https://docs.retellai.com/api-references/update-phone-number) [[3] Get Phone Number](https://docs.retellai.com/api-references/get-phone-number) [[4] I need help changing the Inbound Call Agent and the Inbound Webhook URL in Phone Numbers section](https://discord.com/channels/1186424376300679209/1382274403018215534) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.