function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Nicolas BonoraNicolas Bonora 

Upload Audio File

Hi!

I want to upload an audio file to Salesforce's voice call standard object. I created the voice call record but now I can not figure out how to upload the audio properly. I keep getting the "Missing audio file".

Thank you in advance :)

User-added image
Best Answer chosen by Nicolas Bonora
Omar Rajab 94Omar Rajab 94
Hi Nicolas,

the given endpoint includes doppel slash. See pic marked green line in the pic below:
User-added imageregards,
Omar

All Answers

VinayVinay (Salesforce Developers) 
Hi Nicolas,

Try something like below.
 
/voicecalls/voiceCallId/audio_upload
https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/connect_resources_voice_call_audio_upload.htm

Thanks,
Omar Rajab 94Omar Rajab 94
Hi Nicolas,

the given endpoint includes doppel slash. See pic marked green line in the pic below:
User-added imageregards,
Omar
This was selected as the best answer
Nicolas BonoraNicolas Bonora
Thank you all!
I did it by uploading the actual file hovering over "AudioFileData" and selecting the file.