Clarification on phone number agent field deprecation

We’re currently using inbound webhooks attached to a Retell phone number to dynamically determine which agent should handle an incoming call. Our webhook returns an agent_id based on custom logic.

We also use in some use create_call and explicitly pass agent_id for outbound calls.

Will either of these be affected by the deprecation mentioned in your latest update?

Thank you

Hi Hussain,

Neither of your use cases are affected by this deprecation.

The 03/31 deprecation only removes the static single-agent fields on phone numbers (inbound_agent_id, outbound_agent_id, etc.) in favor of weighted agent arrays (inbound_agents, outbound_agents).

Your inbound webhook returning an agent_id and your create_call with an explicit agent_id will continue to work as before.

Best,
Stanley
Support @ Retell AI