Hello,
I tried Support and they suggested I post a message here. I'm trying to write an archival application that would take a time period (say the last 24-hours) and retrieve ALL chat messages, whether in 1to1, Official Groups (Org and Social), and Personal Groups for compliance review. I'm able, using the "Code Authorization / PKCE" token generation --I believe properly scoped -- to access the "api/v2/chats/rooms/{roomJid}/messages" and "api/v2/chats/users/{UserID}/messages" endpoints to retrieve chats that I have been a part of, but nothing across the entire account. Is this possible? Also, is there a way to search for a listing of "rooms" across an organization? I had thought that possibly the Audit trail would be one mechanism, but the structure on how to perform this either isn't clear or I'm unable to get this information either. Thanks for any insight.
#PlatformAPI------------------------------
Curt Robinson
Lead Engineer
17a-4, llc
------------------------------