Conversation History

A Conversation History adapter can be added via its dedicated adapter type.

11481148

The Conversation History new adapter line.

The adapter supports retrieving the conversation history for a single session. This can be done by filling out the template URL as given below. The session id is passed via the handover call.

GET to https://api.cm.com/conversational/conversation-history/v1/accounts/{accountId}/session-history?routerSessionId={sessionId}

Above URL template with the accountId pre-filled can also be retrieved from the frontend.

21162116

Button which puts the URL template, including the accountId, on the clipboard.

It is also possible to delete the session history, would that be beneficial to your use case.

DELETE to https://api.cm.com/conversational/conversation-history/v1/accounts/{accountId}/session-history/{sessionId}

Both calls need to be authenticated with a product token via the X-Cm-Producttoken header.


Did this page help you?