https://retellai.com/?utm_source=discord&utm_medium=seo logo
I accidentally deleted an agent that we still need...
# ❓・ai-evy-support
g
@AI Evy I accidentally deleted an agent that we still need to test. Can I restore it back to my workspace?
a
Thanks for tagging me @Grumpee. I'll look through relevant sources and get back to you shortly.
### Answer Unfortunately, based on previous cases, the Retell AI team has not been able to retrieve deleted agents [(1) ]() . When users have requested restoration of mistakenly deleted agents, the team has attempted recovery but was unsuccessful [(1) ]() [(2) ]() . If you need to attempt recovery anyway, you should reach out to the support team and provide your organization ID and agent ID [(2) ]() . However, based on documented cases, recovery of deleted agents has not been possible [(1) ]() .
​ To learn more, see the sources I considered: [[1] Agent shows in “All Agents” but opening it throws “Resource Not Found” (permission/resource mismatch](https://discord.com/channels/1186424376300679209/1466968187680854077) [[2] Want to Restore a mistakenly deleted voice agent](https://discord.com/channels/1186424376300679209/1434948592128364574) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
r
@AI Evy I’m also experiencing this issue. Custom SIP trunking number. Tried deleting and re adding the number. Calling works fine for the same number (voice agent also connected to same number) but sms does not go through. I get no reply, and on my twilio side getting a 11200 error on twilio with http status 404. Is something down on retell side for sms? Did something change with the configuration? I have on twilio set up for messaging configuration: a message comes in webhook and I’m using https://api.retellai.com/twilio-sms-webhook/org_(my org id) with HTTP POST. Seems something is broken between twilio and retell… did something change with this webhook?
a
Thanks for the follow-up, @richy. I'll get back to you soon.
### Answer Based on the Twilio 11200 error with HTTP 404 status you're receiving, the webhook URL you're using appears to be incorrect or the endpoint structure may have changed [(1) ]() . According to the platform changelog, SMS functionality was released with specific setup requirements . The 2-Way SMS feature requires you to apply for SMS capability and link your chat agent for 2-way SMS . Key Configuration Steps: For custom SIP trunking numbers with SMS, you need to ensure your number is properly configured with an
inbound_sms_webhook_url
[(2) ]() [(3) ]() . When you import or update a phone number, you can set this webhook URL where Retell will send inbound SMS events . The webhook URL format you mentioned (
<https://api.retellai.com/twilio-sms-webhook/org_(my> org id)
) is not documented in the available sources. Instead, you should configure your own webhook endpoint in the
inbound_sms_webhook_url
field when importing or updating your number . Troubleshooting Steps: 1. Verify your number has
inbound_sms_agents
configured with proper agent bindings 2. Set up your own
inbound_sms_webhook_url
to receive SMS events from Retell 3. Check that your number was properly imported with SMS capabilities enabled [(2) ]() Since the 404 error suggests the endpoint doesn't exist, and this webhook format isn't in the current documentation, I recommend checking if there have been recent changes to the SMS webhook configuration or reaching out to support for the correct webhook URL format for your setup. [Visit Documentation]() , [Hire certified Retell partner]()
, or ask on [Discord]() for real-time assistance with SMS configuration issues.
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] Platform Changelogs | Retell AI](https://www.retellai.com/changelog) [[2] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) [[3] Update Phone Number](https://docs.retellai.com/api-references/update-phone-number) ​