https://retellai.com/?utm_source=discord&utm_medium=seo logo
Also to me, I tryed to create via script php that ...
# ❓・ai-evy-support
a
@AI Evy Also to me, I tryed to create via script php that call API but something went wrong, voice chat remain in UI, I cannot delete. I get-agent, get-conversational-flow, create a new conv flow, create a new agent with a new agent_id, is visible in UI with a new agent_id code but is not possible to delete, move or edit neither export.
a
Thanks for tagging me @Alberto B.. I'll look through relevant sources and get back to you shortly.
### Answer To delete an agent that's stuck in your UI, you can use the DELETE agent API endpoint [(1) ]() . The endpoint format is:
Copy code
DELETE /delete-agent/{agent_id}
The request requires an Authorization header containing your API key in the format "Bearer YOUR_API_KEY" . For JavaScript/Node.js, the code is:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
  apiKey: process.env['RETELL_API_KEY'],
}) ;
await client.agent.delete('oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD') ;
This deletes all versions of the agent . If you also need to delete the conversation flow, use:
Copy code
DELETE /delete-conversation-flow/{conversation_flow_id}
[(2) ]() For JavaScript/Node.js:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
  apiKey: process.env['RETELL_API_KEY'],
}) ;
await client.conversationFlow.delete('conversation_flow_id') ;
If the UI continues to show issues after API deletion, there may be a UI synchronization problem. The sources indicate there have been UI bugs where conversation flows get erased unexpectedly [(3) ]() , suggesting potential UI stability issues. If API deletion doesn't resolve the UI issue, consider reaching out to support or checking if there's a caching issue in your browser.
​ To learn more, see the sources I considered: [[1] Delete Agent](https://docs.retellai.com/api-references/delete-agent) [[2] Delete Conversation Flow](https://docs.retellai.com/api-references/delete-conversation-flow) [[3] UI Bug: Conversation Flow keeps getting erased!](https://discord.com/channels/1186424376300679209/1366794591293935688) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
a
@AI Evy tried via API Documentation but it say agent_id does not exist, does not exist also in get list agents, is visible only via UI web site dashboard
a
Thanks for the follow-up, @Alberto B.. I'll get back to you soon.
### Answer Based on the situation where the agent is visible in the UI but doesn't appear in API calls, this matches a known issue [(1) ]() . When you call the List Agents endpoint and the agent doesn't appear, but it's visible in the dashboard, this indicates a synchronization issue between the UI and API . To troubleshoot, verify your API authentication is working correctly. The Get Agent endpoint requires an Authorization header with your API key in the format "Bearer YOUR_API_KEY" [(2) ]() . Try retrieving the specific agent using the agent_id you see in the UI dashboard:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
  apiKey: process.env['RETELL_API_KEY'],
}) ;
const agentResponse = await client.agent.retrieve('16b980523634a6dc504898cda492e939') ;
console.log(agentResponse.agent_id) ;
If this returns a 404 error even though the agent exists in the dashboard, the team is examining the actual cause of this issue [(1) ]() . This appears to be a backend synchronization problem where published agents aren't properly reflected in the API. Since this is a known issue being investigated , I recommend reaching out to support directly with your specific agent_id and API key details so they can resolve the synchronization issue on their end.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] Agent exists and is published, but API returns "Found agents: 0"](https://discord.com/channels/1186424376300679209/1392892371313754164) [[2] Get Voice Agent](https://docs.retellai.com/api-references/get-agent) ​
a
@AI Evy I tried to contact support at https://support.retellai.com, same email gmail of my login, the put 6 number password received but it did me that user mail does not exist ! Another channel to get human support ?
a
Thanks for the follow-up, @Alberto B.. I'll get back to you soon.
### Answer Based on the available sources, I don't have specific documentation about alternative support channels or troubleshooting the support portal login issue you're experiencing. For enterprise-level support and assistance with technical issues like the one you're facing (agent synchronization problems between UI and API) , you can explore the [Enterprise Plan]() , which typically includes dedicated support channels. Given that you're experiencing multiple issues (stuck agent in UI, API synchronization problems, and now support portal access) , the enterprise plan may provide the direct human support you need to resolve these technical challenges. Unfortunately, the available documentation doesn't specify alternative support contact methods beyond the support portal you've already tried.
message has been deleted
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.