Do I have to specify the file type in my audio file?


Do I have to include .mp3 or .wav in my audio file URL?

Applies To

  • Audio Files
  • Voice API


When streaming a media file using Voice API, it is recommended to specify whether the audio file is .mp3 or .wav in the URL. For example,

Stream URLs without the media file extension, or with invalid media file types, may fail and may not be played. For example, or

When a file extension is not included in the URL, the file type is determined by the Content-Type header received. For hosts that force a download, this is often a different Content-Type to the audio file.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request