Supported content types and limitations
The table below shows the supported content types for the contentType parameter as mentioned in the “Send one or more messages” and “Upload media file for One API” sections of the API Reference page.
Size limitations are also indicated in each case. Please note that the size limitation with the lowest value between the WhatsApp size limit and the applicable Clickatell API will apply. For example, the maximum allowed limit for an image is 5MB as this is the lowest value (see table below). WhatsApp will not accept any image above a 5MB size even though the Clickatell API can accept a larger media/template media message request.
Note: WhatsApp (on inbound (MO) message) can at any time implement any new supported content types or codes – the customer would need to dynamically handle this.
Media |
Media Message Supported content types |
Media Template Supported content types |
WhatsApp Size Limit |
Clickatell Size Limit Inline Media
|
Clickatell Size Limit Media Upload |
---|---|---|---|---|---|
Audio |
audio/acc audio/mp4 audio/amr audio/mpeg audio/ogg codecs=opus
Note: The base audio/ogg type is not supported on Chat Flow. |
Not supported |
16 MB |
20 MB |
30 MB |
Document |
application/pdf application/msword application/vnd.ms-powerpoint application/vnd.ms-excel text/plain |
PDF only |
100 MB |
20 MB |
30 MB |
Image |
image/jpeg image/png |
image/jpeg image/png |
5 MB |
20 MB |
30 MB |
Video |
video/mp4 video/3gpp
Note: Only H.264 video codec and AAC audio codec is supported. Only videos with a single audio stream are supported. |
video/mp4 video/3gpp
Note: Only H.264 video codec and AAC audio codec is supported. Only videos with a single audio stream are supported.
|
5 MB |
20 MB |
30 MB |
Submit a Comment
Other Resources
Ask the Community
Visit Stack Overflow to join our community of developers and find the answer you need
Contact Support
Contact our support team and one of our agents will be in touch with you to answer any questions you have