Chat History
Page describing the API for consulting the chat history.
Chat History
GET
https://api.jelou.ai/v1/bots/<botId>/users/<userId>/history
This endpoint allows you to get the chat history between a user and its respective bot.
Path Parameters
Name | Type | Description |
---|---|---|
botId | string |
|
userId | string | User phone number(Without "+" sign. |
Query Parameters
Name | Type | Description |
---|---|---|
limit | string | Number of messages to request |
direction | string | The direction in which messages, new or old will be searched(values: |
messageId | string |
|
In case of skipping the optional fields the Default values will be handled.
Request example
Last updated