Freshsales - cti_phone_calls api throwing 404 error

Hi Team,

Hope you all safe and healthy…!

I need to attach the playable audio while creating a call log in contacts.
Am having audio in the form of url.

For this I referred a link from our community (embed-iframe-call-recording).

While executing this curl am getting 404 error.

You can recommend me any other alternate way to do this as well.
Please help me out of this.

curl -X POST \
'' \
-H 'Authorization: Token token=XXXXXXXXXXXXXXXXXXXXXXX' \
-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": { 
	"id": "9", 
	"first_name": "Jane", 
	"last_name":"Sampleton (sample)",
	"work_number ":"5304915427",
	"mobile_number ":"11919457004"
"note": {
	"description": "Sample note123"
}' \

-F 'file=@/Users/Admin/Downloads/SampleAudio.mp3'

@community-bot ?? is there any one can help me on this ?

@samuelpares do you have any idea on this ?

Hi @Raghul_Kumar!

I have not developed anything about crm/sales yet, but taking a look on the APIS, it seems that the endpoint has changed. Both sales and crm to:



1 Like

Thanks for the response mate @samuelpares.

Though “phone_calls” api doesn’t work on my requirement.

@community-bot has the solution for this. But what scares them to not respond to my query I don’t know.