How to get most recent conversation history?

I’m using the https://{{APIHost}}/api/botmessages/rtm?botId={{botId}} API to get conversation history but it’s not returning the most recent messages. How do I get the 100 most recent ones?

Hi @lucas.garcia,

Please refer to the below knowledge content documentation available, this will be helpful for you.

Thank you,
Srujan Madderla
Kore.ai Community Team