Conversational chat api

I have tried to get the conversational history using get api, but i am receving response as shown in screenshot

this version 2 api I used here: https://bots.kore.ai/api/public/bot/{{botId}}/getMessagesV2?userId={{userId}}&dateFrom=2024-04-03&dateTo=2024-04-04
I also added the api scope for this api in kore bot. Kindly help

Hello @akash.ban,

Could you please share the curl used here ?

Thank you,
Srujan Madderla
Kore.ai Community Team

curl -X GET --compressed --location
‘https://{{host}}/api/public/bot/{{botId}}/getMessagesV2?userId={{userId}}&limit=10&dateFrom=2023-05-20&dateTo=2023-05-25’
–header ‘Content-Type: application/json’ \
–header ‘auth: {{YOUR_JWT_ACCESS_TOKEN}}’

I have added the user id as mail id here.