Agent Graph
Close Session
End an active conversation session and release its resources ✌️
POST
Close Session
Call this endpoint when a conversation is complete to release the session and free associated resources. After closing, you cannot send further messages using the same
sessionId. Start a new session with the init endpoint to begin a fresh conversation.
Endpoint
Request body
Your Connectly business identifier.
The unique identifier for the customer whose session you are closing.
Response
An empty object
{} confirming the session was closed successfully.null on success. Populated with code, message, and details if an error occurred.