Jep
10/27/2026, 5:46 PMAI Evy
10/27/2026, 5:46 PMAI Evy
10/27/2026, 5:46 PMjavascript
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 latestAI Evy
10/27/2026, 5:46 PM"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.AI Evy
10/27/2026, 5:46 PMAI Evy
10/27/2026, 5:46 PMJep
10/27/2026, 5:48 PMAI Evy
10/27/2026, 5:48 PMAI Evy
10/27/2026, 5:48 PMlatest_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 [HirAI Evy
10/27/2026, 5:48 PMAI Evy
10/27/2026, 5:48 PM