# POST /publish-chat-agent/{} stops working

Calls to POST /publish-chat-agent/{} on Retell AI API stopped working on July 20, 2026.

- API: Retell AI API (api.retellai.com)
- Kind: Endpoint removal
- Takes effect: July 20, 2026
- Calls after that day: fail
- Calls it hits: `POST /publish-chat-agent/{}`
- Source: [Announcement](https://docs.retellai.com/deprecation-notice/2026/07-20_agent_version_endpoints)
- Page: https://www.okapi.bot/providers/retell-ai-api/breaking-changes/post-publish-chat-agent-stops-working/

## What to use instead

Call POST /publish-agent-version/{agent_id} instead.

## Retell AI API's words

> The following APIs are deprecated as of 07/20/2026. Migrate to the listed replacements.
