https://retellai.com/?utm_source=discord&utm_medium=seo logo
I'm having trouble binding my chat agent into my p...
# ❓・ai-evy-support
k
@AI Evy I'm having trouble binding my chat agent into my phone number, I already tried numerous ways including using the "Update Phone Number" API, The number has already been approved for SMS but I still couldn't make it work for some reason
a
Thanks for tagging me @Khyle Panganiban. I'll look through relevant sources and get back to you shortly.
### Answer To bind an agent to a phone number in Retell AI, you must use the Update Phone Number API and set the appropriate agent ID fields. The key fields are inbound_agent_id (for inbound voice calls) , outbound_agent_id (for outbound voice calls) , and inbound_webhook_url (for webhook-driven custom logic) . There is no documented support for binding a "chat agent" (as in SMS/chat agent) directly to a phone number using the Update Phone Number API—only voice agents are mentioned in the documentation [(1) ]() . If you're trying to enable SMS/chat functionality, and your number is already SMS-approved but still not working, it's possible the number may not support SMS for Retell AI even if it works elsewhere. This situation has occurred for some Twilio numbers, as discussed in a Discord forum, where switching to another number resolved the issue [(2) ]() . Check that: - The phone number is correctly formatted (E.164, e.g., +14157774444) . - The number is properly registered in your Retell account. - There are no extra characters or encoding issues. - The number supports SMS for Retell AI specifically . If all these are correct and it still fails, you may want to try a different number, as some numbers (especially certain Twilio numbers) may not support SMS with Retell AI . Check out these potentially useful sources: [Update Phone Number]() , [404 Error when trying to add SMS to phone number]() , [Add phone number in creating agent]() Would you like a general explanation of how SMS agent binding works in Retell AI, based on my knowledge?
​ To learn more, see the sources I considered: [[1] Update Phone Number](https://docs.retellai.com/api-references/update-phone-number) [[2] 404 Error when trying to add SMS to phone number](https://discord.com/channels/1186424376300679209/1415375849502281810) ​
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.
k
The number has already been aproved for SMS, is there anything else I can do?