Authorization: Bearer <Your-Secret-Key>
- The secret key for authenticating the API request.chatbotId
(string, required): The ID of the target chatbot from which you want to retrieve conversations (found in the chatbot settings).filteredSources
(string, optional): A comma-separated string of sources to be filtered for the chatbot’s conversation. The sources can be any of the following:
startDate
(string, optional): A string representing the start date of the range within which conversations are to be fetched. The date string is expected to be in the “Year-Month-Day” format (e.g 2023-07-10 not 2023-7-10)endDate
(string, optional): A string representing the end date of the range within which conversations are to be fetched. The date string is expected to be in the “Year-Month-Day” format (e.g 2023-07-13 not 2023-7-13).page
(string, optional, default=1): A string representing the page number of the results, used for pagination.size
(string, optional, default=10, max=100): A string representing the number of results per page, also used for pagination.data[]
with conversations matching the provided filters. Each conversation object has the following structure:
id
(string): The ID of the conversation.created_at
(string): The timestamp of when the conversation was created.messages
(array): An array containing message objects with role and content properties.chatbot_id
(string): The ID of the chatbot associated with the conversation.customer
(string): The customer or user identifier.source
(string): The source of the conversation.