Media URLs are fetched via the content-type header request that’s part of each URL. If the content-type header doesn't match the type of the media, Plivo will reject the request. Media URLs that do not return a content-type and content-length response header will also be rejected.
The total message size must be under 5MB. An API request with media or a collection of media larger than 5MB will fail with an error.
Supported MIME types
Plivo supports these types of content in the media_urls argument of the Message object.
Supported Inbound types:
image/jpeg
image/gif
image/png
image/bmp
image/tiff
image/webp
image/x-icon
audio/wav
audio/wave
audio/x-wav
audio/vnd.wave
audio/midi
audio/mid
audio/x-mid
audio/x-midi
audio/sp-midi
audio/amr
audio/amr-nb
audio/amr-wb
audio/mpeg
audio/mp3
audio/3gpp
audio/3gpp2
audio/aac
audio/mp4
audio/ogg
audio/basic
audio/qcelp
audio/flac
audio/webm
video/3gpp
video/3gp
video/3g2
video/3gpp2
video/mpeg
video/mp4
video/avi
video/x-msvideo
video/quicktime
video/webm
video/ogg
video/x-flv
video/x-ms-asf
video/asf
video/x-ms-wmv
text/plain
text/vcard
text/x-vcard
text/calendar
text/csv
text/rtf
text/html
text/xml
application/pdf
application/vnd.ms-excel
Supported Outbound types:
image/jpeg
image/gif
image/png
image/bmp
audio/mp4
audio/wav
audio/mpeg
audio/amr
video/3gpp
video/3gpp2
video/mp4
text/vcard
text/calendar
text/csv
text/x-vcard
application/pdf
application/vnd.ms-excel
Supported upload types:
image/jpeg
image/png
image/gif
image/bmp
audio/mp4
audio/wav
audio/x-wav
audio/mpeg
audio/amr
text/plain
text/vcard
text/calendar
text/csv
text/x-vcard
application/pdf
application/vnd.ms-excel
video/mpeg
video/mp4
video/3gpp
video/3gpp2