https://retellai.com/?utm_source=discord&utm_medium=seo logo
can the same number be used for an outbound and an...
# ❓・ai-evy-support
v
@AI Evy can the same number be used for an outbound and an inbound agent
a
Thanks for tagging me @Vyyy. I'll look through relevant sources and get back to you shortly.
### Answer Yes, the same phone number can be used for both an outbound and an inbound agent. Each phone number has separate fields for
inbound_agent_id
and
outbound_agent_id
. [(1) ]() From the API response structure:
Copy code
json
{
  "phone_number": "+14157774444",
  "inbound_agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
  "outbound_agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD"
}
- `inbound_agent_id`: The agent that handles incoming calls to this number - `outbound_agent_id`: The agent used when making outbound calls from this number You can assign the same agent to both, or use different agents for inbound vs outbound calls.
​ To learn more, see the sources I considered: [[1] List Phone Numbers](https://docs.retellai.com/api-references/list-phone-numbers) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.