Mason Anderson
10/06/2025, 7:12 PMVapi Support Bot
10/06/2025, 7:13 PMchat.created and chat.deleted, which you can enable in your Assistant's Server Messaging settings.
Example:
json
{
"message": {
"type": "chat.deleted",
"chat": { /* Chat object */ }
}
}
For now, use the chat.deleted webhook to detect when a chat is deleted, but note it does not include a summary or transcript like the voice call "end-of-call-report" does.
Reference: [Vapi Chat Quickstart - Webhook Support](https://docs.vapi.ai/chat/quickstart#webhook-support)
Source:
- [Vapi Chat Quickstart Webhook Support](https://docs.vapi.ai/chat/quickstart#webhook-support)Chiranjeet Mishra
10/08/2025, 7:38 PMpreviousChatId for linking individual chats in sequence and sessionId for grouping multiple chats under a persistent session. If you want to maintain a conversation context across multiple chat interactions, detailed steps and code implementations can be found in the [session management documentation](https://docs.vapi.ai/chat/session-management).
To set up webhooks for tracking session lifecycles like creation and deletion, configure your webhook listeners to capture events such as session.created, session.updated, and session.deleted. This can be done by going to your Assistant page in the Dashboard and selecting these events under "Server Messaging" as described in the session management section.
For a fully developed solution, you can utilize background messages to track additional context and actions without notifying users, as detailed in the [background messages documentation](https://docs.vapi.ai/assistants/background-messages).
If you are looking for an equivalent to an end_of_call_report for chat sessions, while there might not be an exact equivalent, leveraging the session.deleted webhook can serve a similar purpose to know when a chat session has ended. This can help you extract the chat transcript and other session details needed for logging or reporting.
For more detailed implementation, you can refer to specific use cases in our documentation, like the [non-streaming chat guide](https://docs.vapi.ai/chat/non-streaming) for handling batch processes or simple UIs, or further explore how to handle complex multi-step conversations.
If you need additional insights or assistance, feel free to ask, and I'll be happy to help.