Creating a Call Recording URL
In the event that a Queue call recording needs to be accessed outside of the Insights interface, an API call can be utilized to create a URL that allows the user to download the recording. This API call can also be used for Connect calls, if a call recording exists.
Recording URLs do have an expiration time, which is an hour after the URL was created. Attempting to retrieve the file after that time will result in failure.
API - Queue Call Recording File Name
First, download or access a REST Client like Postman or Insomnia.
Instructions below are using Insomnia
Create a new POST request to https://api.sharpencx.com/V2/queues/getInteraction/ and choose Multipart Form
Add the following fields:
cKey1 - Company Keys (cKeys) are available in your Sharpen instance here
cKey2
uKey: uKey of user with permissions on customer account (we can help get the right user ukey for you)
queueCallManagerID
Enter the specified values, hit Send and copy the mixmonFileName from the JSON results
API - Connect Call Recording File Name
Create a new POST request to https://api.fathomvoice.com/V2/voice/cdr/getCalls/ and choose Multipart Form
Add the following fields:
cKey1 - again, Company Keys (cKeys) are available in your Sharpen instance here
cKey2
extension: user’s extension for specific call
startDate: year-month-date of specific call
Enter the specified values, hit Send and copy the callRecordingFile from the JSON results
Note that the Connect call example does not have a call recording file, meaning one was not created.
API - Temporary Recording URL
Create a new POST request to https://api.fathomvoice.com/V2/aws/getObjectLink/ and choose Multipart Form
Add the following fields:
cKey1
cKey2
bucketName
fileName
Enter cKey values: Again, Company Keys (cKeys) are available in your Sharpen instance here
Enter mixrec as the value for bucketName
Enter the filename returned from the
getInteractionapi call above into the filename field.Execute API call and a temporary AWS URL will be returned in JSON format. You will need to remove the backslashes, \ , from the URL after you copy and paste it in a browser.
This will take you to a browser with the call recording, which you can download using the 3 dots on the right