https://retellai.com/?utm_source=discord&utm_medium=seo logo
when creating an outbound call via webhook, can i ...
# ❓・ai-evy-support
j
@AI Evy when creating an outbound call via webhook, can i override the agent version and tag at the same time?
a
Thanks for tagging me @Jep. I'll look through relevant sources and get back to you shortly.
### Answer The sources document an agent version override for outbound calls, but they don't mention a "tag" override, so I can't confirm that part. For outbound calls created through the Create Phone Call API, these parameters are documented: - `override_agent_id`: overrides the agent used for the call. - `override_agent_version`: sets the version of the override agent; it defaults to the latest if omitted.[(1)]() Here is the documented example that sets both together:
Copy code
javascript
const registerCallResponse = await retell.call.createPhoneCall({
 from_number: '+14157774444', // replace with the number you purchased
 to_number: '+12137774445', // replace with the number you want to call
 // Optional: per-call agent selection and overrides

 override_agent_id: 'agent_abc123',
 override_agent_version: 0, // or omit to use latest
[(1)]() The request body in the API reference also shows
"override_agent_version": "latest_published"
alongside
override_agent_id
.[(2)]() Beyond that, the
agent_override
object lets you adjust per-call agent settings (for example
voice_speed
) without changing the saved agent.[(1)]() The fields listed for it in the API reference include
version_title
and
version_description
, but I can't confirm from the sources whether either one acts as a "tag."[(2)]() If by "webhook" you mean the inbound call webhook rather than creating the call via the API, I don't have documentation covering a version override there. Check out these potentially useful sources: [Make outbound calls](), [Create Phone Call](), [Documentation](). Can you clarify what you mean by "tag"? I can also give a general answer based on my knowledge if you'd like.
​ To learn more, see the sources I considered: [[1] Make outbound calls](https://docs.retellai.com/deploy/outbound-call) [[2] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
j
@AI Evy i meant environment tag like prod, staging, etc. i want to use latest_published and prod tag.
a
Thanks for the follow-up, @Jep. I'll get back to you soon.
### Answer I can't confirm that you can combine
latest_published
with a
prod
environment tag in a single call override. What the sources show: - The Create Phone Call request body documents
override_agent_version
as a single field, and its example value is
latest_published
. The same field's pattern also allows custom names that start with a lowercase letter and are 1–20 characters long, which would cover names like
prod
or
staging
.[(1)]() - I don't see any separate "tag" parameter alongside
override_agent_id
and
override_agent_version
, so I can't confirm a way to pass both a version selector and a tag in one request.[(1)]() - Environment tags are described as tags you assign to agent versions, with the tag then used when assigning versions to phone numbers.[(2)](

▾

)[(3)](

▾

) The two options are alternatives rather than something to combine. A tag points to a specific version, and
latest_published
is a selector for the most recently published version. When a tag is selected, the agent uses the version associated with that tag.[(4)]() So if you want
prod
behavior, point
override_agent_version
at the tag name and keep the
prod
tag assigned to the version you want live. That way "latest published" isn't needed, since you move the tag when you promote a version.[(2)](

▾

) The docs I have don't explicitly show the tag name being passed in
override_agent_version
for a call. If you need that confirmed, see the [Create Phone Call]() reference or reach out through [Hir
e certified Retell partner]() / [Documentation]().
​ To learn more, see the sources I considered: [[1] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) [[2] RETELL TAGS](

https://www.youtube.com/watch?v=qKKC4kX_DkM▾

) [[3] How to Use Versioning and Environment Tags with Retell AI](

https://www.youtube.com/watch?v=Bbz9TRzc2W4▾

) [[4] Discord message from @rahim8697 on 2026-07-21](https://discord.com/channels/1186424376300679209/1186462578310910112/1529041843462082670) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.