https://retellai.com/?utm_source=discord&utm_medium=seo logo
Can you attach multiple phone numbers to a single ...
# ❓・ai-evy-support
g
@AI Evy Can you attach multiple phone numbers to a single agent?
a
Thanks for tagging me @greg_88766. I'll look through relevant sources and get back to you shortly.
### Answer Yes, you can attach multiple phone numbers to a single agent. Each phone number can have both an
inbound_agent_id
and
outbound_agent_id
assigned to it [(1) ]() [(2) ]() . The phone number will automatically use the agent when receiving inbound calls or conducting outbound calls . You can attach phone numbers to agents in several ways: 1. Through the Phone Numbers tab in the dashboard - You can attach phone numbers to existing draft versions or specific agent versions [(3) ]() 2. During agent deployment - When you click the "Deployment" button, you can attach phone numbers for production use 3. Via API - You can use the Update Phone Number API to assign agent IDs to phone numbers [(2) ]() 4. When creating phone numbers - You can use version numbers as parameters in
create_phone_number
to ensure the phone uses the correct version of the agent [(3) ]() If you don't specify an agent version, the system will default to the latest version of the agent . You can also update agent assignments for existing phone numbers after they've been initially imported [(2) ]() .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] Get Phone Number](https://docs.retellai.com/api-references/get-phone-number) [[2] Update Phone Number](https://docs.retellai.com/api-references/update-phone-number) [[3] Setup versioning for agents](https://docs.retellai.com/agent/version) ​