Okapi Okapi

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.

Retell AI API, Announcement

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

  1. PATCH /update-agent/{id}Parameter removal Stopped working
  2. PATCH /update-chat-agent/{id}Parameter removal Stopped working
  3. POST /create-agentParameter removal Stopped working
  4. POST /create-chat-agentParameter removal Stopped working
  5. PATCH /update-agent/{id}Parameter removal Stopped working
  6. PATCH /update-chat-agent/{id}Parameter removal Stopped working
  7. POST /create-agentParameter removal Stopped working
  8. POST /publish-chat-agent/{id}Endpoint removal Stopped working
  9. GET /list-agentsEndpoint removal Stopped working
  10. 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.

Add to GitHub

Get notifications

Subscribe to Retell AI API

Hear about each breaking change Retell AI API announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • Retell AI API

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.