chandini | 2019-04-16 14:53:53 UTC | #1
Hi,
Would it possible to download the chat transcripts as seen in the UI through Conversations API?
Thanks
tim.smith | 2019-04-16 15:17:28 UTC | #2
No, see the Recording APIs.
chandini | 2019-04-16 20:41:56 UTC | #3
Hi,
when trying to access the api for conversation through /api/v2/conversations/{conversationId}/recordings it shows the following error both for chat and voice media types
{'status': 404, 'code': 'not found', 'message': 'HTTP 404 Not Found', 'contextId': 'c0ae12fd-d7d5-45f9-9b4a-d1ed517b0231', 'details': [], 'errors': []}
In [ ]:
tim.smith | 2019-04-16 21:17:11 UTC | #4
Either you used an invalid conversation ID in the request, there aren't any recordings for that conversation, or you made a typo in the request URL.
chandini | 2019-04-16 21:43:28 UTC | #5
Using the following requests url to make the call. The conversation is valid and have a recording file that is download through the UI
requests.get('https://api.mypurecloud.com/api/v2/conversations/9185aed3-23a2-4a54-b940-7c13e9952e95/recordings' , headers = {})
tim.smith | 2019-04-16 21:47:55 UTC | #6
If you're sure there's no typos and there are recordings, please open a case with PureCloud Care to investigate further.
system | 2019-05-17 21:47:55 UTC | #7
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: 5006