https://retellai.com/?utm_source=discord&utm_medium=seo logo
can i use same phone number for inbound and outbou...
# ❓・ai-evy-support
v
@AI Evy can i use same phone number for inbound and outbound texting but different retell agent id?
a
Thanks for tagging me @Vyyy. I'll look through relevant sources and get back to you shortly.
### Answer Yes, you can use the same phone number for inbound and outbound SMS with different agent IDs. [(1) ]() [(2) ]() When creating or updating a phone number, you can configure separate agents for inbound and outbound SMS using the
inbound_sms_agents
and
outbound_sms_agents
parameters. For example, when updating a phone number via API, you can specify different agent arrays for each direction. [(2) ]() Each agent configuration includes an
agent_id
,
weight
, and optional
agent_version
. [(1) ]() [(2) ]() The same capability exists in the Retell dashboard under phone number settings, where you can assign different agents for inbound versus outbound SMS interactions. [(3) ]() [(4) ]()
​ To learn more, see the sources I considered: [[1] Create Phone Number](https://docs.retellai.com/api-references/create-phone-number) [[2] Update Phone Number](https://docs.retellai.com/api-references/update-phone-number) [[3] Send & receive SMS](https://docs.retellai.com/deploy/enable-sms) [[4] Discord message from @malus_aiiola on 2024-09-20](https://discord.com/channels/1186424376300679209/1186462578310910112/1286512753720168551) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.