API Get user's IM Messages

Description
I need to create an application to retrieve IM messages from an user in a period of time for regulatory stuffs, I found an API “GET /im/users/{userId}/chat/messages”, but this api is Deprecated.

is there other one that I can use?

Hi @leonaldo.bjunior,

We recommend leveraging this endpoint instead:

Thanks!
Will

What I’m trying to do is something similar to “IM Management” ( see the attached screenshot), put a interval time, user email, and get the messages in that interval and can export it, but the API that you shared is only for a specific date, not a interval, so which approach do you suggest?

2021-05-31_19-12-14

Hey @leonaldo.bjunior,

Thank you for reaching out to the Zoom Developer Forum. When calling the List User’s Chat Message API for a date range, you’ll want to iterate through each day and make a separate request for each day.

Thanks,
Max