Retell AI API
POST /publish-agent/{id} endpoint removal
Stopped workingSubscribe to Retell AI APIShare
On July 20, 2026, Retell AI removed the POST /publish-agent/{id} endpoint. Requests made to this endpoint fail since that date. The change affects any integration still using the legacy agent publishing path.
Calls it hits
POST /publish-agent/{id}
What to use instead of these calls
Call POST /publish-agent-version/{agent_id} instead.
In Retell AI API's words
The following APIs are deprecated as of 07/20/2026. Migrate to the listed replacements.
Facts
- API
- Retell AI API
api.retellai.com - Kind
- Endpoint removal
- Takes effect
- July 20, 2026
- Calls after that day
- Fail
- Source
- Announcement
- Last updated
- Verified
- , against Retell AI API's own pages
Questions
When does this change take effect?
Calls to POST /publish-agent/{id} on Retell AI API stopped working on July 20, 2026.
What happens to calls after July 20, 2026?
They have failed since July 20, 2026.
How do I find the calls this hits in my code?
Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.
More from Retell AI API 10
-
PATCH /update-agent/{id}Parameter removal Stopped working -
PATCH /update-chat-agent/{id}Parameter removal Stopped working -
POST /create-agentParameter removal Stopped working -
POST /create-chat-agentParameter removal Stopped working -
PATCH /update-agent/{id}Parameter removal Stopped working -
PATCH /update-chat-agent/{id}Parameter removal Stopped working -
POST /create-agentParameter removal Stopped working -
POST /publish-chat-agent/{id}Endpoint removal Stopped working -
GET /list-agentsEndpoint removal Stopped working -
GET /list-chat-agentsEndpoint removal Stopped working
You fixed this one by hand.
Okapi opens the pull request with the fix before the next breaking change reaches your code.