What types of content does Plivo accept?

When specifying one or more MediaUrls when sending a message, content types for MediaUrl validation are fetched via the content-type header request that’s part of each URL. If the content-type header does not match the media, Plivo will reject the request.

 media_urls that do not return a content-type and content-length response header will 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

The following types of content are fully supported by Plivo for Media.      

{
    "inbound": [
        "application/pdf",
        "audio/3gpp",
        "audio/3gpp2",
        "audio/aac",
        "audio/amr",
        "audio/amr-nb",
        "audio/basic",
        "audio/flac",
        "audio/mid",
        "audio/midi",
        "audio/mp3",
        "audio/mp4",
        "audio/mpeg",
        "audio/ogg",
        "audio/qcelp",
        "audio/sp-midi",
        "audio/vnd.wave",
        "audio/wav",
        "audio/wave",
        "audio/webm",
        "audio/x-mid",
        "audio/x-midi",
        "audio/x-wav",
        "image/bmp",
        "image/gif",
        "image/jpeg",
        "image/png",
        "image/tiff",
        "image/webp",
        "image/x-icon",
        "text/calendar",
        "text/csv",
        "text/html",
        "text/plain",
        "text/rtf",
        "text/vcard",
        "text/xml",
        "video/3g2",
        "video/3gp",
        "video/3gpp",
        "video/3gpp2",
        "video/asf",
        "video/avi",
        "video/mp4",
        "video/mpeg",
        "video/ogg",
        "video/quicktime",
        "video/webm",
        "video/x-flv",
        "video/x-ms-asf",
        "video/x-ms-wmv",
        "video/x-msvideo"
    ],
    "outbound": [
        "application/pdf",
        "audio/amr",
        "audio/mp4",
        "audio/mpeg",
        "audio/wav",
        "image/bmp",
        "image/gif",
        "image/jpeg",
        "image/png",
        "text/calendar",
        "text/vcard",
        "video/3gpp",
        "video/3gpp2"
Was this article helpful?
0 out of 0 found this helpful
Didn’t find what you are looking for? Create new ticket