Hello! I am trying to export chat and email conversations with the eventual goal of creating a CSV with the messages and some data about the message. I can't seem to find the correct API call for this? Something like:
GET /api/v2/conversations/emails/{conversationId}/messages/{messageId}
or
get_conversations_email_message()
Is there a way to export these messages in bulk without "manually" using the calls above with each conversationId/messageId? I have done some research that has lead to dead ends and I would appreciate any insight anyone has.
The API endpoint you mentioned is meant for live use by a user interacting with the conversation. It sounds like what you're looking for is recordings, and maybe analytics conversation detail queries if you need more metadata. There are several options available for exporting recordings depending on your specific use case. You can find those options documented here: https://developer.genesys.cloud/analyticsdatamanagement/recording/
I took a look at the resources you linked and I think the use case might be different? I am looking to export email and chat conversations with the end goal of having a CSV comprised of the message body and other info such as to, from, cc, subject, and body. I have been able to extract conversationIds (using post_analytics_conversations_details_query) but can't seem to pair them to this data. Is there an API endpoint that does this or is there one that would be better suited to this task?