Legacy Dev Forum Posts

 View Only

Sign Up

How to grab the oldest conversation recording via API?

  • 1.  How to grab the oldest conversation recording via API?

    Posted 06-05-2025 18:20

    joel_hellman | 2021-09-27 12:45:19 UTC | #1

    How would you get the oldest available conversation recording via API for an org?

    There is a segment filter "recording" which you can set to Exists / = true, but the recording:true attribute in conversation only means the conversation at one point had a recording, so that attribute doesn't say anything about if the recording is still available. It could be, or it could have been deleted already.

    Is the only way to use analytics/details/query/jobs and then query in interval backwards using individual endpoints like api/v2/conversations/:conversationId/recordingmetadata until you find a recording with filestate != "DELETED" ?


    Jerome.Saint-Marc | 2021-09-28 14:26:15 UTC | #2

    Hello,

    Yes, unfortunately, I think that it is indeed the only way (analytics/details/query/jobs and api/v2/conversations/:conversationId/recordingmetadata).

    Regards,


    system | 2021-10-29 14:26:19 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 12138