Endpoints
Get Chat History
This endpoint returns a list of messages and conversations between your customers and your trained chatbot
POST
/
get-chats
/
{bot_id}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
bot_id
string
requiredThe bot id associated with the trained chatbot model.
Query Parameters
k
integer
Limit the number of conversations to look in the past "conversation_ids" will only find the conversations requested and ignore the "k" parameter
Body
application/json ยท string[]
The conversation session ids associated with the trained chatbot.
Response
200 - application/json
id
string
requiredThe unique identifier for the chat.
message
object
requiredThe message object containing data and type.
session_id
string
requiredThe session ID associated with the chat.
created_at
string
requiredThe date and time when the message was created.