Agents
Delete Agent
Delete an agent permanently
DELETE
Request
Permanently delete an AI voice agent. This action cannot be undone.Headers
Bearer token for authentication. Format:
Bearer YOUR_API_KEYPath Parameters
The unique identifier of the agent to delete
Response
Returns a confirmation of deletion.The ID of the deleted agent
Always
true on successError Codes
| Code | Description |
|---|---|
agent_not_found | The specified agent_id does not exist |
agent_in_use | Agent has active calls and cannot be deleted |
unauthorized | You don’t have permission to delete this agent |
Best Practices
Before deleting an agent:- Check for active calls - Ensure no calls are currently in progress
- Export configuration - Save the agent’s system prompt and settings if you might need them later
- Update integrations - Remove references to this agent from webhooks and automations