Render Webhooks

I’m troubleshooting Retell chat webhooks to a Flask app hosted on Render.

Webhook endpoint:
https://[my-render-service].onrender.com/webhook

Retell agent:
agent_[redacted]

Webhook event selected:
chat_analyzed only

What works:

  • The Render service health check returns 200.
  • The Flask route is POST /webhook.
  • A manual curl POST to /webhook with a chat_analyzed payload returns 200.
  • That manual POST successfully triggers downstream processing: HubSpot contact creation and email notification.
  • Render logs show POST /webhook for the manual curl test.

What does not work:

  • Real Retell chat sessions do not appear to POST to /webhook.
  • Render logs show no POST /webhook at the time of actual Retell chat completion.
  • The same completed chats are later picked up by a polling fallback script using the Retell API.
  • Emails generated from the fallback show “Source: Polling Fallback,” not “Source: Webhook (chat_analyzed).”

Question:
Do Retell preview chat sessions trigger chat_analyzed webhooks, or only published/live embedded chat sessions? Is there a separate publish step required after setting webhook events? Is there any Retell-side delivery log where I can see attempted webhook POSTs and response codes?

Yes they do, you need to set up filter before it’s store on your database

Hey @catherine Can you share the chat id?

The chat ID is: agent_XXXa I have published the bot. Not sure what else to do. thanks.

Hey @catherine I meant chat IDs, not the agent itself. Team checked the history and found that the chats are using version 0, which does not have webhooks. The agent currently has version 37, but the chats are still using version 0. you need to use the correct version. Thank You

I see that now. Thank you. How do I update the chat version if the agent version is different? I found it in my website code.  I really appreciate your help.

Hey @catherine

If you are using the API , you can choose the version