https://retellai.com/?utm_source=discord&utm_medium=seo logo
i am not receiving webhook calls from my chat agen...
# ❓・ai-evy-support
e
@AI Evy i am not receiving webhook calls from my chat agent
a
Thanks for tagging me @Edward. I'll look through relevant sources and get back to you shortly.
### Answer Here are some things to check for your chat agent webhook: 1. Verify webhook configuration: - Ensure the webhook URL is correctly set for your agent. You can configure webhooks at the agent level using the
webhook_url
field. [(1) ]() - The webhook has a timeout of 10 seconds. If no success status (2xx) is received within 10 seconds, the webhook will be retried up to 3 times. [(2) ]() 2. Confirm your endpoint returns a 2xx status: - Retell expects a successful status code (2xx) to be returned from your webhook endpoint. 3. Check webhook event types: - Supported events include
call_started
,
call_ended
, and
call_analyzed
. - Note: If a call did not connect (e.g.,
dial_failed
,
dial_no_answer
,
dial_busy
) , the
call_started
webhook will not be triggered, but
call_ended
and
call_analyzed
will still fire. 4. Verify your endpoint is publicly accessible: - Make sure your webhook URL is reachable from the internet. 5. Check for any recent outages: - There have been community reports of temporary webhook issues in the past. [(3) ]() If you've verified all the above and still aren't receiving webhooks, could you share: - How you configured the webhook (agent-level or account-level) ? - Whether you're receiving any events at all, or none?
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] Update Voice Agent](https://docs.retellai.com/api-references/update-agent) [[2] Webhook Overview](https://docs.retellai.com/features/webhook-overview) [[3] Agent Level Webhook not receiving data](https://discord.com/channels/1186424376300679209/1412776467112263750) ​
e
tell me the event for chat
@AI Evy tell me the event type for chat
a
Thanks for the follow-up, @Edward. I'll get back to you soon.
​ To learn more, see the sources I considered: [[1] Webhook Overview](https://docs.retellai.com/features/webhook-overview) [[2] Get Chat Agent](https://docs.retellai.com/api-references/get-chat-agent) ​
### Answer The available sources document webhook event types for voice calls, not specifically for chat agents. [(1) ]() For voice calls, the supported webhook events are: -
call_started
– Triggered when a new call begins -
call_ended
– Triggered when a call completes, transfers, or encounters an error -
call_analyzed
– Triggered when call analysis is complete The Chat Agent documentation confirms that chat agents do have a
webhook_url
field for listening to "chat events," but the sources I have don't explicitly list the specific event type names for chat webhooks. [(2) ]() Check out these potentially useful sources for more details: - [Webhook Overview]() - [Get Chat Agent]() Would you like me to provide a general answer based on what's typical for chat webhook events, or would you prefer to check the official documentation directly?
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
Thanks for the follow-up, @Edward. I'll get back to you soon.
e
@AI Evy i am not receiving chat_started event
a
### Answer Based on community discussions, the
chat_started
webhook may not be sent for chat agents the same way
call_started
is sent for voice calls. [(1) ]() A Retell support team member indicated they were checking with the team about whether the
chat_started
webhook is actually sent for chat agents, noting that unlike voice calls (which have a phone number to customize the call) , chat doesn't have the same triggering mechanism. From the same discussion, it was confirmed that
chat_ended
and
chat_analyzed
events are sent after a chat ends (either automatically or when manually ended via the API) . What you can do: - If you need to capture chat session initiation, you may need to handle that logic on your application side when the chat is created - The
chat_ended
and
chat_analyzed
events should fire once the chat concludes I don't have explicit documentation confirming whether
chat_started
is a supported event type for chat agents. For definitive clarification, I'd recommend reaching out via: - [Contact Sales]() - [GitHub]() Would you like a general answer on how you might work around this limitation?
​ To learn more, see the sources I considered: [[1] Need Help: SMS Transcripts Not Working](https://discord.com/channels/1186424376300679209/1434154158880981003) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.