Actions60
- Agent Actions
- Org Actions
- Call Actions
- Usage Actions
- Voice Actions
- Phone Number Actions
- Knowledge Base: Document Actions
- Knowledge Base: Website Actions
- Billing Actions
- Chat (Build) Actions
Agent → Create
AI-generatedSummary
Duplicates an existing Phonely agent, optionally renaming it, and returns the duplicated agent data.
Inputs
- agentIdForUpdate (required) — Agent ID of the agent to duplicate.
- agentName — Optional name for the duplicated agent.
Output shape
object
The response body from the Phonely
duplicate-agentendpoint, containing the newly created agent's details.
Examples
Example 1: Create a copy of agent 'abc123' named 'Support Bot v2'
Set Agent ID to 'abc123' and Name to 'Support Bot v2'.