Genesys Cloud - Developer Community!

 View Only

Sign Up

Retreival of ALL 1to1 and Chat messages via API

  • 1.  Retreival of ALL 1to1 and Chat messages via API

    Posted 09-17-2025 10:45

    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
    ------------------------------