akash.ban
(Akash Ban )
April 5, 2024, 7:11am
1
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
akash.ban
(Akash Ban )
April 5, 2024, 9:02am
3
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}}’
akash.ban
(Akash Ban )
April 5, 2024, 9:02am
4
I have added the user id as mail id here.