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