404 Error when using GET api/v2/conversations/emails on emails after 60 days

We want to bring all the email JSON files from Genesys cloud to our Data Lake between (Dec-2023 to Jul-2024) but it’s not possible because the files have been archived.

From my understanding, recordings would be archived after the org's policy-- which is set to 180 days for emails, but when performing the call we're seeing the 404 error after only 60 days.

Is there a way to do this?

Conversations may be queried for up to 60 days at which point we will return a 404 error. To retrieve historical conversation data, customers will need to utilize the analytics API GET /api/v2/analytics/conversations/{conversationId}/details.

Source: https://developer.genesys.cloud/routing/conversations/#request-a-conversation

Hello Tim,

We've tried using that request, but it's not providing the JSON we are looking for that the /api/v2/conversations/emails/{conversationId} provides (for instance, /details only provides a preview of the text body, but not the full email.

Can we confirm that there is no way to get JSON email files from Archive data? We would like to confirm it.

The typical approach to getting the media for any conversation after it has ended is to retrieve its recording. Some media types can have their contents fetched from the API as JSON data, but that's only intended for real-time use; recordings are for historical use.

Okay, so we should try looking at the
/api/v2/conversations/{conversationId}/recordings request to retrieve what we're looking for?

Assuming that by "JSON email files" you mean the recorded email, yes.

Perfect, we'll try this out. Thank you!

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