Developers

GetConversationHistory

Usage

Use this method to retrieve the conversation and show the history of an ongoing conversation.

Mandatory parameters

This method has no mandatory parameters.

Optional parameters

This method has no optional parameters.

Response data format

This method calls the Chatbot API’s GET /conversation/history endpoint. It returns a Promise with the API response data. Please refer to the Responses section of the endpoint on the Chatbot API Routes page for the response format.

Example

chatbot.api.getConversationHistory().then(history => {
    console.log(history.data);
});