https://retellai.com/?utm_source=discord&utm_medium=seo logo
Hello, how can I display my number when making a c...
# ❓・ai-evy-support
n
@AI Evy Hello, how can I display my number when making a call? I purchased my number on Zadarma, but the default Retell number (+1 xxx) is displayed instead. Thank you!
a
Thanks for tagging me @Nicolas. I'll look through relevant sources and get back to you shortly.
​ To learn more, see the sources I considered: [[1] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) [[2] 404 Error on Create a Phone Call](https://retell.discourse.group/t/404-error-on-create-a-phone-call/22) [[3] Here is how that can be fixed](https://retell.discourse.group/t/here-is-how-that-can-be-fixed/23) [[4] Register Phone Call](https://docs.retellai.com/api-references/register-phone-call) ​
### Answer When making outbound calls with Retell AI, the caller ID displayed is determined by the
from_number
parameter in your API request [(1) ]() . To display your Zadarma number instead of the default Retell number, you need to properly configure it in your outbound call request. When creating a phone call, specify your Zadarma number as the
from_number
:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneCallResponse = await client.call.createPhoneCall({
 from_number: '+14157774444',
 to_number: '+12137774445',
}) ;
Replace
'+14157774444'
with your Zadarma number in E.164 format . Important considerations: - The
from_number
must be a number you've purchased from Retell or imported to Retell - You cannot use arbitrary numbers [(2) ]() [(3) ]() - If using custom telephony (like Zadarma via SIP) , you need to ensure your number is properly imported and configured in your Retell account first [(1) ]() If you're using custom telephony with Zadarma, you'll need to register the phone call using the Register Phone Call endpoint instead, where you can specify your Zadarma number as the
from_number
[(4) ]() .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
n
@User Where can I edit this API?
@AI Evy Where can I edit this API?
a
Thanks for the follow-up, @Nicolas. I'll get back to you soon.
### Answer Based on the context of your question about configuring the
from_number
for outbound calls, you would edit this in your code where you make the API call to create phone calls [(1) ]() . The API call is made programmatically in your application code, not through a web interface. You'll need to modify the code where you're calling Retell AI's Create Phone Call endpoint . Here's where you would make the change:
Copy code
javascript
import Retell from 'retell-sdk';

const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;

const phoneCallResponse = await client.call.createPhoneCall({
 from_number: '+14157774444',
 to_number: '+12137774445',
}) ;

console.log(phoneCallResponse.agent_id) ;
You would replace
'+14157774444'
with your Zadarma number in E.164 format . To authenticate your API requests, you'll need your API key, which you can find in your Retell AI dashboard [(2) ]() . Include it in your request headers as:
Authorization: Bearer YOUR_API_KEY
. If you haven't already imported your Zadarma number into Retell, you may need to do that first through your Retell dashboard or via the phone number management APIs [(3) ]() [(4) ]() .
​ To learn more, see the sources I considered: [[1] How can I create an outbound call](https://retell.discourse.group/t/how-can-i-create-an-outbound-call/132) [[2] API Key Overview](https://docs.retellai.com/accounts/api-keys-overview) [[3] List Phone Numbers](https://docs.retellai.com/api-references/list-phone-numbers) [[4] Update Phone Number](https://docs.retellai.com/api-references/update-phone-number) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
Appreciate the feedback! Feel free to ask me again with additional guidance or context.