Embed iframe call recording

Hi, we are developing a telephony custom app for Freshsales/Freshworks CRM - Sales Cloud.
After a successful call (answered), we wish to embed an iframe of call records into the Sales activities. So the end-user can play the records.
It should look like the below screenshot. Please advise us on this issue.

1 Like

Hi @khucngoc12,

There’s no placeholder available for Sales Activities page in both Freshsales and Freshworks CRM. So, iframe cannot be attached in this place.

Let me discuss with product team to check if the recording can be attached in any other way through API.

1 Like

@khucngoc12 The recording of the call can be attached to the call log with this API.
We are in the process of adding this API to our documentation.

curl -X POST \
  http://domain.freshsales.io/api/cti_phone_calls \
  -H 'Authorization: Token token=xxxxxxxxxxxxxx' \
  -H 'Cache-Control: no-cache' \
  -H 'Content-Type: application/json' \
  -H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
  -F 'phone_call={ "call_direction": true, "targetable_type": "Contact", "number":"9999999999","user_id":”123”,"source":"CTICOMPANYNAME","targetable": { "id": "9", "first_name": "Jane", "last_name": "Sampleton (sample)", "work_number ":"123456789", "mobile_number ":"123456789" }, "note": { "description": "Sample note"} }' \
  -F 'file=PathToTheCallRecording.mp3'

Also look at this post for the current restriction on Request API for file uploads.