https://retellai.com/?utm_source=discord&utm_medium=seo logo
Is there a way to get the twilio SID and token fro...
# ❓・ai-evy-support
a
​ To learn more, see the sources I considered: [[1] Get Phone Number](https://docs.retellai.com/api-references/get-phone-number) [[2] List Phone Numbers](https://docs.retellai.com/api-references/list-phone-numbers) [[3] Register Phone Call](https://docs.retellai.com/api-references/register-phone-call) [[4] When using custom telephony (twilio) connected via elastic SIP, I don't receive a twilio_call_sid](https://discord.com/channels/1186424376300679209/1341517149608611840) [[5] Enable SMS capabilities](https://docs.retellai.com/deploy/enable-sms) [[6] Send_SMS tool and my Twilio Number](https://discord.com/channels/1186424376300679209/1399938180265934970) ​
### Answer Based on the available documentation, there isn't a direct way to retrieve the underlying Twilio Account SID and Auth Token from a phone number created through the Retell website. The phone number APIs only return basic phone number information such as the phone number itself, agent bindings, and webhook URLs [(1) ]() [(2) ]() . For phone numbers created through Retell (retell-twilio type) , these are managed by Retell's infrastructure and the underlying Twilio credentials are not exposed through the API . However, you can access the
twilio_call_sid
for individual calls. When you make calls using phone numbers, the call response includes a
telephony_identifier
object that contains the
twilio_call_sid
[(3) ]() . Note that for custom telephony setups using elastic SIP, this field may not be immediately populated and might need to be retrieved later using the get call API [(4) ]() . If you need to use your own Twilio credentials for SMS functionality, you would need to configure them separately when setting up SMS capabilities [(5) ]() or use your own custom functions [(6) ]() .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
Thanks for tagging me @pickyourknows. I'll look through relevant sources and get back to you shortly.